Evaluate the following problems.
a)
1. Evaluate den(Y,0,16)
2. Evaluate hex(Y[0],2)
3. Evaluate HEX(*(Y+4),2)
4. Evaluate oct(*(Y+4),3)
5. Convert Y into 13-bit binary
6. Evaluate den(Y[4],0,2)
7. What is the octal representation (3 digit) of denary 256?
8) What is the Hex ...... (3 Hex digit) of denary 256?
1. Evaluate den(Y,0,16)
1111 1101 0101 0101
0xFD55 = 15*(16^3)+13*(16^2)+5*(16^1)+5*(16^0)
= 64853
2. Evaluate hex(Y[0],2)
1111 1101 = 0xFD
3. Evaluate HEX(*(Y+4),2)
(value at address (1530+4 = 1534))= 1111 1111
= 0xFF
4. Evaluate oct(*(Y+4),3)
(Here, we need to take 3 digits at a time, starting from
right)
Value at Y[4] = value at 1534 = 1111 1111 = 11 111 111
= 377 octal
5. Convert Y into 13-bit binary
(Here we need to club 13 digits together)
Y=1111110101010101000011111000000011111111000111010010101010000011
If you convert to 13-digit at a time starting from LSB.
Total digits = 64, so you need to make it multiple of 13 so
65.
One digit is less (65-64). So add a 0 in the beginning and then cut
it into set of 13 consecutive digits.
So, Y is as follows:
0111111010101
0101000011111
0000000111111
1100011101001
0101010000011
6. Evaluate den(Y[4],0,2)
Y[4] = 1111 1111 = 0xFF = 15*16 + 15 = 255 decimal
7. What is the octal representation (3 digit) of denary
256?
256 decimal = 100000000 binary
To convert into octal, take 3-digit set from LSB,
100 000 000 binary = 400 octal.
8) What is the Hex ...... (3 Hex digit) of denary 256?
256 decimal = 1 0000 0000 (for hex, take 4-digit set from
LSB)
So, 0x100
Evaluate the following problems. a) 1. Evaluate den(Y,0,16) 2. Evaluate hex(Y[0],2) 3. Evaluate HEX(*(Y+4),2) 4. Evaluate...
Arduino. DEC HEX BIN(4-bits) Introducing ARDUINO 0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 How many 1/0 of Port-D? How many usable 1/0 of Port-D, if Serial-Communication is in-used? What is the Arduino's pin assignment of ATMEL's PC5, PB3, & PD1*? What is the ATMEL's pin assignment of Arduino's D13*, D1, & D19? To complete the table about Number System Conversion (shown your step) 6 6 0110 7 7 0111...
3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal digits (see table below) using the following flip-flop types: a. D Flip-flops S-R Flip-flops b. Digit ABCD 0000 1 0001 2 0010 3 0011 4 0100 1011 6 1100 7 1101 8 1110 1111 4. (6 points) Redraw the circuit from problem 3.a. using NAND gates only. 3. (2 10 20 points) Design a decade counter using a 2-4-2-1 weighted code for decimal digits...
DO bit 0 1 Q-2 (25p): Assume that logical addresses are 16-bit long: 3 bits for segment no and 13 bits for offset. Segment table of the currently running process is given below: a) (5) How many segments can this Segment Present Modify process have at maximum? Length bit Base 0 0 0 0100 0111 0000 0100 0000 1000 0100 b) (15) Convert the following logical 1 1 0100 0100 0001 0010 0010 1100 1000 address to physical (real) address...
1. Evaluate the following determinants: 8 7 3 4 0 2 (a) 4 0 1 (c) 6 0 3 6 03 8 2 3 ab (e) b c с a b 1 1 1 2 3 (b) 4 7 5 3 6 9 4 -2 (d) 8 11 4 х (f) 3 9 5 0 y 2 -18 7
Evaluate: vr y-x dA , y + 2x+1 where R is the parallelogram bounded by y-x-2, y-x-3, y + 2x = 0, andy+2x=4. Evaluate: vr y-x dA , y + 2x+1 where R is the parallelogram bounded by y-x-2, y-x-3, y + 2x = 0, andy+2x=4.
about the line y -1. 2. (10%) Given the graph of y = U(x) as shown, and it is known that for 0 sx <2, for 2 4 3(1-2*) for z > 4. 0 ) (ii) lim U(6) Evaluate () (U(2)+1), (l (iv) U'(4),(v) lim U() [Show succinctly your calculation or argument.] P.2 of 6 about the line y -1. 2. (10%) Given the graph of y = U(x) as shown, and it is known that for 0 sx 4....
please answer question 2?3?4 A continuous random variable Y has the following probability density function (pdf) cer, 01 (? > 0) y ) Determine c as a function of ?. Then, for the case ? 2, evaluate c, calculate the maximum value of f(v), and show this value in a sketch of fo). (b) Determine F), the cumulative distribution function (edf) of Y. Then, for the case ? = 2, calculate the value of F(0) and show this value in...
Given that log x=2, log y = 4, and log 3-0.5, evaluate the following expression without using a calculator log (3x?y) log (3x?y) - (Type an integer or a decimal.) o Enter your answer in the answer box Type here to search c W
4. Let 3 f(x, y, z) = x’yz-xyz3, 4 P(2, -1, 1), u =< 0, > 5 a). Find the gradient of f. b). Evaluate the gradient at the point P. c). Find the rate of change of f at the point of P in the direction of the vector u.
1. (2 points) Find F dF if curl(F) 3 in the region defined by the 4 curves and C4 Ci F . d7 where F(x,y,z)-Wi +pz? + Vi> and C consists of the arc of the 2. (2 points) Evaluate curve y = sin(x) from (0,0) to (π, 0) and the line segment from (π,0) to (0,0). 4 3 3. (2 points) Evaluate F di where F.y,(ry, 2:,3) and C is the curve of intersection of 5 and y29. going...