Convert the following values into binary numbers for each word
and place the binary values in
the two-dimensional array in their proper order of words.
Value
Binary Number Equivalent
Word 0
462,91210
Word 1
1142008
Word 2
5420h
Word 3
20,992d
Word 4
1104208
Word 5
6102008
Word 6
9F88h
Word 7
20,49610
Word 8
502416
Word 9
1101018
Word 10
71082h
Let g(x) be a function so that the following covariance and
expectations are finite numbers. Show that
cov [g(U), g(1 − U)] = (1/2) E {[g(U1) − g(U2)][g(1 − U1) − g(1
− U2)]} ,
where U ∼ U(0, 1), U1 and U2 are iid U(0, 1). Note you need the
fact about the independences of U1 & 1 − U2 as well as 1 − U1
& U2 to show the above identity.
1) Covert the following binary values to decimal. Do this
interpreting the binary as unsigned and signed.
a. 0111 1001
b. 1000 0000
c. 1111 1111
PLEASE EXPLAIN IT IN DETAIL
Suppose I have a list of 128 unsorted numbers. If I use the
binary search to search it, how many comparisons will I have to do
in the worst case, assuming I use a quadratic algorithm to sort the
list first.
Represent -60 in binary using 8-bit signed magnitude.
Add the following unsigned 8 bit binary numbers as shown.
01110101 + 00111011
Add the following unsigned 8 bit binary numbers as shown.
01000100 + 10111011
write a python code to Determine the binary and decimal
representations of the following hexadecimal numbers. Store answers
in the appropriate variables in the .py file.
(a) 0xfca1
(b) 0xc4d8
1.convert the following numbers from decimal to binary assuming
seven-bit twe's complement binary representation:
a)49 b) -27 c)0 d) -64 e) -1 f) -2
g) what is the range for this computer as written in binary and
in decimal?
2.convert the following numbers from decimal to binary assuming
nine-bit twe's complement binary representation:
a)51 b) -29 c) -2 d)0 e) -256 f) -1
g ) what is the range for this computer as written in binary and
in decimal?