CPU and Memory Basics
- 79Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
79 questions
- 1The central processor responsible for executing programs in a computing device is the_____.
Hint
It is the main processing component of a computer.
Answer
CPU
- 2As soon as power is applied, the CPU begins consuming executable code from_____memory.
Hint
The code is stored outside the processor itself.
Answer
external
- 3The CPU reads a program from memory_____by byte.
Hint
This is analogous to reading a book one unit at a time.
Answer
byte
- 4As long as power remains applied, program execution by the CPU continues_____.
Hint
The processor does not naturally stop while powered.
Answer
forever
- 5Computer memory is organized as an array of integer numbers called_____.
Hint
Each element can store a value from 0 to 255.
Answer
bytes
- 6A single byte can represent integer values from_____to 255.
Hint
Memory values use the full range of an unsigned eight-bit quantity.
Answer
0
- 7The ordinal number assigned to a memory cell is called its_____.
Hint
The CPU uses this value to identify a particular cell.
Answer
address
- 8Because memory numbering starts at zero, memory cell number 300 has address_____.
Hint
Subtract one from the cell number.
Answer
299
- 9The two basic types of computer memory described are read-only memory and_____access memory.
Hint
The abbreviation for this type is RAM.
Answer
random
- 10ROM usually contains pre-programmed code intended for the CPU to_____.
Hint
The CPU performs the commands stored in ROM.
Answer
execute
- 11RAM mostly contains temporary data generated by the CPU or loaded during program_____.
Hint
This is the process of running a program.
Answer
execution
- 12Unlike RAM, ROM can only be_____by the CPU.
Hint
Its name identifies the permitted operation.
Answer
read
- 13RAM can be both read and_____by the CPU.
Hint
Temporary working data must be changeable.
Answer
written to
- 14ROM retains its data when power is turned off, making it_____memory.
Hint
Its contents persist without power.
Answer
nonvolatile
- 15RAM is erased whenever power is_____.
Hint
Its contents do not survive loss of electrical power.
Answer
interrupted
- 16DIMM sticks installed in a personal computer are examples of_____.
Hint
They provide the system's temporary working memory.
Answer
RAM
- 17A computer's BIOS is stored in a_____chip.
Hint
It must retain its startup code when power is removed.
Answer
ROM
- 18The BIOS is a small program executed every time the system_____up.
Hint
This happens when the computer starts.
Answer
boots
- 19The proprietary software stored in the ROM of a specific device is called_____.
Hint
Its name suggests software closely associated with hardware.
Answer
firmware
- 20The communication system that carries memory cell addresses from the CPU is the_____bus.
Hint
It identifies which memory location is being accessed.
Answer
address
- 21The address bus uses electrical wires carrying_____values to encode addresses.
Hint
The values consist of ones and zeros.
Answer
binary
- 22A binary digit is also called a_____.
Hint
It can have the value zero or one.
Answer
bit
- 23For a 16-bit address, the least significant bit is placed on address line_____.
Hint
Address line numbering starts with zero.
Answer
A0
- 24For a 16-bit address, the most significant bit is placed on address line_____.
Hint
The highest line number in a zero-based group of 16 lines is used.
Answer
A15
- 25The address bus is_____because addresses travel from the CPU to external devices only.
Hint
The communication has only one direction.
Answer
unidirectional
- 26Devices on a computer motherboard are connected to the address bus in_____.
Hint
They share the same bus wires.
Answer
parallel
- 27The signaling system that indicates whether the CPU intends to read or write is the_____bus.
Hint
It carries operation-control signals.
Answer
control
- 28The two most important control-bus lines for memory operations are READ and_____.
Hint
They represent the two basic memory operations.
Answer
WRITE
- 29The bus that transfers data between the CPU and memory is the_____bus.
Hint
It carries the actual contents of memory cells.
Answer
data
- 30Unlike the address bus, the data bus is_____because data must travel in both directions.
Hint
The CPU both sends and receives data.
Answer
bidirectional
- 31A memory operation signal is active low when the CPU activates it by pulling the signal_____.
Hint
The word active describes the signal's zero-logic state.
Answer
low
- 32To request a read operation, the CPU pulls the READ line_____.
Hint
READ is an active-low control signal.
Answer
low
- 33To request a write operation, the CPU pulls the WRITE line_____.
Hint
WRITE is also active low.
Answer
low
- 34READ and WRITE are mutually exclusive because memory cannot be read and written_____.
Hint
The two operations cannot occur at the same time.
Answer
simultaneously
- 35The ROM needs a READ signal to know when to place requested data on the_____bus.
Hint
This bus carries the contents of the selected cell.
Answer
data
- 36The special activation signal on a memory chip is called CS, or Chip_____.
Hint
The abbreviation CS expands to two words.
Answer
Select
- 37The CS signal is also_____low.
Hint
It is asserted using logic zero.
Answer
active
- 38When a memory IC is inactive, its outputs enter the high-impedance, or_____state.
Hint
This state effectively disconnects the output pins.
Answer
Z-state
- 39Memory outputs in the high-impedance state are also called_____outputs.
Hint
The term describes a third electrical state besides zero and one.
Answer
tri-state
- 40OE is the control signal that stands for Output_____.
Hint
It permits a memory chip to drive the data bus.
Answer
Enable
- 41The mechanism that selects a memory device based on address patterns is called address_____.
Hint
It uses logic gates rather than encryption.
Answer
decoding
- 42An address decoder outputs logic zero when a specified pattern of ones and_____appears at its inputs.
Hint
The pattern consists of the two binary values.
Answer
zeros
- 43To prevent two memory chips from driving the data bus at once, each chip is assigned a fixed address_____.
Hint
Different portions of the total address space belong to different devices.
Answer
range
- 44The total address space of a CPU is determined by the number of_____bus lines.
Hint
More lines allow more distinct addresses.
Answer
address
- 45A CPU with 16 address lines can address 216 bytes, which equals_____bytes.
Hint
This is the number of distinct values represented by 16 binary bits.
Answer
65536
- 46In the 16-bit address-space example, the valid addresses run from 0 through_____.
Hint
The first of 65,536 addresses is zero.
Answer
65535
- 47In the example where ROM and RAM each occupy half of the address space, ROM occupies addresses 0 through_____.
Hint
ROM occupies the lower 32 kilobytes.
Answer
32767
- 48In the same example, RAM occupies addresses 32768 through_____.
Hint
RAM occupies the upper half of the address space.
Answer
65535
- 49ROM is commonly placed at the beginning of the address space because the CPU begins execution at address_____after reset.
Hint
Reset zeroes the program counter.
Answer
0
- 50The numbering system that uses digits 0 through 9 and letters A through F is_____.
Hint
It has 16 possible digit symbols.
Answer
hexadecimal
- 51Hexadecimal simplifies binary representation by replacing every group of_____binary digits with one hex digit.
Hint
A hex digit represents 16 possible values, matching four bits.
Answer
4
- 52Eight bits can be represented by_____hexadecimal digits.
Hint
Each hex digit represents four bits.
Answer
two
- 53Sixteen bits can be represented by_____hexadecimal digits.
Hint
Divide the bit count by four.
Answer
four
- 54In programming terminology, four bits are called a_____.
Hint
It is half of a byte.
Answer
nibble
- 55In programming terminology, eight bits are called a_____.
Hint
A memory cell in the example contains this many bits.
Answer
byte
- 56In C language, a hexadecimal number is conventionally marked with the prefix_____.
Hint
The prefix begins with zero followed by the letter x.
Answer
0x
- 57In assembly language, a hexadecimal number can be marked by appending the letter_____.
Hint
The letter stands for the word hex.
Answer
H
- 58The most significant address bit used to distinguish the example's ROM and RAM regions is line_____.
Hint
It is the highest line in a 16-line address bus.
Answer
A15
- 59In the example circuit, ROM is selected when the highest address line is_____.
Hint
ROM occupies addresses below 0x8000.
Answer
low
- 60In the example circuit, RAM is selected when the highest address line is_____.
Hint
RAM occupies addresses from 0x8000 through 0xFFFF.
Answer
high
- 61The logic gate used to produce the opposite selection signal for the RAM chip is an_____.
Hint
It changes a high input to low and a low input to high.
Answer
inverter
- 62The READ signal is connected to the Output Enable pins of_____memory chips.
Hint
Either ROM or RAM may be the source of a read.
Answer
both
- 63The WRITE signal is connected to the Write Enable input of the_____chip.
Hint
Only one of the two memory types supports writing.
Answer
RAM
- 64The control-bus signal used for input-output requests is_____.
Hint
Its name abbreviates input-output request.
Answer
IOREQ
- 65Memory and input-output ports use separate address spaces but share the same_____bus.
Hint
The CPU uses the same physical lines to specify locations.
Answer
address
- 66In the LED example, the one-bit output port is implemented using a D-type_____.
Hint
It stores one data bit when clocked.
Answer
flip-flop
- 67The LED output port is assigned address_____.
Hint
This address is eight binary ones.
Answer
0xFF
- 68An AND gate with_____inputs is used to detect the eight-bit address 0xFF.
Hint
One input corresponds to each address line from A0 through A7.
Answer
8
- 69To ensure the LED port responds only to output instructions, the circuit must decode the_____signal.
Hint
This signal distinguishes port operations from memory operations.
Answer
IOREQ
- 70Because the flip-flop input is connected to the least significant data line, the LED state is determined by_____.
Hint
This is the first data-bus line.
Answer
D0
- 71To turn the LED on, the CPU writes the value_____to port 0xFF.
Hint
A one represents the active LED state.
Answer
1
- 72To turn the LED off, the CPU writes the value_____to port 0xFF.
Hint
A zero clears the stored output bit.
Answer
0
- 73Video RAM is ordinary RAM in which writing data changes the contents of the computer_____.
Hint
It displays visual output.
Answer
screen
- 74VRAM cells are typically arranged from left to right and from_____to bottom according to screen position.
Hint
The first screen row begins at the upper edge.
Answer
top
- 75In the typical VRAM layout, the lowest address corresponds to the_____left corner of the screen.
Hint
It is the first position in the usual top-to-bottom order.
Answer
upper
- 76Keyboard, mouse, and gamepad connections are examples of input-output_____.
Hint
They provide a connection point for peripheral devices.
Answer
ports
- 77In traditional ISA and PCI systems, expansion slots are connected in_____.
Hint
They share communication lines rather than having fully independent connections.
Answer
parallel
- 78On an ISA Sound Blaster card, configuring its address and interrupt line was effectively configuring its_____chip.
Hint
The decoder determines which address belongs to the card.
Answer
decoder
- 79Starting with PCI-Express, each motherboard slot has independent communication lines for each installed_____board.
Hint
Graphics and sound cards belong to this category.
Answer
expansion

Ask anything
We've read this whole study set, so questions about it get the best answers.