Docsity

ECE2030: Introduction to Computer Engineering - Test #2, Exams of Computer Science

Toggle sidebar
bg1
STUDENT NAME: (PLEASE PRINT CLEARLY)
REMARKS: 1. All questions should be answered (in the space provided).
2. Books and notes may NOT be used, with the exception of one 8.5โ€x11โ€ sheet of paper.
DATE: February 26, 2001 TIME: 10:05 a.m. - 10:55 a.m.
v. 1.1 - 1 of 5 -
Georgia Institute of Technology
Department of Electrical and Computer Engineering
Test #2
ECE2030: Introduction to Computer Engineering
Marks:
Total:
Q1
Q2
Q3
1. NUMBER SYSTEMS AND ARITHMETIC (MAX MARK: 20)
(6) a) Convert the following radix-2 number (binary number) to hexadecimal and octal.
1001101111001.00101112 ->
(10) b)Perform addition on the following 6-bit numbers. Indicate if a range overflow has occurred.
(4) c) Expand the following number to decimal.
BF84.6216 ->
hexadecimal
octal
001011
000111
+
101011
110010
+
111100
111010
+
Unsigned Overflow
yes or no?
Signed Overflow
yes or no?
/20
/20
/30
/30
/100
Q4
pf3
pf4
pf5

Partial preview of the text

Download ECE2030: Introduction to Computer Engineering - Test #2 and more Exams Computer Science in PDF only on Docsity!

STUDENT NAME:

(PLEASE PRINT CLEARLY)

REMARKS: 1. All questions should be answered (in the space provided).

  1. Books and notes may NOT be used, with the exception of one 8.5โ€x11โ€ sheet of paper.

DATE: February 26, 2001 TIME: 10:05 a.m. - 10:55 a.m.

Georgia Institute of Technology Department of Electrical and Computer Engineering

Test

ECE2030: Introduction to Computer Engineering

Marks:

Total:

Q

Q

Q

1. NUMBER SYSTEMS AND ARITHMETIC (MAX MARK: 20)

(6) a) Convert the following radix-2 number (binary number) to hexadecimal and octal.

(10) b)Perform addition on the following 6-bit numbers. Indicate if a range overflow has occurred.

(4) c) Expand the following number to decimal.

BF84.62 16 ->

hexadecimal

octal

+^000111

+^110010

+^111010

Unsigned Overflow yes or no?

Signed Overflow yes or no?

Q

2. COMBINATIONAL BUILDING BLOCKS (EASIER) (MAX MARK: 20)

(10) a) Implement the logic circuit for the following truth table using an 8-to-1 multiplexer and a minimal set of other simple gates that may be required (AND, OR, NAND, NOR, NOT).

(10) b)Implement the logic circuit for the following truth table using a 3-to-8 decoder and a minimal set of any other simple gates that may be required (AND, OR, NAND, NOR, NOT).

X 2 X 1

Inputs Output

X 0

Z 0 0 0 1 0 0 0 0

X 2 X 1

Z 1

Inputs Outputs

X 0

Z 0

4. COMBINATIONAL BUILDING BLOCKS (HARDER) (MAX MARK: 30)

(15) a) Implement a four bit rotate shifter that can rotate an input one bit left or right using some 2-to-1 multi- plexers which have NO enables (do not implement the MUX) and other gates. The inputs are I 0 , I 1 , I2 , I 3 , right/left (right=0, left=1), and a module enable (outputs are zero when module is disabled). The outputs are O 0 , O 1 , O 2 , and O 3. Be sure to label all inputs on the multiplexers including S, I 0 , and I 1. I 0 I 1 I 2 I (^3)

D 0 D 1 D 2 D 3

Right/Left Enable

(15) b)Design a module that will add four 1-bit binary numbers , , , and. The sum will be a 3-bit

binary number with bits , , and for the most to least significant bits. Use ONLY full adders and/or half adders.

A B C D

S s 2 s 1 s (^0)