wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Bubble sort and Decision Flowchart

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.
  1. 2. Bubble sort put items into a particular order.

a)

True

b)

False

2.

We are sorting the following list in ascending order:
 
1    4    2    9    3   
What does the list look like after one pass of the bubble sort algorithm. 

a)

1 2 4 3 9

b)

1 4 2 3 9

c)

4 2 9 3 1

3.
An algorithm is...
a)
A set of steps to follow in order
b)
When you sort data into the correct order
c)
When you search data for a specific entity
4.
The process keeps repeating until there are no swaps in a pass.
a)

Sequence

b)

Flowchart

c)

Bubble sort

5.

Bubble sort compares pairs of items and swaps them if they are in the wrong order. Each pair in the list is checked.

a)

False

b)

True

6.

______________________ is a pictorial representation of steps.

a)

Algorithm

b)

Flowchart

c)

Connectors

d)

Flowlines

7.

We use this in the beginning of an Algorithm & Flowchart.

a)

Start box

b)

Stop box

c)

Decision

d)

Flowlines

8.
What command is this shape for?
a)
START / STOP
b)
INPUT / OUTPUT
c)
PROCESS
d)
DECISION
9.
What does this shape represent?
a)
Decission
b)
Process
c)
Input/Output
d)
Start/End
10.

In bubble sort, two items are _____________ by the computer.

a)

compared

b)

sorted

c)

inserted

d)

none of the above