Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which of the following is defined as a combinational device? Select one: a. R

ID: 3902549 • Letter: 1

Question

1. Which of the following is defined as a combinational device?

Select one:

a. Register

b. RAM

c. ALU

d. Screen

2. What is the decimal value of this 16-bit 2's complement number: 1111111111111001two

3.

Each memory address in the Hack computer references

Select one:

a. a single byte.

b. a single word.

c. multiple words.

d. the D-register.

4. If we want the ALU to compute the function y-1, what should be the value of the zx (zeroed) and nx (negated)?

Select one:

a. zx = 1, nx=1

b. zx = 0, nx=1

c. zx = 1, nx=0

d. zx = 0, nx=0

Explanation / Answer

1.

Combinational device:

Option c

2.

(1  111111111111001)2

Here sign = 1 so it is negative number.

Perform 2's complement to data part to get original number.

111111111111001

1's complement : 000000000000110

2's complement = 1's complement + 1

000000000000110 + 1 = 000000000000111

Convert to decimal

000000000000111 = 1*20 + 1*21 + 1*22

= 7

The decimal number is -7

3.

Each memory address in the Hack computer references a single word.

Option b

4.

If we want the ALU to compute the function y-1, what should be the value of the zx (zeroed) and nx (negated)

zx = 0, nx=0

Option d