{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

quiz1_solution

# quiz1_solution - ECSE 2610 Quiz 1 Spring 2005 Duration 1:20...

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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ECSE 2610 Quiz 1, Spring, 2005 Duration 1:20 pm - 1:50pm rl‘he quiz is closed book and independent. Use separate papers if necessary. Write dowu your name on each paper. Name: Student Number: Section Numb er: 1. Mark each of the following statement TRUE or FALSE (5 points] a Overﬂow will occur if there is a carry on the MSB. o In a signed n—bit binary number represented using two‘s complement. there are more negative numbers than positive numbers. In 11W0:s complement system. 11111010 and 1010 represent the same decimal num— her. I The ASCII character ‘0: considered as a 8-bit binary number is 00000000 . #4714 —i-n . All numbers are internally represented as binary numbers in the computer. 2. Gave the 8—bit two‘s complement representations of the following decimal numbers [8 points). —9 \lil Dill;r 19 DOOlOOIlr! 123 olu‘. 10ml 3. Answer the following questions (10 points) 0 Decide which of the following two 8-bit numbers: represented in HEXt has a larger numerical value if 1) they are unsigned binary; 2) they are two‘s complement binary. FF FE 1) 2) o What are the smallest and largest number that can be represented by a 8-bit binary number if 1) it is unsigned; 2) it is in signed -n1agnitude; 3) it is in two’s complement. :II > O '"U' 3- S. 3) "ll—l "" ll‘l 3)-|18~12 4. Perform the following additions and subtractions (note 2’ stands For two‘s complement). Also determine if overﬂow occurs {8 points). 101101012: +1111? 10}; Oiooz" no Oil-Offlow 1101012\+ 11112 100 0100; F10 Overflow 111101012: — 11112; int olloy no overflow 4101/1515 +12343 4Fq‘q’lm no overflow ...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

quiz1_solution - ECSE 2610 Quiz 1 Spring 2005 Duration 1:20...

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

View Full Document
Ask a homework question - tutors are online