EEL-3705 TPS QUIZZES. Think - Pair - Share (TPS) Quizzes Think – Pair – Share –Think...

Preview:

Citation preview

EEL-3705TPS QUIZZES

Think - Pair - Share (TPS) Quizzes

• Think – Pair – Share– Think individually for one time units– Pair with partner for two time units– Share with group for one and half time units– Report results

THINKOne Unit

(e.g. 30 Seconds)

PAIRTwo Units

(e.g. 60 Seconds)

SHARE1.5 units

(e.g. 45 Seconds)

Report

Quiz 2-1

Q: Calculate the following binary addition. Assume unsigned binary numbers

1 1 1 1 0 1+ 0 1 0 1 1 1

S: Calculate the following binary addition. Assume unsigned binary numbers

1 1 1 1 0 1+ 0 1 0 1 1 11 0 1 0 1 0 0

11111

Quiz 2-2

Q: Calculate the following binary addition. Assume unsigned binary numbers

0 1 1 1 1 1 0 1 1 0+ 1 0 1 1 0 1 1 1 0 1

Solution

0 1 1 1 1 1 0 1 1 0+ 1 0 1 1 0 1 1 1 0 11 0 0 1 1 0 1 0 0 1 1

11111111

Quiz 2-3

Q: Calculate the following binary subtraction using the borrow method. Assume unsigned binary numbers

1 1 1 1 0 1- 0 1 0 1 1 1

S: Calculate the following binary subtraction. Assume unsigned binary numbers

1 1 1 1 0 1- 0 1 0 1 1 1 1 0 0 1 1 0

11

Quiz 2-4

Q: Calculate the following binary multiplication. Assume unsigned binary numbers

1 0 1x 0 1 1

S: Calculate the following binary multiplication. Assume unsigned binary numbers

1 0 1x 0 1 1 1 0 1

1 0 1 0 1 1 1 1

Quiz 2-5

Q: Calculate the hex addition. Assume unsigned binary numbers.

A3FD16

+ 24CE16

S: Calculate the hex addition.

A3FD16

+ 24CE16

C8CB16

11

Quiz 2-6

Q: Calculate the hex subtraction using the borrow method. Assume unsigned binary numbers.

A3FD16

- 24CE16

S: Calculate the hex subtraction.

A3FD16

- 24CE16

7F2F16

11

Quiz 2-7

S: Convert the following to decimal

a) A3FD16

b) 24CE16

S: Convert the following to decimal

a)A3FD16

b) 24CE16

3 2 110 16 3 16 15 16 13

10 4096 3 256 15 16 13

41981

x x x

x x x

3 2 12 16 4 16 12 16 14

2 4096 4 256 12 16 14

9422

x x x

x x x

Quiz 2-8

Q: Convert the following to decimal. Assume unsigned binary numbers

a) 0 1 1 1 1 0 1b) 0 0 1 0 1 1 1c) 1 0 1 0 1 0 0

Q: Convert the following to decimal. Assume unsigned binary numbers

a) 0 1 1 1 1 0 1b) 0 0 1 0 1 1 1c) 1 0 1 0 1 0 0

=1+4+8+16+32 =61=1+2+4+16 =23

=4+16+64 =84

Quiz 2-9

Q: Convert the following to binary. Assume unsigned binary numbers

a) 45b) 123c) 62

S: Convert the following to binary. Assume unsigned binary numbers

a) 45

b) 123

222 45 1R

112 22 0R

152 30 0R

22 5 1R

12 2 0R

02 1 1R

MSBLSB101101

612 123 1R

302 61 1R

52 11 1R

72 15 1R

32 7 1R

12 3 1R

02 1 1R 1111011

S: Convert the following to binary. Assume unsigned binary numbers

b) 6215

2 31 1R 31

2 62 0R 7

2 15 1R 3

2 7 1R 1

2 3 1R 0

2 1 1R

111110

MSBLSB

Quiz 2-10

Q: Calculate the two’s complement of the following binary numbers. What is the signed decimal equivalent of the original number?

a) 1 1 1 1 0 1

b) 1 1 0 1 0 1

A: Calculate the two’s complement of the following binary numbers. What are the signed decimal equivalents of the original number.

a) 1 1 1 1 0 1 -3

b) 1 1 0 1 0 1 -11

0 0 0 0 1 1 = 3

0 0 1 0 1 1 = 11

Quiz 2-11

Q: Calculate the following binary subtraction using the two’s complement method. Assume unsigned binary numbers

0 1 1 1 0 1- 0 1 0 1 1 1

S: Calculate the following binary subtraction using the two’s complement method. Assume unsigned binary numbers

0 1 1 1 0 1- 0 1 0 1 1 1

0 1 0 1 1 1 101001 = -23

0 1 1 1 0 1+ 1 0 1 0 0 1

Calculate two’s complement

Perform binary addition

1 0 0 0 1 1 0

29-23 6

Throw away

29+(-23)

6

Quiz 2-12

Q: Calculate the following using the two’s complement method and give the result in binary and decimal. Assume signed binary numbers.

0 1 1 1 1 1 0 1 1 0- 0 0 1 1 0 1 1 1 0 1

Q Solution: Calculate the following using the 2’s complement method and give the result in binary and decimal.

0 1 1 1 1 1 0 1 1 0- 0 0 1 1 0 1 1 1 0 1

0 1 0 0 0 1 1 0 0 1

0 1 1 1 1 1 0 1 1 0+ 1 1 0 0 1 0 0 0 1 1 2’s Comp