wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Retrieval

Total questions: 59

Worksheet time: 17mins

Name
Class
Date
1.
In Object Oriented Programming (OOP), an object is defined using what?
a)
Attribute
b)
Class
c)
Method
d)
Program
2.
Functions defined inside the body of an object are known as what?
a)
Attributes
b)
Classes
c)
Methods
d)
Programs
3.
Object-oriented programming uses ...
a)
objects and methods, procedural programming uses classes &top-down design
b)
classes and methods, procedural programming uses procedures and objects.
c)
classes and objects, procedural programming uses methods and inheritance
d)
classes&inheritance, procedural programming uses procedures&top-down design
4.
"Computers only understand instructions and data that are in binary form". This statement is:
a)
True
b)
False
5.
An error in the code e.g. a misspelling is known as
a)
Validation error
b)
Syntax error
c)
Semantic error
d)
Lexical error
6.
The original program code written by the programmer is known as
a)
Machine code
b)
Assembly code
c)
Source code
d)
Program code
7.
What does the I in IDE stand for?
a)
Information
b)
Inbetween
c)
Integrated
d)
Iteration
8.
Hides an object's data so that it can only be accessed by methods within the object
a)
Inclusion
b)
Inheritance
c)
Properties
d)
Encapsulation
9.
The behaviours that an object can perform
a)
Properties
b)
Procedural
c)
Classes
d)
Methods
10.
When the IDE completes the function or variable for you to save time writing code
a)
Syntax Check
b)
Bracket matching
c)
Clipboard
d)
Intellisense
11.
TRUE is a valid value for Boolean data
a)
True
b)
False
12.
165 can be stored as a Boolean
a)
True
b)
False
13.
165 can be stored as an integer
a)
True
b)
False
14.
165.01 can be stored as an integer
a)
True
b)
False
15.
165.01 can be stored as a string
a)
True
b)
False
16.
AND is a valid value for Boolean data
a)
True
b)
False
17.
Floats and doubles are types of integer
a)
True
b)
False
18.
Strings can contain any type of character
a)
True
b)
False
19.
Character data cannot contain numbers
a)
True
b)
False
20.
A byte is eight bits
a)
True
b)
False
21.
Using 2's complement convert the binary number 1111
a)
0
b)
1
c)
-1
d)
-15
22.
If you convert real data into an integer, everything after the decimal point will be discarded
a)
True
b)
False
23.
What is computational thinking (CT)?
a)
Programming
b)
Solving problems, presenting solutions that computers&humans can understand
c)
A computer thinking like a human
d)
Being really smart
24.
What element of computational thinking involves breaking down a problem into smaller parts?
a)
Decomposition
b)
Pattern recognition
c)
Abstraction
25.
What element of computational thinking involves identifying commonalities among and within problems?
a)
Decomposition
b)
Pattern recognition
c)
Abstraction
26.
What is an algorithm?
a)
A sequence of instructions carried out to solve a problem or perform a task
b)
A diagram that represents computational thinking
c)
A system that removes errors in binary
d)
All of these
27.
Which of the following options IS an example of a searching algorithm?
a)
Binary search
b)
Byte search
c)
Line Search
d)
Bubble search
28.
Which of the following options is NOT an example of a sorting algorithm?
a)
Bubble sort
b)
Insertion sort
c)
Ziggy sort
29.
Which of the examples below is NOT an element of computational thinking?
a)
Pattern Recognition
b)
Abstraction
c)
Decomposition
d)
Interaction
30.
How do users interact with a command line interface?
a)
By clicking images
b)
By choosing from menu options
c)
By text
31.
Name the yellow shape in the below diagram
a)
input
b)
process
c)
decision
d)
data flow
32.
Selection is performing a series of operations one after the other.
a)
True
b)
False
33.
Decising to put on a coat if you are cold is an example of iteraction
a)
True
b)
False
34.
Counting to ten is an example of sequencing
a)
True
b)
False
35.
When doing a linear search data does not need to be sorted
a)
True
b)
False
36.
What would you not find in a trace table?
a)
line numbers
b)
variables
c)
outputs
d)
data types
37.
What does GUI stand for?
a)
graphical user interface
b)
graphical using interface
c)
graphic user interface
d)
graphy using interfacy
38.
What is the number system that computers use?
a)
Bytes
b)
Binary
c)
Decimal
d)
Hexadecimal
39.
What kind of data contains true and false values?
a)
String
b)
Boolean
c)
Character
d)
Text
40.
What numbers are used in the base-2 system?
a)
1 and 2
b)
1 to 9
c)
0 and 1
d)
0 to 9
41.
What is the smallest unit of data in computing?
a)
Bit
b)
Nibble
c)
Byte
d)
Munch
42.
In a base-2 system, each place value increases by what?
a)
1
b)
2
c)
Power of 2
d)
Power of 16
43.
What is one byte equivalent to?
a)
0 bits
b)
1 bit
c)
4 bits
d)
8 bits
44.
The letter F in hexadecimal represents which number?
a)
1 0
b)
13
c)
11
d)
15
45.
Which of the examples below would produce an overflow error?
a)
When the computer runs out of storage space
b)
When the total of a binary sum exceeds the capacity of the CPU
c)
When the computer does not understand an instruction
d)
All of these
46.
What is the largest number that can be stored in an 8-bit processor
a)
8
b)
16
c)
6k
d)
255
47.
Name the logic gate.
a)
AND
b)
OR
c)
NOT
d)
NOR
48.
Name the logic gate
a)
AND
b)
OR
c)
NOT
d)
NAND
49.
Name the logic gate
a)
AND
b)
OR
c)
NOT
d)
XOR
50.
Name the logic gate.
a)
AND
b)
OR
c)
NOT
d)
NOR
51.
Name the logic gate.
a)
AND
b)
OR
c)
NOT
d)
NOR
52.
Name the logic gate
a)
AND
b)
OR
c)
NOT
d)
NAND
53.
In the Central processing unit (CPU) logic gates are found in?
a)
Arithmetic logic unit (ALU)
b)
control unit
c)
registers
d)
brain
54.
Numbers expressed in base 2.
a)
binary
b)
hexadecimal
c)
decimal (denary)
d)
overflow
55.
Numbers expressed in base 16.
a)
binary
b)
hexadecimal
c)
decimal (denary)
d)
overflow
56.
Numbers expressed in base 10.
a)
binary
b)
hexadecimal
c)
decimal (denary)
d)
overflow
57.
An error caused by attempting to store a number that's too big for the number of bits available.
a)
binary
b)
hexadecimal
c)
decimal (denary)
d)
overflow
58.
The complete collection of characters that can been coded in a particular coding system.
a)
ASCII
b)
Character set
c)
Unicode
d)
binary
59.
The smallest addressable unit of data in a computer.Usually 8 bits.
a)
bit
b)
byte
c)
binary
d)
denary