Final exam
How Computers Work
Before you start
- 20 questions, drawn at random from a pool of 33.
- Pass mark: 70%. Your final score is 30% practice + 70% exam.
- No time limit, but finish within 3 hours. You can move between questions before you submit.
- Failed? Review the lessons and try again: every attempt gets a new set of questions.
Question 1 of 20Choose one
A fitness tracker measures your pulse, works out your heart rate, shows it on its screen and keeps a week of history. Which part is storage?
Question 2 of 20True or false
Because programs are stored as numbers in memory, a computer can change what it does without any rewiring.
Question 3 of 20Work it out
Convert the binary number 1001110 to decimal.
Question 4 of 20Work it out
Convert the decimal number 42 to binary. Type only ones and zeros.
Question 5 of 20Work it out
How many different values can be stored in 12 bits?
Question 6 of 20Match the pairs
Match each hexadecimal value to its decimal value.
Tap an answer, then tap the place where it belongs (or drag it there).
- 0F
- 10
- 80
- FF
Question 7 of 20Work it out
Ignoring overhead, how many seconds does a 50 Mbps connection need to transfer a 250 MB file?
Question 8 of 20Choose one
An operating system reports a brand-new 2 TB drive as about 1.82 TB. What is the explanation?
Question 9 of 20Fill in the blanks
Fill in the blanks
Each character in the Unicode standard has a unique number called a , and the most common byte encoding of it on the web is .
Question 10 of 20Work it out
A camera captures 1000 × 800 pixel images at 3 bytes per pixel. What is the uncompressed size of one image in megabytes (1 MB = 1,000,000 bytes)?
Question 11 of 20Work it out
Stereo audio is recorded at 48,000 samples per second with 16 bits per sample. How many bytes does one second take uncompressed?
Question 12 of 20Sort into groups
Sort these formats by compression type.
Tap an item, then tap its group (or drag it there).
Question 13 of 20Choose one
Which gate outputs 1 only when both of its inputs are 0?
Question 14 of 20Work it out
Evaluate NOT(A XOR B) AND C for A = 1, B = 1, C = 1. Answer 0 or 1.
Question 15 of 20True or false
Any digital circuit can be built using only NAND gates.
Question 16 of 20Work it out
Add the binary numbers 0111 and 0101 and give the binary result.
Question 17 of 20Choose one
In a half adder adding 1 + 1, what are the outputs?
Question 18 of 20Work it out
An 8-bit unsigned value holds 200. After adding 100, what value does it hold?
Question 19 of 20What would you do?
What would you do?
A lab's experiment logger stores elapsed seconds in a signed 32-bit integer. The team plans an experiment that will run continuously for 100 years. What should they do?
Question 20 of 20Match the pairs
Match each processor component to what it holds or does.
Tap an answer, then tap the place where it belongs (or drag it there).
- Instruction register
- Program counter
- ALU
- Control unit
Question 21 of 20Put in order
Order the stages a CPU goes through for each instruction.
Drag the items, or use the arrow buttons, to put them in order.
- Execute
- Write back
- Fetch
- Decode
Question 22 of 20Work it out
How long is one clock cycle on a 2.5 GHz processor, in nanoseconds?
Question 23 of 20Choose one
A program spends 40% of its time in code that cannot run in parallel. What is the most speedup extra cores could ever give it?
Question 24 of 20Spot the mistake
A student wrote these claims about processors. Select the ones that are wrong.
Question 25 of 20Put in order
Rank these from smallest typical capacity to largest.
Drag the items, or use the arrow buttons, to put them in order.
- L3 cache
- Registers
- L1 cache
- SSD
- RAM
Question 26 of 20Work it out
A cache has a 1 ns hit time, a 98% hit rate and a 60 ns miss penalty. What is the average access time in nanoseconds?
Question 27 of 20Choose one
A program loops over a large array, reading element after element in order. Which property mainly makes the cache effective here?
Question 28 of 20Select all that apply
Which statements about SSDs and hard disk drives are correct? Select all that apply.
Select all that apply.
Question 29 of 20Work it out
With 4,096-byte blocks, how many blocks does a 20,000-byte file occupy?
Question 30 of 20True or false
An interpreter must translate the entire program into an executable file before any of it can run.
Question 31 of 20Put in order
Put these startup events in order.
Drag the items, or use the arrow buttons, to put them in order.
- Drivers and services start
- User logs in
- Kernel is copied into RAM
- Firmware runs from a chip on the motherboard
- Boot loader is found on the drive
Question 32 of 20Choose one
A network card has just received a packet. How does it usually get the CPU's attention?
Question 33 of 20Sort into groups
Sort each item by whether it mainly describes bandwidth or latency.
Tap an item, then tap its group (or drag it there).