Computers and Technology, 12.11.2020 04:20 jeanine239
This must be written in Coral.
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).
Answers: 3
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argumentāa list of strings of the format "lastname, firstname" āand returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
This must be written in Coral.
Write a program that takes in a positive integer as input, and outpu...
Mathematics, 01.03.2021 21:50
Mathematics, 01.03.2021 21:50
History, 01.03.2021 21:50
Arts, 01.03.2021 21:50
English, 01.03.2021 21:50