This preview has intentionally blurred sections. Sign up to view the full version.
View Full 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 8bit binary number is 00000000 . #4714 —in . 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 8bit 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 8bit
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 OilOfflow 1101012\+ 11112 100 0100; F10 Overflow 111101012: — 11112; int olloy no overflow 4101/1515 +12343 4Fq‘q’lm no overflow ...
View
Full Document
 Spring '08
 Ji

Click to edit the document details