cs141_f11_hw1_sol

cs141_f11_hw1_sol - CS141 Assignment #1 Computer Science...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: CS141 Assignment #1 Computer Science 141 Weekly Assignment #1 You may hand in your solution via email (cs141-staff@eecs.harvard.edu) or in person before Wednesdays lecture starts. 1 Required Reading For this homework, please read 1.1-1.6, 1.7.5-1.7.7, 1.9, 2.1-2.5. 2 Suggested Reading The remainder of section 1.7 is helpful if you want to know more about transistors. Section 1.8 explains why digital circuits use energy. 3 Problems (50 total points) Please show your work in your solutions. If you need any help, please contact the TFs with questions or meeting requests at cs141-staff@eecs.harvard.edu or post questions at Piazza. Problem 1: Number Systems (20 pts) A. Convert the following numbers to 8-bit twos complement binary: 52 10 ,- 39 10 , 153 10 ,- 123 10 , 108 10 52 10 = 00110100 2 (1pt)- 39 10 = 11011001 2 (1pt) 153 10 = 10011001 2 (1pt)(sorry that there is actually a mistake here, 153 is actually too big to represent using 8-bit twos complement, since the largest is 128 with 0111111...
View Full Document

Page1 / 4

cs141_f11_hw1_sol - CS141 Assignment #1 Computer Science...

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