subject

Suppose that we have four bits. a. Number 9 is represented as 10011001 in binary. Verify that the vector representation of ⌈1001⌋⌈1001⌋ is the zero vector except its 1010 th entry, which is 1.
b. Number 7 is represented as 01110111 in binary. Verify that the vector representation of ⌈0111⌋⌈0111⌋ is the zero vector except its 88 th entry, which is 1.

Required:
a. Generalize this idea for any number between 0 and 15.
b. Generalize this idea for any number of bits.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:50
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
You know the right answer?
Suppose that we have four bits. a. Number 9 is represented as 10011001 in binary. Verify that the...
Questions
question
Mathematics, 27.07.2019 01:00
question
Physics, 27.07.2019 01:00
question
Physics, 27.07.2019 01:00
Questions on the website: 13722359