COMPUTER ORGANIZATION AND DESIGN
CERTIFICATION EVALUATION FULL
QUESTIONS AND CORRECT ANSWERS
VERIFIED
●● stored-program concept
Answer: The idea that instructions and data of many types can be stored
in memory as numbers, leading to the stored program computer.
●● Design Principles
Answer: 1: Simplicity favors regularity
2: Smaller is faster
3: Make the common case fast (actually a great idea, not a design
principle, but professor listed it)
4: Good design demands good compromises
●● word
Answer: The natural unit of access in a computer, usually a group of 32
bits
●● How many registers are typically on current computers?
Answer: 32
,●● data transfer instruction
Answer: A command that moves data between memory and registers.
●● address
Answer: A value used to delineate the location of a specific data element
within a memory array
●● If A[0] is at address $1000, where is A[4]?
Answer: address = base address + offset = base address + 4*index =
$1000 + 4*4 = $1016
●● alignment restriction
Answer: A requirement that data be aligned in memory on natural
boundaries.
●● big-endian
Answer: computers that use the leftmost or "big end" byte as the word
address
●● little-endian
Answer: computers that use the rightmost or "little end" byte as the word
address
, ●● Is MIPS big-endian or little-endian?
Answer: big-endian
●● spilling
Answer: The process of putting less commonly used variables (or those
needed later) into memory
●● To achieve highest performance and conserve energy, an instruction
set architecture must have a sufficient number of registers, and
compilers must use registers efficiently.
Answer: To achieve the highest performance and conserve energy, an
instruction set architecture must have a sufficient number of registers
and compilers must use registers efficiently.
●● R-type instruction format
Answer: | 6 bit opcode | 5 bit rs | 5 bit rt | 5 bit rd | 5 bit shamt | 6 bit
funct |
●● What type of instruction format do constant or immediates use?
Answer: I-type
●● I-type instruction format
Answer: | 6 bit opcode | 5 bit rs | 5 bit rt | 16 bit immediate |
CERTIFICATION EVALUATION FULL
QUESTIONS AND CORRECT ANSWERS
VERIFIED
●● stored-program concept
Answer: The idea that instructions and data of many types can be stored
in memory as numbers, leading to the stored program computer.
●● Design Principles
Answer: 1: Simplicity favors regularity
2: Smaller is faster
3: Make the common case fast (actually a great idea, not a design
principle, but professor listed it)
4: Good design demands good compromises
●● word
Answer: The natural unit of access in a computer, usually a group of 32
bits
●● How many registers are typically on current computers?
Answer: 32
,●● data transfer instruction
Answer: A command that moves data between memory and registers.
●● address
Answer: A value used to delineate the location of a specific data element
within a memory array
●● If A[0] is at address $1000, where is A[4]?
Answer: address = base address + offset = base address + 4*index =
$1000 + 4*4 = $1016
●● alignment restriction
Answer: A requirement that data be aligned in memory on natural
boundaries.
●● big-endian
Answer: computers that use the leftmost or "big end" byte as the word
address
●● little-endian
Answer: computers that use the rightmost or "little end" byte as the word
address
, ●● Is MIPS big-endian or little-endian?
Answer: big-endian
●● spilling
Answer: The process of putting less commonly used variables (or those
needed later) into memory
●● To achieve highest performance and conserve energy, an instruction
set architecture must have a sufficient number of registers, and
compilers must use registers efficiently.
Answer: To achieve the highest performance and conserve energy, an
instruction set architecture must have a sufficient number of registers
and compilers must use registers efficiently.
●● R-type instruction format
Answer: | 6 bit opcode | 5 bit rs | 5 bit rt | 5 bit rd | 5 bit shamt | 6 bit
funct |
●● What type of instruction format do constant or immediates use?
Answer: I-type
●● I-type instruction format
Answer: | 6 bit opcode | 5 bit rs | 5 bit rt | 16 bit immediate |