Logo/

Computer Architecture Concepts

Log in

Made with ScholarlyMake flashcards like these from your own notes

Computer Architecture Concepts

Questions and answers

172 cards
  1. Question:What is the most important characteristic of the Synchronous Bus?

    Answer:The occurrence of events on the bus is determined by a clock

  2. Question:Which memory device has the lowest access speed?

    Answer:Magnetic tape

  3. Question:What is the result of the expression NOT (1111 1010)?

    Answer:0000 0101

  4. Question:What is the primary purpose of cache memory in a computer system?

    Answer:To store frequently used data for quick access

  5. Question:How many bits are in the tag field of a set-associative cache with 64 lines divided into four-line sets, given main memory has 4K blocks of 128 words?

    Answer:8

  6. Question:Why is cache design used in high-performance computing (HPC)? (Choose three)

    Answer:Because there is a significant speed gap between processor and internal memory in HPC, because applications require large bandwidth, because multiple processors work in parallel providing efficient data management

  7. Question:How many bytes of data does each sector in a Winchester hard drive disk have?

    Answer:512 bytes

  8. Question:Using Hamming Code for error correction, what are the parity bits for the stored 12-bit word?

    Answer:0101

  9. Question:What is correct about increasing performance and endurance?

    Answer:Hard Disk-NAND Flash-DRAM-SRAM

  10. Question:With the hard disk data layout, the set of all tracks in the same relative position on the platter is called

    Answer:Cylinder

  11. Question:For a 5-drive, 200 GBytes-per-drive RAID array, what is the available data storage capacity at RAID level 5?

    Answer:800 GBytes

  12. Question:For a 5-drive, 100 GBytes-per-drive RAID array, what is the data capacity at RAID level 5?

    Answer:400 GBytes

  13. Question:Which register interacts with secondary storage?

    Answer:MAR

  14. Question:What expression is equivalent to A.(B.C)?

    Answer:A (A+B)(A+C)

  15. Question:How is the address of the next instruction determined in typical instruction execution?

    Answer:By adding a byte number to previous instruction address (Instruction address calculation)

  16. Question:What role does an API play in software development?

    Answer:It allows program access to hardware resources using high-level language libraries

  17. Question:Which state indicates a process is currently executed by the processor?

    Answer:Running

  18. Question:Which process subdivision is done dynamically by the OS?

    Answer:Memory management

  19. Question:What statement is false about Translation Lookaside Buffer (TLB)?

    Answer:The use of TLB eliminates the need for a page table in memory

  20. Question:What is the XOR of (R1) = 01110110 and (R2) = 11011111?

    Answer:10101001

  21. Question:What is the output of a NOT gate with input 0?

    Answer:1

  22. Question:How is +18 represented in 8-bit two's complement?

    Answer:00010010

  23. Question:Which register can be assigned various functions by the programmer?

    Answer:General purpose registers

  24. Question:What are the primary data categories machine instructions operate on?

    Answer:Addresses, numbers, characters, and logical data

  25. Question:What is the result of left shifting 00011000 by 2?

    Answer:01100000

  26. Question:Which addressing mode allows direct specification of the memory address?

    Answer:Direct

  27. Question:Which PDP computer uses 12-bit instructions and an accumulator?

    Answer:PDP-8

  28. Question:Which command in MASM32 is used for comparison?

    Answer:CMP

  29. Question:What is the primary function of the ALU?

    Answer:Perform computations and data processing

  30. Question:To which group do PC, IR, MAR, MBR registers belong?

    Answer:Control and Status Registers

  31. Question:What trade-offs are involved in the number of pipeline stages?

    Answer:Speedup potential vs. cost and delays

  32. Question:What does CISC stand for?

    Answer:Complex Instruction Set Computer

  33. Question:What is a key advantage of a register file?

    Answer:Reduction in memory accesses

  34. Question:How does pipelining handle branch instructions in RISC architectures?

    Answer:By inserting NOOP instructions

  35. Question:What is instruction-level parallelism?

    Answer:The degree of instructions executed in parallel

  36. Question:What method improves performance in superscalar processors?

    Answer:Out-of-order issue, register renaming, resource allocation

  37. Question:How many classifications of parallel systems does Flynn propose?

    Answer:4

  38. Question:What writing technique ensures main memory is always valid?

    Answer:Write through

  39. Question:How does multithreading improve processor performance?

    Answer:By hiding latency of events like cache misses

  40. Question:Using Amdahl's law with 10% serial code and 4 processors, the speedup is approximately?

    Answer:307%

  41. Question:What is the role of the program counter in instruction fetching?

    Answer:Holds the address of the next instruction to fetch

  42. Question:Are register file addresses shorter than cache addresses?

    Answer:Yes, True

  43. Question:What command activates a peripheral device?

    Answer:Control

  44. Question:What is the process of moving data to/from remote devices called?

    Answer:Data communications

  45. Question:Which memory type allows both reading and writing data rapidly?

    Answer:RAM

  46. Question:What is a small, high-speed memory buffer for recent instructions?

    Answer:Loop buffer

  47. Question:What attribute is transparent to the user and related to hardware details?

    Answer:Organizational

  48. Question:What interface transmits data one bit at a time?

    Answer:Serial

  49. Question:What provides the data path among system modules?

    Answer:Data bus

  50. Question:What logical operation yields true if either operand is true?

    Answer:OR

  51. Question:What technique involves moving program/data blocks into main memory on demand?

    Answer:Virtual Memory

  52. Question:Which mapping technique maps each block into only one cache line?

    Answer:Direct mapping

  53. Question:What does the term 'latency' refer to?

    Answer:Memory cycle time

  54. Question:What means using more, finer pipeline stages?

    Answer:Superpipelined

  55. Question:What decodes opcode and operand specifications?

    Answer:Fetch instruction

  56. Question:Is data retained in volatile memory when power is off?

    Answer:Yes, True

  57. Question:Do microprograms simplify control unit design?

    Answer:Yes, True

  58. Question:During instruction fetch, where is the opcode loaded?

    Answer:Fetch cycle

  59. Question:What lines designate source/destination of data on the data bus?

    Answer:Control lines

  60. Question:Which architecture uses more fine-grained pipeline stages?

    Answer:Superpipelined

  61. Question:What determines opcode and operand specifiers during instruction processing?

    Answer:Decode instruction

  62. Question:An interrupt provoked by executing an instruction is called?

    Answer:Software interrupt

  63. Question:With direct addressing, address field length usually:

    Answer:Is less than word length

  64. Question:What provides internal storage within the CPU?

    Answer:Registers

  65. Question:The type of semiconductor memory used in SSDs is called?

    Answer:Flash memory

  66. Question:The most important system program is the?

    Answer:Operating system (OS)

  67. Question:The scheduler is also known as the?

    Answer:Short-term scheduler

  68. Question:The System bus is composed of which components?

    Answer:Control, Address, Data buses

  69. Question:Which register holds the address of the storage location being accessed?

    Answer:MAR (Memory Address Register)

  70. Question:In volatile memory, information is lost when?

    Answer:Electrical power is switched off

  71. Question:Microprogramming simplifies control unit design by providing support for?

    Answer:Family concept

  72. Question:During which cycle is the opcode loaded into the IR and address into the MAR?

    Answer:Fetch cycle

  73. Question:Data on the data bus is designated by?

    Answer:Data lines

  74. Question:A wafer made of silicon, broken into chips with gates/memory cells, is called?

    Answer:True (statement is true)

  75. Question:A type of nonvolatile memory with unchangeable data is called?

    Answer:ROM (Read-Only Memory)

  76. Question:The technique where disk rotates more slowly near the center than the outer edge is called?

    Answer:Constant linear velocity (CLV)

  77. Question:Electronic device used in early computers like ENIAC is?

    Answer:Vacuum tubes

  78. Question:The instruction register stores?

    Answer:The currently executing instruction

  79. Question:An instruction set typically includes both preindexing and postindexing?

    Answer:False

  80. Question:A NOOP instruction is used for?

    Answer:Accounting for data and branch delays

  81. Question:The main memory stores?

    Answer:Data and instructions

  82. Question:The unary operation that inverts the value of its operand is?

    Answer:NOT

  83. Question:Logical OR operation yields true if?

    Answer:Either or both operands are true

  84. Question:The register file is located on the same chip as?

    Answer:ALU and control unit

  85. Question:Operations like scheduling and memory management are most relevant to?

    Answer:System operation

  86. Question:Condition codes facilitate?

    Answer:Multiway branches

  87. Question:Addressing bits are determined by which factors?

    Answer:Number of operands, register sets, address range

  88. Question:ROM is volatile?

    Answer:False

  89. Question:Main advantage of SSD over magnetic disk?

    Answer:Faster access and higher reliability

  90. Question:DeMorgan's Theorem replacement for NOT(A∙B)?

    Answer:NOT A OR NOT B

  91. Question:The statement 'mainframes use I/O channels' is?

    Answer:True (statement is true)

  92. Question:The special feature of a Blu-ray disc is?

    Answer:Stores approximately 25 GB per layer

  93. Question:Memory in the form of binary, ASCII, or numeric data is stored in?

    Answer:Binary form

  94. Question:The command that causes I/O module to transmit data to a peripheral is?

    Answer:Write

  95. Question:Bits set by hardware as a result of operations are called?

    Answer:Condition codes

  96. Question:Most simple form of addressing for operands is?

    Answer:Direct addressing

  97. Question:Memory is internal or external to the computer? is called?

    Answer:Location (Addressing)

  98. Question:DRAM memory requires?

    Answer:Refresh operation

  99. Question:The standard sector size typically used in systems is?

    Answer:512 bytes

  100. Question:Implementation choice about multiply instruction?

    Answer:Architectural issue

  101. Question:The register that stores address of the next instruction to fetch?

    Answer:Program Counter (PC)

  102. Question:Memory that allows easier read/write access is called?

    Answer:RAM (Random Access Memory)

  103. Question:Control unit (CU) is responsible for?

    Answer:Directing operation of CPU components

  104. Question:Memory Address Register (MAR) contains?

    Answer:Address of the word to be fetched or stored

  105. Question:The von Neumann architecture assumes?

    Answer:Data and instructions are stored together in main memory

  106. Question:Main advantage of cache memory?

    Answer:Speeds up data access

  107. Question:In the address calculation for segmentation, the address is?

    Answer:Segmented (by segment register)

  108. Question:Most common sector size in hard disks?

    Answer:512 bytes

  109. Question:The primary goal of instruction fetch is to?

    Answer:Read instruction from memory

  110. Question:Control and status registers are used by?

    Answer:Privileged OS programs

  111. Question:Multiple processors sharing memory with uniform access time is?

    Answer:Symmetric multiprocessing (SMP)

  112. Question:The concept that involves shared memory or pool of memory for multiple processors?

    Answer:SMP (Symmetric Multiprocessor)

  113. Question:If a tax increases the price paid by buyers, the actual burden can be inferred from?

    Answer:Division of tax burden based on elasticity

  114. Question:A violation of your assumed independence between variables is?

    Answer:Dependent variables

  115. Question:A technique where the CPU busy-waits for I/O completion called?

    Answer:Programmed I/O

  116. Question:The principle where register banks are replicated to share pipeline resources among threads?

    Answer:Simultaneous multithreading

  117. Question:The number of general-purpose registers in Intel 8086 to Pentium 4 is?

    Answer:8

  118. Question:What is the primary benefit of a cache?

    Answer:Speeds up data access

  119. Question:Interrupts act as?

    Answer:Signals to notify CPU of I/O events

  120. Question:The architecture that involves multiple pipeline stages with more fine-grained control?

    Answer:Superpipelined

  121. Question:The concept of sharing multiple instructions per cycle in architecture?

    Answer:Superscalar

  122. Question:The operation type that produces a true output if either or both operands are true?

    Answer:OR

  123. Question:What is a characteristic trait of the Synchronous Bus?

    Answer:Bus events are coordinated by a clock signal.

  124. Question:Which memory device has the slowest access time?

    Answer:Magnetic tape.

  125. Question:What is the complement of 11111010?

    Answer:00000101.

  126. Question:Primary purpose of cache memory in computing?

    Answer:To rapidly store frequently accessed data for quick retrieval.

  127. Question:Number of bits in the tag field for a 64-line set-associative cache, given 4K memory blocks of 128 words?

    Answer:8 bits.

  128. Question:Why is cache used in high-performance computing? (Choose three)

    Answer:To bridge the speed gap between CPU and memory, to provide large bandwidth, and to support parallel processing.

  129. Question:Size of each sector in a Winchester hard drive?

    Answer:512 bytes.

  130. Question:Hamming code parity bits for a 12-bit data word?

    Answer:0101.

  131. Question:Chains of increasing performance and endurance:

    Answer:Hard Disk < NAND Flash < DRAM < SRAM.

  132. Question:Set of tracks at the same position across platters is called?

    Answer:Cylinder.

  133. Question:Available data capacity at RAID 5 with 5 drives of 200GB each?

    Answer:800GB.

  134. Question:Data capacity at RAID 5 with 5 drives of 100GB each?

    Answer:400GB.

  135. Question:Incorrect statement about SSDs compared to HDDs?

    Answer:A. Higher access times and latency; SSDs are faster.

  136. Question:Register that interacts with secondary storage?

    Answer:MAR.

  137. Question:Expression equivalent to A.(B.C)?

    Answer:A (A+B)(A+C).

  138. Question:Next instruction address calculation method?

    Answer:Adding byte offset to previous instruction address.

  139. Question:Technique where modules share an interrupt line with acknowledge propagation?

    Answer:Daisy chain.

  140. Question:Role of an API?

    Answer:Provides high-level access to hardware resources.

  141. Question:State indicating a process is currently executing?

    Answer:Running.

  142. Question:Dynamic process subdivision handled by OS?

    Answer:Memory management.

  143. Question:False statement about TLB?

    Answer:It replaces the page table entirely.

  144. Question:XOR of 01110110 and 11011111?

    Answer:10101001.

  145. Question:Output of NOT gate with input 0?

    Answer:1.

  146. Question:Representation of +18 in 8-bit two's complement?

    Answer:00010010.

  147. Question:Register assignable to various functions?

    Answer:General purpose registers.

  148. Question:Primary data types machine instructions operate on?

    Answer:Addresses, characters, numbers, logical data.

  149. Question:Result of left-shifting 00011000 by 2?

    Answer:01100000.

  150. Question:Addressing mode with direct memory address?

    Answer:Direct addressing.

  151. Question:PDP computer with 12-bit instructions and accumulator?

    Answer:PDP-8.

  152. Question:MASM comparison instruction?

    Answer:CMP.

  153. Question:Primary function of ALU?

    Answer:Performing computations and data processing.

  154. Question:Registers PC, IR, MAR, MBR belong to?

    Answer:Control and status registers.

  155. Question:Pipelining trade-offs?

    Answer:Speed improvements versus cost and complexity.

  156. Question:Meaning of CISC?

    Answer:Complex Instruction Set Computer.

  157. Question:Main advantage of register file?

    Answer:Reduces memory access frequency.

  158. Question:How pipelining addresses branch instructions?

    Answer:Using NOOP or branch prediction.

  159. Question:Definition of instruction-level parallelism?

    Answer:Number of instructions executed in parallel.

  160. Question:Method to improve superscalar performance?

    Answer:Out-of-order execution, register renaming.

  161. Question:Number of classifications in Flynn's taxonomy?

    Answer:4.

  162. Question:Write through technique?

    Answer:Ensures main memory is always current.

  163. Question:How multithreading improves performance?

    Answer:Hides latency due to cache misses and other delays.

  164. Question:Approximate speedup with Amdahl's law for 10% serial code and 4 processors?

    Answer:Around 3.07x (about 307%).

  165. Question:Role of program counter?

    Answer:Holds address of next instruction.

  166. Question:Are register addresses shorter than cache addresses?

    Answer:Yes.

  167. Question:Command to activate a peripheral device?

    Answer:Control.

  168. Question:Process of moving data to/from remote devices?

    Answer:Data communication.

  169. Question:Memory type for fast read/write?

    Answer:RAM.

  170. Question:High-speed buffer for recent instructions?

    Answer:Loop buffer.

  171. Question:Hardware transparency attribute?

    Answer:Organizational.

  172. Question:RAID 3's data transfer rate capability?

    Answer:False (not very high).