{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Homework03-sol - 4:23 PM Homework#03(Solution Binary...

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

View Full Document Right Arrow Icon
2/7/03 4:23 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 3 Homework #03 (Solution) Binary arithmetic and floating-point representation 1a. (4 points) What is the smallest and largest unsigned numbers that can be represented using 16-bits? 0 and 65,535 Grading: 2pts for each correct number, 1pt for trying. 1b. (4 points) What is the largest unsigned number that can be represented using n bits? 2 n -1 Grading: 4pts for correct, 2pts for trying. 1c. (4 points) How many unsigned numbers can you represent using n bits? 2 n Grading: 4pts for correct, 2pts for trying. 2a. (4 points) What is the smallest 16-bit signed integer in hexadecimal form? 0x8000 Grading: 4pts for correct, 1pt for trying. 2b. (4 points) What is the largest 16-bit signed integer in hexadecimal form? 0x7FFF Grading: 4pts for correct, 1pt for trying. 2c. (4 points) Negate the signed 8-bit number represented by 0x8E. Flip all bits and add 1 0x8e= 1000 1110 flip = 0111 0001 add 1 = 0111 0010 =0x72 Grading: 4pts for correct, 1pt for trying.
Image of page 1

Info icon This 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