Computers and Technology, 17.02.2021 14:10 Woodsydal2390
Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in binary. For an integer x, the algorithm is:
As long as x is greater than 0
Output x % 2 (remainder is either 0 or 1)
x = x / 2
Note: The above algorithm outputs the 0's and 1's in reverse order.
Ex: If the input is:
6
the output is:
011
6 in binary is 110; the algorithm outputs the bits in reverse. "C programming"
Answers: 3
Computers and Technology, 22.06.2019 03:00
Which action describes an aspect of technological design?
Answers: 1
Computers and Technology, 23.06.2019 17:00
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's repre...
Biology, 19.07.2019 20:00
History, 19.07.2019 20:00
Social Studies, 19.07.2019 20:00
Chemistry, 19.07.2019 20:00
Mathematics, 19.07.2019 20:00
Biology, 19.07.2019 20:00
Biology, 19.07.2019 20:00
Biology, 19.07.2019 20:00
English, 19.07.2019 20:00
Social Studies, 19.07.2019 20:00
History, 19.07.2019 20:00
Mathematics, 19.07.2019 20:00