Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer science

Total questions: 30

Worksheet time: 28mins

Name
Class
Date
1.

What is decomposition?

a)

Taking away information that isn't needed

b)

Breaking down a problem into smaller steps

c)

Keeping all the information the same

d)

A set of instructions to solve a problem

2.

What is abstraction?

a)

A set of instructions to solve a problem

b)

Breaking down a problem into smaller steps

c)

Getting rid of inforation that is needed

d)

Getting rid of information that isn't needed

3.

What does the rectangle mean in flowchart?

a)

Start/Stop

b)

Input/Output

c)

Processes

d)

Decisions

4.

What is the parallelogram in flowchart?

a)

Decision

b)

Start/Stop

c)

Input/Output

d)

Process

5.

What is the diamond in flowchart?

a)

Process

b)

Decision

c)

Input/Output

d)

Start/Stop

6.

What is the oval in flowchart?

a)

Input/Output

b)

Process

c)

Decision

d)

Start/Stop

7.

A (a)   search checks each item in a list to see if it's the correct one.

8.

What are the advantages of linear search?

a)

It's very effieicent on

large lists

b)

Items do not need to be in any

order

c)

It always searches every list quickly and

efficiently

d)

Items are automatically in

order

e)

Peforms quick searches on

small lists

9.

What are the disadvantages of linear search?

a)

It's slow on large lists

b)

It doesn't work on a unordered list

c)

It's slow on small lists

10.

What are the advantages of binary search?

a)

It is very efficient on large

lists

b)

Not effected by deleted

elements

c)

The elements don't need to be in

order

d)

It doesn't need to check each

element

11.

What are the disadvantages of binary search?

a)

It only works on unordered

lists

b)

It only works on ordered

lists

c)

It's very slow on large

lists

d)

It takes up lots of Mb of storage

space

12.

What are the advantages of merge sort?

a)

Takes up very little storage space

b)

It's very effective on large lists

c)

It has consistent running time

13.

What are the disadvantages of bubble sort?

a)

It's slow on small lists

b)

Even if the list is in order it still goes through

the whole process

c)

It uses lots of storage space

d)

It's slow on big lists

14.
Convert 128 to binary
a)
10000000
b)
01111110
c)
10000001
d)
11001100
15.
Convert 11111111 to decimal
a)
255
b)
245
c)
235
d)
225
16.
Convert 00010001 to decimal
a)
17
b)
27
c)
37
d)
47
17.
Convert 85 into Hexadecimal
a)
01010101
b)
55
c)
5A
d)
A5
18.

Binary 1111

Hex = ?

a)

14

b)

F

c)

15

d)

E

19.
Convert 00000011 to decimal
a)
192
b)
3
c)
2
d)
6
20.

Which data type is used to store:

TRUE

a)

Boolean

b)

Real

c)

String

d)

Integer

21.

Which data type is used to store:

"&"

a)

Character

b)

String

c)

Integer

d)

Real

22.
This data type is used to store a mixture of letters and numbers and symbols.
a)
String
b)
Character
c)
Boolean
d)
Integer
23.

Which data type is used to store numbers?

a)

Float

b)

Integer

c)

Character

d)

String

24.
Arithmetic Operator
What is a * ?
a)
Addition
b)
Subtraction
c)
Multiplication
d)
Modulo
25.

What does MOD do?

a)

Find a remainder

b)

Multiply

c)

Divide

d)

Finds the amount a number goes into another pefectly

26.

What does <= mean?

a)

Equal to

b)

Less than or equal to

c)

Greater than or equal to

d)

Not equal to

27.

What is 28 div 6

a)

5

b)

4

c)

4.7

d)

6

28.

What is 67 MOD 9

a)

7

b)

7.4

c)

5

d)

4

29.

What is 67 MOD 11

a)

1

b)

6

c)

2

d)

6.32

30.

What is 84/6?

a)

15

b)

14

c)

30

d)

28