Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IGCSE Year 1

Total questions: 45

Worksheet time: 17mins

Name
Class
Date
1.
What is the binary representation of the denary number 13?
a)
1100
b)
1011
c)
1101
d)
1111
2.
What is the hexadecimal equivalent of the binary number 1110?
a)
B
b)
E
c)
C
d)
F
3.
How many bits are there in a nibble?
a)
2
b)
8
c)
4
d)
16
4.
What is a character set?
a)
An encoding for numbers
b)
A collection of characters and symbols represented by binary
c)
A list of programs
d)
Binary digits grouped in 8s
5.
What is the main advantage of using hexadecimal over binary?
a)
It’s easier for computers to understand
b)
It’s easier for humans to read
c)
It stores more data
d)
It takes up more memory
6.
How many different values can be represented with 8 bits?
a)
128
b)
256
c)
512
d)
64
7.
Which of the following best describes how sound is stored digitally?
a)
As hexadecimal samples
b)
As binary samples at regular intervals
c)
As ASCII codes
d)
As pixel values
8.
What is meant by “bit depth” in images?
a)
Image resolution
b)
Number of bits used per pixel
c)
Height and width of the image
d)
Number of colors
9.
Which of the following units is the largest?
a)
Megabyte
b)
Gigabyte
c)
Kilobyte
d)
Byte
10.
Which flowchart symbol is used for input/output?
a)
Rectangle
b)
Parallelogram
c)
Oval
d)
Diamond
11.
What is a linear search?
a)
Searching a sorted list
b)
Checking each item one by one
c)
Splitting the list into halves
d)
A loop-based algorithm
12.
What type of loop runs an unknown number of times?
a)
FOR
b)
WHILE
c)
REPEAT...UNTIL
d)
DO...WHILE
13.
What is the output of this pseudocode: count ← 0 FOR i ← 1 TO 3 count ← count + i NEXT i OUTPUT count
a)
3
b)
6
c)
9
d)
1
14.
What is the purpose of a trace table?
a)
Store variables
b)
Create flowcharts
c)
Track variable changes during execution
d)
Trace network activity
15.
What is the output of this pseudocode: total ← 0 FOR i ← 1 TO 4 total ← total + 2 NEXT i OUTPUT total
a)
2
b)
4
c)
6
d)
8
16.
What is a benefit of using subroutines?
a)
Makes code longer
b)
Increases code reusability
c)
Adds bugs
d)
Uses more memory
17.
A flowchart shows a decision followed by two processes. What shape represents the processes?
a)
Diamond
b)
Circle
c)
Rectangle
d)
Parallelogram
18.
Which of the following best describes a bubble sort?
a)
Divides list in half
b)
Compares and swaps adjacent items
c)
Inserts data in order
d)
Builds tree structures
19.
What is a variable?
a)
A loop
b)
A decision point
c)
A named memory location
d)
A type of algorithm
20.
What data type is used to store True or False?
a)
Integer
b)
Boolean
c)
String
d)
Float
21.
What is a syntax error?
a)
Mistake in code structure
b)
Error during program execution
c)
Infinite loop
d)
Logical bug
22.
What is the output of: print('8' + '2')
a)
10
b)
82
c)
"82"
d)
Error
23.
What is a function?
a)
A variable
b)
A reusable block of code
c)
A loop
d)
A database query
24.
What is the correct way to declare a variable in Python?
a)
age = 15
b)
int age = 15
c)
var age = 15
d)
age := 15
25.
What would this output: x = 7 print(x * 2)
a)

14.0

b)
14
c)
7
d)
Error
26.
What is an array (or list)?
a)
A loop
b)
A collection of data items
c)
A mathematical function
d)
A string
27.
What type of error occurs if you divide by zero in Python?
a)
Syntax Error
b)
Runtime Error
c)
Logic Error
d)
Trace Error
28.
Which of the following is a Boolean operator?
a)
+
b)
and
c)
=
d)
:
29.
Which of the following is not a data type in databases?
a)
Text
b)
Boolean
c)
Graphic
d)
Number
30.
What does SQL stand for?
a)
System Query Language
b)
Structured Query Language
c)
Software Question Language
d)
Search Query Log
31.
What is a record in a database?
a)
A column of data
b)
A unique key
c)
A single row of fields
d)
A database title
32.
Which SQL keyword is used to extract data?
a)
OPEN
b)
SELECT
c)
FROM
d)
QUERY
33.
What does an XOR gate output when both inputs are the same?
a)
0
b)
1
c)
Error
d)
Depends on logic
34.
Which gate gives a 1 output only if at least one input is 1?
a)
AND
b)
OR
c)
NOT
d)
NAND
35.
What is the output of NOT(1 OR 0)?
a)
0
b)
-1
c)
1
d)
Error
36.
Which combination results in an output of 1 in an AND gate?
a)
1 AND 0
b)
1 AND 1
c)
0 AND 1
d)
0 AND 0
37.

What is the purpose of using a loop in programming?

a)

To repeat a block of code

b)

To define a variable

c)

To store data

d)

To create a function

38.

What is the output of: print(5 * 2)

a)

10

b)

7

c)

Error

d)

12

39.

Which of the following is a valid variable name in Python?

a)

1st_variable

b)

first variable

c)

first-variable

d)

first_variable

40.

What is the output of: print(3 + 5)

a)

Error

b)

8

c)

3.5

d)

35

41.

What is the purpose of a loop in programming?

a)

To handle errors

b)

To create functions

c)

To store data

d)

To repeat a block of code

42.

Which symbol is used for comments in Python?

a)

/*

b)

#

c)

//

43.

What is the result of the expression 5 % 2 in Python?

a)

2

b)

1

c)

0

d)

5

44.

What is the purpose of a database index?

a)

To create backups

b)

To encrypt data

c)

To speed up data retrieval

d)

To store data permanently

45.

What is the output of: print(10 / 2)

a)

Error

b)

10

c)

5

d)

2