wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Spring2026_PRF193_Quiz01

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.
What does the 'stored-program' concept refer to?
a)
Programs and data are stored separately.
b)
Instructions and data are stored side-by-side in memory.
c)
A computer can only run one single fixed program.
d)
Data is stored in CPU and instructions in hard drive.
2.
Which component controls the speed at which the CPU executes instructions?
a)
Primary Memory
b)
Buses
c)
Clock
d)
Application Software
3.
What is the software that users interact with directly to operate a device?
a)
System Software
b)
Compiler
c)
Application software
d)
Hardware
4.
Which of the following connects components like the CPU and memory?
a)
Buses
b)
Monitor
c)
Keyboard
d)
Software
5.
Who proposed the modern computer architecture in 1945?
a)
Dennis Ritchie
b)
John von Neumann
c)
Bill Gates
d)
Alan Turing
6.
How is a 'program' defined in the lesson?
a)
A physical device.
b)
A complete set of instructions to perform a defined task.
c)
A language to communicate with humans.
d)
A component inside the CPU.
7.
What is the basic process of using a computer program?
a)
Output -> Input -> Process
b)
Process -> Output -> Input
c)
Input -> Process -> Output
d)
Input -> Output -> Process
8.
Which component is NOT mentioned as being located on the motherboard?
a)
CPU
b)
Primary Memory
c)
Keyboard
d)
Clock
9.
How do modern computers process different inputs using the same program?
a)
Changing the physical CPU.
b)
Moving the bus wires.
c)
Running the program again with new input data.
d)
Creating new hardware inside.
10.
What is a programming language used for?
a)
To increase Clock speed.
b)
To allow programmers to write instructions for programs.
c)
To replace primary memory.
d)
To connect the monitor.
11.
What is the most fundamental unit of information in a modern computer?
a)
Byte
b)
Bit
c)
Nibble
d)
Word
12.
How many bits are contained in a single byte?
a)
4 bits
b)
16 bits
c)
8 bits
d)
32 bits
13.
Which numbering system uses the prefix '0x' to identify its values?
a)
Binary
b)
Decimal
c)
Octal
d)
Hexadecimal
14.
In the hexadecimal system, what decimal value does the character 'F' represent?
a)
10
b)
15
c)
16
d)
9
15.
What is the fundamental addressable unit of RAM?
a)
Bit
b)
Nibble
c)
Byte
d)
Word
16.
A 'word' in computer architecture typically corresponds to:
a)
Always 8 bytes
b)
The size of the CPU's general registers
c)
Exactly 1024 bits
d)
The size of the hard drive
17.
How many bytes are in one Kilobyte (k)?
a)
1000 bytes
b)
1024 bytes
c)
512 bytes
d)
2048 bytes
18.
What happens when a program attempts to overwrite an instruction or execute data?
a)
Buffer Overflow
b)
Syntax Error
c)
Segmentation Fault
d)
Logic Error
19.
What is the range of decimal values that a single byte can store?
a)
1 to 256
b)
0 to 255
c)
0 to 128
d)
1 to 1024
20.
32-bit address registers can address a maximum memory size of:
a)
4 GB
b)
16 GB
c)
64 GB
d)
1 TB
21.
What is the primary function of a Compiler?
a)
To execute the program directly
b)
To translate source code into machine language (binary)
c)
To detect all logical errors in a program
d)
To provide a text editor for writing code
22.
Which of the following is written in a programming language like C?
a)
Binary code
b)
Machine language
c)
Source code
d)
Object code
23.
What is the name of the file format that a computer's CPU can directly understand and execute?
a)
Source file (.c)
b)
Binary/Executable file (.exe)
c)
Text file (.txt)
d)
Header file (.h)
24.
Which type of error is detected by the compiler during the translation process?
a)
Logical error
b)
Runtime error
c)
Syntax error
d)
Division by zero
25.
A program that compiles but produces the wrong result is said to have a:
a)
Syntax error
b)
Logic error
c)
Linker error
d)
Compilation error
26.
What does the term 'Portable' mean in the context of C programming?
a)
The code can be easily carried on a USB drive
b)
The source code can be compiled and run on different operating systems
c)
The program runs without needing a CPU
d)
The compiler is built into the monitor
27.
Which of the following best describes 'Machine Language'?
a)
A language that uses English-like words
b)
A sequence of 0s and 1s unique to a CPU architecture
c)
A language used only by web browsers
d)
A language that does not require a compiler
28.
What happens during the 'Linking' phase of program creation?
a)
The code is checked for spelling mistakes
b)
Different object files and libraries are combined into one executable
c)
The programmer writes the code in an editor
d)
The computer is restarted to clear RAM
29.
Why can't the CPU execute C source code directly?
a)
The CPU is too slow
b)
C code is too small for the CPU
c)
The CPU only understands binary instructions, not text-based code
d)
C code is only for printers
30.
If you forget a semicolon (;) at the end of a line in C, what will happen?
a)
The program will run but give wrong output
b)
A logic error will occur
c)
A syntax error will be reported by the compiler
d)
The computer will crash