4834_midterm2practice

4834_midterm2practice - EEL4834 Midterm 2 11/6/2008 Answer...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Midterm 2 11/6/2008 Answer the questions in the space provided on the sheets. Show all work. If you run out of space, write on the back of the page. PLACE A BOX AROUND YOUR FINAL ANSWER . Answers not clearly marked may not be graded. Student name and UFID: Question: 1 2 3 Total Points: 12 14 12 38 Score: 1. Serialization (a) (4 points) Define serialization. (b) (2 points) Write two functions: serialize, deserialize, using the built in Python functions repr and eval to serialize objects into strings, and to deserialize strings into python objects. (c) (2 points) Write the 16-bit integer - 15 in twos-compliment binary representation. (d) (2 points) What is the difference between big-endian and little-endian, and which is used on x86-based processors? (e) (2 points) Write the floating point number - 9 . 765625 × 10 - 5 = - 1 / 1024 in IEEE754 format in the endianism of your choice. Tell me which endianism you use. Page 1 of 3
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

4834_midterm2practice - EEL4834 Midterm 2 11/6/2008 Answer...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online