cs141_f11_hw1_sol

cs141_f11_hw1_sol - CS141 Assignment#1 Computer Science 141...

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

View Full Document Right Arrow Icon
CS141 Assignment #1 Computer Science 141 Weekly Assignment #1 You may hand in your solution via email ([email protected]) or in person before Wednesday’s 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 [email protected] or post questions at Piazza. Problem 1: Number Systems (20 pts) A. Convert the following numbers to 8-bit two’s 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 two’s complement, since the largest is 128 with 0111111 2 , so no matter what your answer is , you will get the credit for this question.) - 123 10 = 10000101 2 (1pt) 108 10 = 01101100 2 (1pt) B. Solve 10110
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern