Practice Questions for Term Test #1 1. commute the by-line decimal adds pool racket into signed integer 32-bit standard (2s-complement for damaging poem): 32 65 78 -90 -11 100 67 3 -5 -70 2. Convert the adjacent double star number into decimal numbers (32-bit unsigned integer): 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0011 0000 0111 1111 1100 kelvin 0000 1010 1100 0000 0000 0001 0001 0000 1100 0001 1111 1010 0001 1101 0000 3. Convert the spare-time activity decimal numbers into floating point binary (IEEE-754 32-bits): -2.0 4.0 6.0 -8.0 10.0 -12.0 14.0 16.0 18.0 -20.0 4. Convert the following binary numbers (32-bit floating point) into decimal numbers: 0100 0100 1100 0100 0100 0100 1100 0100 0100 0100 0001 0001 0001 0001 0001 0011 0011 0011 0011 0011 molar concentration 1100 1010 1110 1001 1100 1110 1110 1000 1010 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 5.

Convert the following 4-bit sequences into hexadicmal numbers 0010 1010 1111 1101 1100 0111 0001 0101 0000 1000 6. Indicate whether the following ar valid C indentifiers or not (hard rules): 45x ms x _4 b4 z98 inT vw_1 s_$ $x1 m3x 7. We have a C program that has 8 variables with the following values: a=5, b! =10, c=4, d=1, w=2.5, x=-10.0, y=0.5, z=2.0, where a, b and c are integer variables; x, y and z are real number variables (doubles). Indicate spaces (blanks) with the pound instance #. For example, printf (%5d, c); is ####4. If an expression or rehearsal is invalid or contains an error, fancy INVALID as the answer. printf (%5.2lf, x/a); printf (%4d,...If you want to get a full essay, order it on our website:
OrderCustomPaper.comIf you want to get a full essay, visit our page: write my paper
No comments:
Post a Comment