In which type of computer, data are represented as discrete signals?
AAnalog computer
BDigital computer ✓ Correct answer
CHybrid Computer
DA and B
✓ Correct answer: Digital computer
Full explanation
In a digital computer data is represented as discrete signals — binary digits, 0 and 1. An analog computer uses continuous signals, and a hybrid mixes both.
Which memory stores data temporarily while the computer is running?
AROM
BRAM ✓ Correct answer
CHard Disk
DCD-ROM
✓ Correct answer: RAM
Full explanation
RAM stores data temporarily while the computer is running, and its contents are lost when the power is switched off. ROM keeps its data permanently, and the hard disk and CD-ROM are long-term storage.
Which is used to transfer data internally in a computer?
ABus ✓ Correct answer
BDatabase
CAddress bus
DControl bus
✓ Correct answer: Bus
Full explanation
The bus carries data between the processor, memory and other parts of the computer; a database stores data but does not transfer it, and the address and control buses carry addresses and signals, not data.
Computer ScienceComputer OrganizationID: COR-001
In a computer, which register holds the address of the memory location the CPU wants to read from or write to?
AMemory Address Register (MAR) ✓ Correct answer
BMemory Data Register (MDR)
CInstruction Register (IR)
DAccumulator
✓ Correct answer: Memory Address Register (MAR)
Full explanation
The Memory Address Register (MAR) holds the address of the memory location to be read from or written to. The MDR holds the data itself, the IR holds the instruction, and the accumulator holds results.
Computer ScienceComputer OrganizationID: COR-002
In a computer, which register holds the data or instruction that has just been read from memory?
AMemory Data Register (MDR) ✓ Correct answer
BMemory Address Register (MAR)
CProgram Counter (PC)
DAccumulator
✓ Correct answer: Memory Data Register (MDR)
Full explanation
The Memory Data Register (MDR), also called the Memory Buffer Register (MBR), holds the data or instruction just read from memory, or the data about to be written to it.
Computer ScienceComputer OrganizationID: COR-003
Which register holds the instruction that the CPU is currently decoding and executing?
AInstruction Register (IR) ✓ Correct answer
BMemory Address Register (MAR)
CMemory Data Register (MDR)
DAccumulator
✓ Correct answer: Instruction Register (IR)
Full explanation
The Instruction Register (IR) holds the current instruction while the Control Unit decodes it and the CPU executes it.
Computer ScienceComputer OrganizationID: COR-004
In a computer, which register holds the result of a calculation performed by the ALU?
AAccumulator ✓ Correct answer
BMemory Address Register (MAR)
CInstruction Register (IR)
DProgram Counter (PC)
✓ Correct answer: Accumulator
Full explanation
The accumulator is the register where the ALU leaves the result of a calculation, so the next operation can use it at once.
Computer ScienceComputer OrganizationID: COR-005
Which of the following is a general-purpose register, used to hold data the CPU is working on?
AAX ✓ Correct answer
BProgram Counter
CInstruction Register
DMemory Address Register
✓ Correct answer: AX
Full explanation
AX (with BX, CX and DX in the x86 family) is a general-purpose register: it holds data being worked on. The Program Counter, Instruction Register and Memory Address Register are special-purpose registers with fixed jobs.
Computer ScienceComputer OrganizationID: COR-006
What is a microprocessor?
AThe CPU built on a single chip ✓ Correct answer
BA type of memory chip
CA storage device
DAn input device
✓ Correct answer: The CPU built on a single chip
Full explanation
A microprocessor is the whole central processing unit — Control Unit, ALU and registers — built on a single silicon chip. The correct answer is The CPU built on a single chip.
Computer ScienceComputer OrganizationID: COR-007
Which of the following is NOT a part of the CPU?
AHard disk ✓ Correct answer
BControl Unit
CArithmetic Logic Unit
DRegisters
✓ Correct answer: Hard disk
Full explanation
The Control Unit, the ALU and the registers are the parts of the CPU. The hard disk is secondary storage, outside the CPU.
Computer ScienceComputer OrganizationID: COR-008
What does it mean for a processor to be a 64-bit processor?
AIt processes 64 bits of data at a time ✓ Correct answer
BIt has 64 cores
CIt runs at 64 GHz
DIt has 64 GB of memory
✓ Correct answer: It processes 64 bits of data at a time
Full explanation
A 64-bit processor works on 64 bits of data at a time — its registers and data bus are 64 bits wide. The number of cores and the amount of memory are separate facts. The correct answer is It processes 64 bits of data at a time.
Computer ScienceComputer OrganizationID: COR-009
One gigahertz (1 GHz) of clock speed means the CPU clock ticks how many times per second?
AOne billion times ✓ Correct answer
BOne million times
COne thousand times
DOne trillion times
✓ Correct answer: One billion times
Full explanation
1 GHz is 1,000,000,000 (one billion) clock cycles per second. Each step of the fetch-decode-execute cycle happens on a clock tick. The correct answer is One billion times.
Computer ScienceComputer OrganizationID: COR-010
Which bus carries control signals such as memory read, memory write and interrupt between the CPU and the other parts of the computer?
AControl bus ✓ Correct answer
BData bus
CAddress bus
DPower cable
✓ Correct answer: Control bus
Full explanation
The control bus carries the control signals — read, write, interrupt, clock and bus request — that coordinate the parts of the computer. The data bus carries data and the address bus carries addresses.
Computer ScienceComputer OrganizationID: COR-011
The data bus, the address bus and the control bus together are known as the:
ASystem bus ✓ Correct answer
BMemory bus
CData path
DControl path
✓ Correct answer: System bus
Full explanation
The three buses together are the system bus: the data bus moves data, the address bus moves addresses and the control bus moves control signals.
Computer ScienceComputer OrganizationID: COR-012
In which direction does the address bus carry addresses?
AOne way only, from the CPU to the memory ✓ Correct answer
BBoth ways, to and from the CPU
COne way only, from the memory to the CPU
DIt carries data, not addresses
✓ Correct answer: One way only, from the CPU to the memory
Full explanation
The address bus is one-way (unidirectional): the CPU puts the address of the memory location it wants on the bus. The memory never sends an address back. The correct answer is One way only, from the CPU to the memory.
Computer ScienceComputer OrganizationID: COR-013
In which direction does the data bus carry data?
ABoth ways, to and from the CPU ✓ Correct answer
BOne way only, from the CPU to the memory
COne way only, from the memory to the CPU
DIt carries addresses, not data
✓ Correct answer: Both ways, to and from the CPU
Full explanation
The data bus is two-way (bidirectional): it carries data and instructions from memory to the CPU and results back from the CPU to memory. The correct answer is Both ways, to and from the CPU.
Computer ScienceComputer OrganizationID: COR-014
When an interrupt occurs, the CPU saves the address of the next instruction and jumps to a special routine. What is that routine called?
AInterrupt handler (interrupt service routine) ✓ Correct answer
BBoot loader
CCompiler
DDebugger
✓ Correct answer: Interrupt handler (interrupt service routine)
Full explanation
The CPU finishes the current instruction, saves the Program Counter so it can return later, and runs the interrupt handler (interrupt service routine). When the handler finishes, the CPU goes back to the saved address.
Computer ScienceComputer OrganizationID: COR-015
What does Direct Memory Access (DMA) allow?
AAn input/output device to read from or write to memory directly, without the CPU ✓ Correct answer
BThe CPU to read memory faster than the clock speed
CTwo processors to share one memory chip
DThe hard disk to keep working without power
✓ Correct answer: An input/output device to read from or write to memory directly, without the CPU
Full explanation
With DMA, an input/output device moves data straight between itself and main memory, so the CPU is free to do other work instead of carrying every byte itself. The correct answer is An input/output device to read from or write to memory directly, without the CPU.
Computer ScienceComputer OrganizationID: COR-016
In the Von Neumann architecture, where are instructions and data stored?
ATogether in the same memory ✓ Correct answer
BIn two separate memories
COnly inside the CPU
DOnly on the hard disk
✓ Correct answer: Together in the same memory
Full explanation
Von Neumann architecture keeps instructions and data together in one memory, sharing one set of buses — so only one of them can be fetched at a time. The correct answer is Together in the same memory.
Computer ScienceComputer OrganizationID: COR-017
In the Harvard architecture, how are instructions and data stored?
AIn two separate memories, each with its own bus ✓ Correct answer
BTogether in one memory
COnly in registers
DOnly in cache memory
✓ Correct answer: In two separate memories, each with its own bus
Full explanation
Harvard architecture keeps instructions and data in separate memories with their own buses, so an instruction and data can be fetched at the same time — which is faster. The correct answer is In two separate memories, each with its own bus.