final-practice-solutions

final-practice-solutions - CSE 110 Final Exam Practice...

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

View Full Document Right Arrow Icon
CSE 110 – Final Exam Practice version SOLUTIONS NAME (please print legibly): Your University ID Number: No books or notes can be used during the exam, except for your “cheat sheet”. Any CHEATING will result in an F as well as being written-up on academic dishonesty. NO BS bonus: If you do not know the answer to a problem you will receive 1 point for each part (e.g., a,b,c, etc.) that you leave blank. If you write anything in the space and it is wrong, you will receive a 0. QUESTION VALUE SCORE 1 6 2 10 3 4 4 4 5 15 6 5 7 10 8 10 9 10 10 4 11 4 12 4 13 4 14 10 TOTAL 100 1
Background image of page 1

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

View Full Document Right Arrow Icon
1. (6 points) Translate the hexadecimal value 5F23740B into a 32-bit binary value, and then into an IP address in dotted-quad form. (3 points each) 5F 23 74 0B = 0101 1111 0010 0011 0111 0100 0000 1011 In dotted-quad form: 01011111 . 00100011 . 01110100 . 00001011 = 95.35.116.11 2. (10 points) Consider the following grammar: S AB A a B B S b | b Draw a parse tree for the the expression aabbbb . NOTE: There is a typo in this problem. As written, it cannot be solved. The expression should be aabbb (only three instances of b )! 2
Background image of page 2
3. (4 points) Which of the following is NOT officially part of the CPU? (a) Control Unit
Background image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 10

final-practice-solutions - CSE 110 Final Exam Practice...

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

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