Computer Organization MCQs (Set-1)

An instruction set architecture defines what software-visible interface?

A Only cache replacement
B Only machine dimensions
C Printer protocols
D Processor instructions and state

Microarchitecture describes how an ISA is what?

A Translated into Unicode
B Stored on disk
C Printed on paper
D Implemented in hardware

A RISC design generally favors what instruction style?

A Very complex instructions only
B No registers
C Variable analog operations
D Simple regular instructions

A CISC design commonly provides what instruction characteristic?

A No addressing modes
B Complex instruction set
C Only one instruction
D Fixed analog instructions

The opcode identifies what part of an instruction?

A Operation to perform
B Operand value only
C Memory size
D Clock frequency

An instruction operand identifies what?

A Data or location
B Operation code
C Clock edge
D Power rail

Immediate addressing stores operand value where?

A Inside instruction
B In a memory pointer only
C In cache tag
D In I/O port always

Register addressing obtains an operand from what?

A CPU register
B Main memory only
C Disk sector
D Network packet

Indirect addressing uses an address stored where?

A In the opcode only
B In an ALU flag
C In a cache line only
D In another location

Indexed addressing combines a base address with what?

A Opcode length
B Index value
C Clock period
D Cache line state

The program counter stores the address of what?

A Last output value
B Next instruction
C Current cache line
D Stack contents only

The instruction register contains what?

A Next data byte
B Current instruction
C Stack pointer
D Cache index only

A register file provides what to the execution unit?

A Long-term file storage
B Network routing
C Fast operand storage
D Cooling control

The stack pointer identifies what?

A Next instruction
B Cache tag
C Top of stack
D I/O device only

Status flags record conditions such as zero and what?

A Carry
B Cache size
C Memory type
D Clock source

The memory hierarchy orders storage by speed, cost and what?

A Color depth
B Instruction syntax
C Network protocol
D Capacity

Temporal locality means recent data is likely to be used when?

A Never again
B Again soon
C Only after reboot
D At a lower address

Direct-mapped cache assigns each memory block to what?

A Any cache line
B Every cache line
C Main memory only
D One cache line

Fully associative cache allows a block in what location?

A Any cache line
B One fixed line
C No cache line
D Only first line

Set-associative cache maps a block to one set and what?

A Any way in set
B Any set and way
C One fixed way globally
D Main memory only

Write-through cache updates cache and what on each write?

A Disk only
B TLB only
C Main memory
D Register file only

Write-back cache delays main-memory update until what?

A Every read
B Every clock cycle
C Line eviction
D Power-up only

LRU replacement evicts the line used what?

A Most recently
B Most frequently only
C Least recently
D At random always

Cache hit ratio is hits divided by what?

A Misses only
B Cache lines
C Total accesses
D Memory capacity

AMAT includes hit time plus miss rate times what?

A Cache capacity
B Miss penalty
C Address width
D Clock count only