Computer Systems
What's covered
Key facts
A program written in one CPU's assembly language is tied to that CPU architecture and won't run on a different one without being rewritten.
For inputs A=1 and B=0, A AND B = 0.
The accumulator (ACC) is the register that holds the data the ALU is currently working on and the result of the most recent ALU operation.
Assembly language is a low-level language — its instructions are mnemonics for the instruction set of one specific CPU architecture.
Adding cores does not always double performance because many programs cannot fully exploit parallel execution (Amdahl's law).
The CPU is a hardware component (a physical silicon chip), not software.
For Q = A AND (NOT B): with A=1, B=1, NOT B = 0, so Q = 1 AND 0 = 0.
Most computers need both: ROM holds the boot code so the machine can start up; RAM holds the running programs once the OS has loaded.
The OS manages files so users and applications can organise, store, and retrieve data using human-readable names rather than raw disk addresses.
A CD-ROM is optical (read by a laser), not magnetic storage.
Sample questions
A taste of the 158 questions in this topic — answers marked. Sign up to practise the full set with spaced repetition.
What does an assembler do?
- •Converts machine code into human-readable source code
- •Links compiled object files into an executable program
- ✓Translates assembly into machine code
- •Translates high-level code into assembly language
How many inputs does a NOT gate have?
- ✓Exactly one input
- •Exactly two inputs
- •Two or more inputs
- •Up to four inputs
What does ALU stand for?
- •Accumulator logic unit
- •Advanced logic unit
- •Arithmetic load unit
- ✓Arithmetic logic unit
Which is an example of a high-level language?
- •Assembly language tied to a specific CPU
- •Machine code made of binary instructions
- •Microcode hidden deep inside a processor
- ✓Python using readable English-like keywords
Name three factors that affect CPU performance.
- •Cache size, GPU cores, power supply wattage
- ✓Clock speed, cores, cache size
- •Clock speed, RAM capacity, screen resolution
- •Cores, storage type, operating system version
What is the key difference between hardware and software?
- •Hardware can be updated remotely; software cannot be changed once installed
- •Hardware is written by programmers; software is built in factories
- •Hardware works only on desktops; software works only on mobile devices
- ✓Hardware: physical components; software: instructions that run on hardware
Try it for four weeks. Free.
One school. Unlimited classes. No card limit. No teacher limit. If your students aren't practising daily by the end of the trial, you owe us nothing.