Computer Organization and Design MCQs
A) input B) output C) value D) logic
Correct Ans: input
2) For a logic block with n inputs, there are _________ entries in the truth table.
A)16n B) 2n C) 4n D) 8n
Correct Ans: 2n
3) The result of an OR operator is ____________ if either of the variables is 1.
A) 4 B) 2 C) 1 D) 0
Correct Ans: 1
4) The logical function ___________ is implemented with an inverter that always has a single input.
A) NOT B) OR C) AND D) NOR
Correct Ans: NOT
5) One logic block that we will use in building larger components is a ______________.
A) latch B) registers C) multiplexers D) decoder
Correct Ans: decoder
6) ____________ can be created with an arbitrary number of data inputs.
A) latch B) registers C) multiplexers D) decoder
Correct Ans: Multiplexors
7) The adder created by directly linking the carries of 1-bit adders is called a
_______________.
A) ripple carry adder B) half adder C) full adder D) None of these
Correct Ans: ripple carry adder
8) A fixed ___________ means you must take a bit from one to add a bit to the other.
A) addressing B) word size C) operation D) exponent
Correct Ans: word size
9) ___________ processors can operate with either big-endian or little-endian byte order.
A) SPIM B) SPARC C) Macintosh D) MIPS
Correct Ans: MIPS
10) ________________ is a binary representation used for communication within a computer system.
A) machine language B) assembly language C) formal language D) natural language
Correct Ans: machine language
11) Register ___________ is saved by every procedure that allocates a new stack frame.
A) $V0 B) $fp C) $sp C) D) $ra
Correct Ans: $fp
12) Which one of the following is an instruction sets?
A) ARMv7 B) Intel x86 C) ARMv8 D) All of these
Correct Ans: All of these
13) The calling convention requires the minimum size of a stack frame to be ___________.
A) 24 bytes B) 12 bytes C) 8 bytes D)16 bytes
Correct Ans: 24 bytes
14) A _________ consists of a set of registers that can be read and written by supplying a register number to be accessed.
A) register B) control unit C) register file D) fetch unit
Correct Ans: register file
15) The memory-reference instructions use the __________ for an address calculation, the arithmetic-logical instructions for the operation execution, and branches for comparison.
A) ALU B) control unit C) fetch unit D) register
Correct Ans: ALU
16) A ____________, which has the instruction as an input, is used to determine how to set the control lines for the functional units and two of the multiplexors.
A) functional unit B) control unit C) memory unit D) fetch unit
Correct Ans: control unit
17) The ______________ elements include the instruction and data memories, the register file, the ALU, and adders.
A) datapath B)state C) N D)logic
Correct Ans: datapath
18) Branch instructions use a signed __________ instruction off set field.
A)64-bit B) 32-bit C) 8-bit D) 16-bit
Correct Ans: 16-bit
19) Exceptions and interrupts cause a MIPS processor to jump to a piece of code,
at address 80000180hex, called an ____________.
A) exception handler B) address error C) syscall D) breakpoint
Correct Ans: exception handler
20) Register $0 always contains the ___________ value 0.
A) branch B) hardwired C) datapath D) microprogrammed
Correct Ans: hardwired
Comments
Post a Comment