wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSF U2 Algorithms p1

Total questions: 10

Worksheet time: 7mins

Name
Class
Date
1.

Algorithms must

a)

be step by step

b)

be correct

c)

be doable

d)

be precisise

2.

Algorithms are NOT analyzed for

a)

correctness

b)

efficiency

c)

speed on a computer

d)

clarity

3.

Binary is a number system where

a)

the column values go up by a factor of 2

b)

has two symbols - 0 and 1

c)

can only represent certain numbers

d)

is the simplest number system

4.

How bits are in a byte?

a)

4

b)

8

c)

16

d)

32

5.

The binary number 10110 in decimal is

(a)  

6.

The Octal number 22 in decimal is

(a)  

7.

Convert the Hexadecimal number 02B3 to binary number with 16 bits

(a)  

8.

If you use Linear search to find something in a set of 10 items and do NOT find it, it will take

a)

5 comparisons

b)

it depends on the data

c)

10 comparisons

d)

8 comparisons

9.

In which search algorithm below MUST the data be sorted?

a)

Linear Search

b)

Binary Search

c)

Hashing

10.

Which sort algorithm is considered O(n2) efficient?

a)

Selection

b)

Quicksort

c)

Mergesort