CS 40 B.doc - CS 40 B FINAL EXAM HOWARD DACHSLAGER Nume_Luke Duggan Student_1061931 Assume no syntax errors and all partial programs are correct and can

# CS 40 B.doc - CS 40 B FINAL EXAM HOWARD DACHSLAGER...

This preview shows page 1 - 2 out of 7 pages.

CS 40 B FINAL EXAM HOWARD DACHSLAGER Nume _Luke Duggan___ Student # __1061931___ Assume no syntax errors and all partial programs are correct and can be run. Negative numbers are not accepted as final answers. Fill out this MS WORD document and return it to my IVC email address by May 20. 1. The largest unsigned octal number in a WORD is N8= ____377_____ 2. Complete the following table with hexadecimal numbers only: EAX PSEUDO CODE 32 25 24 17 16 9 8 1 EAX := 7FED90Ah 0ADF 2AF 3CD 8E 1FA ACF 08F 02A AX := 3AACh ACD 3CF 2BD 3C 24A AE EF2 1D2 AH := 2Fh 2D 6F 5C 1AC 6D 5A 8B 3C AL := 250d F2 9A 2C 4B 6F 3D 1A 45 AL := 5*AL DC2 4DA 5F 6Aad 1B 6DA 3E 2A ____ 3. 0.23652 10 = N 10 /M 10 => / N 16 /M 16 where N 10 = _0.1819410__ M 10 = _0.143180 __ and N 16 = _0.403810__ M 16 = _0.58363 _ . ______ 4. Solve 1 5 = (0.a 1 a 2 ...a n ) 5 = ____1/10____ 2 5 5. The additive inverse of the dword 9EFF3A 16 is _FF6100C6 __ -- _____ 6. 0.2 16 => (0.a 1 a 2 ...a n ) 10 = _0.13 10 _

#### You've reached the end of your free preview.

Want to read all 7 pages?

• Spring '19
• #, ACF, Fixed-point arithmetic, HOWARD DACHSLAGER