1)The following diagram shows a logic circuit using a combinatorial...
1) The following diagram shows a logic circuit using a combinatorial chip called A, and a sequential chip called B.
Which wiring is legal, the wiring around chip A or the wiring around chip B.
Select one:
a. the wiring around chip A.
b. the wiring around chip B.
2) Which of the following is being used when loading a constant into a register:
Select one:
a. direct addressing
b. immediate addressing
c. indirect addressing.
d. All answers are wrong.
3) The Screen and Keyboard chips have the same interface as RAM chips.
Select one:
True
False
4) Which of the following is defined as a combinational device?
Select one:
a. Register
b. RAM
c. ALU
d. Screen
5) It is possible to force the Hardware Simulator to load a built-in version of chip Xxx. This can be done by:
Select one:
a. making sure the Xxx.hdl file is not loctaed in the current directory.
b. leaving the chip body in the Xxx.hdl file empty.
c. stating in the chip header that this is a built-in chip.
d. once the chip was implemented by the user, this is not possible.
6) In the HDL implementation of the Bit chip, the output from the DFF is connected to the input of the Mux. This is done
Select one:
a. to convert the Mux into a sequential chip.
b. to ensure that the Bit value is retained after each clock cycle if load is off.
c. to ensure that the new input bit is stored on every clock cycle.
d. to ensure that the Bit value is retained after each clock cycle if load is on.
7) 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
8) Which of the followings is not a sequential chip:
Select one:
a. Counter
b. DFF
c. Bit
d. Adder
9) Which of the followings is an unary Boolean function:
Select one:
a. Not
b. And
c. Or
d. Nand
10) If you want to covert x to its negative value in 2's complement you should:
Select one:
a. invert (not) every bit in the number x.
b. invert the most significant bit of x.
c. invert every bit of x and add 1.
d. invert every bit of x and subtract 1.
11) Which of the following statements about the ALU discussed and used in this course is wrong?
Select one:
a. The ALU is part of the computer's CPU.
b. The ALU is eventually based on a set of Nand gates.
c. The ALU can compute a fixed set of functions on its two 16-bit inputs.
d. The ALU implementation is based on sequential logic.
e. The efficiency of the ALU is related to the efficiency of the Adder chip.
12) What is the binary pattern that represents 7ten (in a 16-bit binary system)?
Answer:
13) A demultiplexor with 5 outputs must have a minimum of ____ select bits?
Answer:
14) Programs written in the Hack language (.asm) can be run in the following way:
Select one:
a. translate the program using the supplied assembler and then run the binary code (.hack) using the CPU simulator.
b. run the assembly code (.asm) using the CPU simulator.
c. translate the program using the supplied assembler and then run the binary code (.hack) using the Hardware Simulator directly.
d. Answers (a)-(b)-(c) are correct.
e. Answers (a)-(b) are correct
15) 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.
16) A decoder described as a 1-of-4 decoder has how many total outputs?
Answer:
17) Supply the hexadecimal result of 6 + 7 (both base 10) if stored in a 16 bit register.
Answer:
18) In a 4-way 16-bit Multiplexor the selector is:
Select one:
a. 2-bit wide.
b. 16-bit wide.
c. 4-bit wide.
d. 1-bit wide.
19) What is the decimal value of this 16-bit 2's complement number: 1111111111111001two
Answer:
s an
ipiscing
m risus an
m ri
sus
onec
ng e
m ri
ec a
llent
acini
rem ipsum dolor sit
rem ipsum dol
o. Do
con
fficitur
ec facilisis. Pellentesque dapibus effi
ec a
sum dolor sit amet, consectetur adipiscing elit. Nam lacini
Unlock full access to Course Hero
Explore over 16 million step-by-step answers from our library
Subscribe to view answera. Fusce dui
icitur laoreet. Nam risus a
sus ante, dapibus a mol
tesque
cing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque d
tesque dapibus efficitur laoreet. Nam risus ante, dapibus a
ur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lore
, dictum vitae
nec fa
at, ultrices ac magna. Fusce dui lectus,
, consectetur adipiscing elit. Nam l
ultrices ac magna. Fusce dui lectus, congue v
rem ipsum dolor sit
ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie c
inia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie conse
itur laoreet. Nam
dictum vitae o
, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laor