Hard disks (HDD) store data on spinning platters; solid-state drives (SSD) use flash memory and are faster.
Software
System software runs the computer (operating systems, drivers); application software does the user's tasks (word processors, browsers).
Firmware, such as the BIOS, is software stored permanently on hardware.
A compiler translates a whole program at once; an interpreter translates and runs it line by line.
Open-source software lets anyone read and change its source code.
Practise
Hardware and software MCQs
Try each question, then open the answer. MCQs 1–50 of 270.
1.Who is known as the father of the computer?
A. John von Neumann
B. Blaise Pascal
C. Alan Turing
D. Charles Babbage
Show answerHide answer
Answer: D. Charles Babbage
Babbage designed the Difference Engine and the Analytical Engine.
2.Which machine designed by Charles Babbage is seen as the first general-purpose computer design?
A. Abacus
B. Pascaline
C. Analytical Engine
D. Difference Engine
Show answerHide answer
Answer: C. Analytical Engine
The Analytical Engine (1837) had a mill, a store and punched-card input.
3.Who is regarded as the first computer programmer?
A. Charles Babbage
B. Ada Lovelace
C. Alan Turing
D. Grace Hopper
Show answerHide answer
Answer: B. Ada Lovelace
Ada Lovelace wrote an algorithm for the Analytical Engine in 1843.
4.Which was the first electronic general-purpose computer?
A. IBM 701
B. EDVAC
C. ENIAC
D. UNIVAC
Show answerHide answer
Answer: C. ENIAC
ENIAC was completed in the United States in 1945.
5.Which was the first commercial computer produced in the United States?
A. UNIVAC I
B. ENIAC
C. Apple I
D. IBM PC
Show answerHide answer
Answer: A. UNIVAC I
UNIVAC I was delivered in 1951.
6.The earliest known counting device is what?
A. Napier's bones
B. Abacus
C. Slide rule
D. Pascaline
Show answerHide answer
Answer: B. Abacus
The abacus has been used for thousands of years.
7.Who invented the first mechanical adding machine, the Pascaline?
A. Blaise Pascal
B. Herman Hollerith
C. Gottfried Leibniz
D. Charles Babbage
Show answerHide answer
Answer: A. Blaise Pascal
Pascal built it in 1642.
8.Who invented punched-card tabulating machines for the 1890 US census?
A. Joseph Jacquard
B. John Napier
C. Herman Hollerith
D. Charles Babbage
Show answerHide answer
Answer: C. Herman Hollerith
Hollerith's company later became part of IBM.
9.First-generation computers used which technology?
A. Integrated circuits
B. Transistors
C. Vacuum tubes
D. Microprocessors
Show answerHide answer
Answer: C. Vacuum tubes
First-generation computers (1940s–1950s) used vacuum tubes.
10.Second-generation computers used which technology?
A. Integrated circuits
B. Vacuum tubes
C. Microprocessors
D. Transistors
Show answerHide answer
Answer: D. Transistors
Transistors replaced vacuum tubes in the late 1950s.
11.Third-generation computers used which technology?
A. Transistors
B. Vacuum tubes
C. Integrated circuits
D. Artificial intelligence
Show answerHide answer
Answer: C. Integrated circuits
Integrated circuits came into use in the 1960s.
12.Fourth-generation computers are based on which technology?
A. Microprocessors
B. Relays
C. Transistors only
D. Vacuum tubes
Show answerHide answer
Answer: A. Microprocessors
The microprocessor put a whole CPU on one chip.
13.Fifth-generation computers are associated with what?
A. Artificial intelligence
B. Vacuum tubes
C. Magnetic drums
D. Punched cards
Show answerHide answer
Answer: A. Artificial intelligence
Fifth-generation computing aims at AI and natural language.
14.Who invented the transistor?
A. Charles Babbage
B. Bardeen, Brattain and Shockley
C. Jack Kilby and Robert Noyce
D. Thomas Edison
Show answerHide answer
Answer: B. Bardeen, Brattain and Shockley
They invented it at Bell Labs in 1947.
15.Who invented the integrated circuit?
A. John Bardeen
B. Jack Kilby (with Robert Noyce)
C. Bill Gates
D. Ted Hoff
Show answerHide answer
Answer: B. Jack Kilby (with Robert Noyce)
Kilby and Noyce independently invented the IC in 1958–59.
16.Which was the first commercial microprocessor?
A. Motorola 68000
B. Intel 8086
C. Intel 4004
D. Zilog Z80
Show answerHide answer
Answer: C. Intel 4004
Intel released the 4004 in 1971.
17.What is the full form of CPU?
A. Central Program Unit
B. Central Processing Unit
C. Computer Processing Unit
D. Control Processing Unit
Show answerHide answer
Answer: B. Central Processing Unit
The CPU carries out instructions.
18.The CPU is often called what?
A. The memory of the computer
B. The brain of the computer
C. The eye of the computer
D. The heart of the computer
Show answerHide answer
Answer: B. The brain of the computer
It processes all instructions and data.
19.What are the main parts of the CPU?
A. Hard disk, SSD and USB
B. Keyboard, mouse and monitor
C. ALU, control unit and registers
D. RAM, ROM and cache
Show answerHide answer
Answer: C. ALU, control unit and registers
The ALU calculates, the control unit directs and registers hold data.
20.What does ALU stand for?
A. Arithmetic Length Unit
B. Array Logic Unit
C. Automatic Logic Unit
D. Arithmetic Logic Unit
Show answerHide answer
Answer: D. Arithmetic Logic Unit
The ALU does arithmetic and logical operations.
21.The speed of a CPU is measured in what?
A. Hertz (GHz)
B. Bytes (GB)
C. Pixels
D. Bits per second
Show answerHide answer
Answer: A. Hertz (GHz)
Clock speed is given in gigahertz.
22.A processor with several processing units on one chip is called what?
A. Co-processor
B. Mainframe
C. Multi-core processor
D. Microcontroller
Show answerHide answer
Answer: C. Multi-core processor
Multi-core CPUs run several tasks at once.
23.Which processor is designed especially for graphics?
A. CPU
B. ALU
C. GPU
D. NPU only
Show answerHide answer
Answer: C. GPU
Graphics Processing Units also power AI training.
24.The main circuit board of a computer is called what?
A. Breadboard
B. Circuit card
C. Motherboard
D. Daughterboard
Show answerHide answer
Answer: C. Motherboard
All components connect through the motherboard.
25.What does RAM stand for?
A. Random Allocation Memory
B. Random Access Memory
C. Read Access Memory
D. Rapid Action Memory
Show answerHide answer
Answer: B. Random Access Memory
RAM is the computer's working memory.
26.What does ROM stand for?
A. Read Only Memory
B. Run Only Memory
C. Rewritable Optical Memory
D. Random Only Memory
Show answerHide answer
Answer: A. Read Only Memory
ROM holds permanent instructions.
27.Which memory loses its contents when the power is switched off?
A. Flash memory
B. RAM
C. Hard disk
D. ROM
Show answerHide answer
Answer: B. RAM
RAM is volatile.
28.Which memory is non-volatile and holds start-up instructions?
A. RAM
B. Cache
C. ROM
D. Registers
Show answerHide answer
Answer: C. ROM
ROM keeps its contents without power.
29.Which is the fastest memory in a computer?
A. Registers
B. Cache
C. Hard disk
D. RAM
Show answerHide answer
Answer: A. Registers
Registers inside the CPU are fastest; cache comes next.
30.Cache memory is placed between which two components?
A. CPU and main memory (RAM)
B. Keyboard and CPU
C. Monitor and GPU
D. RAM and hard disk
Show answerHide answer
Answer: A. CPU and main memory (RAM)
Cache keeps frequently used data close to the CPU.
31.Virtual memory uses which device to extend RAM?
A. Registers
B. ROM
C. Cache
D. Hard disk or SSD
Show answerHide answer
Answer: D. Hard disk or SSD
The operating system uses storage space as extra memory.
32.What does EPROM stand for?
A. Electrical Program ROM
B. Extended Programmable ROM
C. Erasable Programmable Read Only Memory
D. Erasable Portable ROM
Show answerHide answer
Answer: C. Erasable Programmable Read Only Memory
EPROM can be erased with ultraviolet light and reprogrammed.
33.Which kind of ROM can be erased electrically and is used in flash drives?
A. Mask ROM
B. EPROM
C. PROM
D. EEPROM (flash)
Show answerHide answer
Answer: D. EEPROM (flash)
Flash memory is a type of EEPROM.
34.What is the smallest unit of data in a computer?
A. Word
B. Nibble
C. Byte
D. Bit
Show answerHide answer
Answer: D. Bit
A bit is a single 0 or 1.
35.How many bits make one byte?
A. 8
B. 16
C. 2
D. 4
Show answerHide answer
Answer: A. 8
One byte is eight bits.
36.Four bits are called what?
A. Byte
B. Nibble
C. Word
D. Kilobit
Show answerHide answer
Answer: B. Nibble
A nibble is half a byte.
37.One kilobyte is equal to how many bytes?
A. 2,048
B. 1,000
C. 512
D. 1,024
Show answerHide answer
Answer: D. 1,024
In binary terms, 1 KB = 2¹⁰ = 1,024 bytes.
38.Which is the largest of these units?
A. Kilobyte
B. Megabyte
C. Gigabyte
D. Terabyte
Show answerHide answer
Answer: D. Terabyte
KB < MB < GB < TB.
39.One gigabyte is equal to how many megabytes?
A. 100
B. 512
C. 1,024
D. 1,000,000
Show answerHide answer
Answer: C. 1,024
1 GB = 1,024 MB.
40.Which unit comes after the terabyte?
A. Zettabyte
B. Gigabyte
C. Petabyte
D. Exabyte
Show answerHide answer
Answer: C. Petabyte
After TB come PB, EB, ZB and YB.
41.Computers store data using which number system?
A. Octal
B. Hexadecimal
C. Binary
D. Decimal
Show answerHide answer
Answer: C. Binary
Binary uses only 0 and 1.
42.The binary number 1010 equals which decimal number?
A. 10
B. 8
C. 5
D. 12
Show answerHide answer
Answer: A. 10
1×8 + 0×4 + 1×2 + 0×1 = 10.
43.The hexadecimal number system has a base of what?
A. 16
B. 2
C. 10
D. 8
Show answerHide answer
Answer: A. 16
Hexadecimal uses 0–9 and A–F.
44.The octal number system has a base of what?
A. 16
B. 8
C. 10
D. 2
Show answerHide answer
Answer: B. 8
Octal uses the digits 0 to 7.
45.ASCII is a code for representing what?
A. Programs as machine code
B. Images as pixels
C. Characters as numbers
D. Sound as waves
Show answerHide answer
Answer: C. Characters as numbers
ASCII stands for American Standard Code for Information Interchange.
46.Which character-encoding standard covers most of the world's writing systems, including Urdu?
A. BCD
B. ASCII
C. EBCDIC
D. Unicode
Show answerHide answer
Answer: D. Unicode
Unicode includes Arabic and Urdu script.
47.Which of these is an input device?
A. Printer
B. Keyboard
C. Speaker
D. Monitor
Show answerHide answer
Answer: B. Keyboard
Input devices send data into the computer.
48.Which of these is an output device?
A. Scanner
B. Microphone
C. Mouse
D. Printer
Show answerHide answer
Answer: D. Printer
Output devices present results.
49.Which device works as both input and output?
A. Touchscreen
B. Scanner
C. Printer
D. Keyboard
Show answerHide answer
Answer: A. Touchscreen
A touchscreen shows output and takes touch input.
50.Who invented the computer mouse?
A. Douglas Engelbart
B. Bill Gates
C. Tim Berners-Lee
D. Steve Jobs
Show answerHide answer
Answer: A. Douglas Engelbart
Engelbart demonstrated the mouse in 1968.
Test yourself
Free timed quizzes
Each quiz has 50 MCQs from this topic and 50 minutes. A correct answer earns 1 mark and each wrong answer takes off 0.25; skipped questions score nothing. No password needed.