Final Exam PDF

Title Final Exam
Course Computer Systems
Institution University of the People
Pages 10
File Size 239 KB
File Type PDF
Total Downloads 6
Total Views 151

Summary

Final exam with their responses. Exam grade was an 85...


Description

Question 1 Answer saved Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 2 Answer saved Marked out of 1.00

Flag question Question text

A decoder described as a 1-of-4 decoder has how many total outputs? Answer:

4

Question 3 Answer saved Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 4 Answer saved Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 5 Answer saved Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 6 Answer saved Marked out of 1.00

Flag question Question text

What is the binary pattern that represents 7ten (in a 16-bit binary system)? Answer:

0000000000000111

Question 7 Answer saved Marked out of 2.00

Flag question Question text

Supply the hexadecimal result of 6 + 7 (both base 10) if stored in a 16 bit register. Answer:

000D

Question 8 Answer saved Marked out of 1.00

Flag question Question text

Which of the followings is not a sequential chip: Select one: a. Counter b. DFF c. Bit d. Adder Clear my choice

Question 9 Answer saved Marked out of 1.00

Flag question Question text

The Screen and Keyboard chips have the same interface as RAM chips. Select one: True False

Question 10 Answer saved Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 11 Not yet answered Marked out of 1.00

Flag question Question text

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 Clear my choice

Question 12 Not yet answered Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 13 Not yet answered Marked out of 1.00

Flag question Question text

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 Clear my choice

Question 14 Not yet answered Marked out of 1.00

Flag question Question text

A demultiplexor with 5 outputs must have a minimum of ____ select bits? Answer:

3

Question 15 Not yet answered Marked out of 1.00

Flag question Question text

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

-7

Question 16 Not yet answered Marked out of 1.00

Flag question Question text

Which of the followings is an unary Boolean function: Select one: a. Not b. And c. Or d. Nand Clear my choice

Question 17 Not yet answered Marked out of 1.00

Flag question Question text

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. Clear my choice

Question 18 Not yet answered Marked out of 1.00

Flag question Question text

Which of the following is defined as a combinational device? Select one: a. Register b. RAM c. ALU d. Screen Clear my choice

Question 19 Not yet answered Marked out of 1.00

Flag question Question text

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. Clear my choice...


Similar Free PDFs