View as PDF

Saskatchewan Computer Science 30 · Unit A

Data Structures — Practice Test

Saskatchewan Computer Science 30 • 25 questions

This practice test was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

1

An ordered collection that can grow and shrink is called

Understand It with Pulse
2

A stack removes items in this order

Understand It with Pulse
3

An array holds the values [10, 13, 16, 19, 22, 25]. The value at index 2 is ____

Understand It with Pulse
4

The tree diagram shown represents a data structure. The number of leaves in the tree is

Diagram for Question 4
Understand It with Pulse
5

A collection where the last item added is the first removed is called

Understand It with Pulse
6

A queue removes items in this order

Understand It with Pulse
7

An array holds the values [10, 13, 16, 19, 22]. The value at index 3 is ____

Understand It with Pulse
8

The tree shown has this many nodes in total

Understand It with Pulse
9

A collection where the first item added is the first removed is called

Understand It with Pulse
10

In a binary tree, each node has at most

Understand It with Pulse
11

An array holds the values [10, 13, 16, 19, 22, 25, 28]. The value at index 4 is ____

Understand It with Pulse
12

A collection where each item links to the next item is called

Understand It with Pulse
13

A hash table is useful mainly for

Understand It with Pulse
14

In a list of four scores, the third score is found at index

Understand It with Pulse
15

A branching structure with a root and leaves is called

Understand It with Pulse
16

A linked list differs from an array because its items are

Understand It with Pulse
17

A stack is a data structure where the first item removed is the

Understand It with Pulse
18

A tree where each node has at most two children is called

Understand It with Pulse
19

The root of a tree is its

Understand It with Pulse
20

People join a line at a ticket booth in this order: Ana, Ben, Cid. Who is served first?

Understand It with Pulse
21

One item in a linked structure or tree is called

Understand It with Pulse
22

A record that stores a student name, grade and age together is best called a

Understand It with Pulse
23

A fixed size ordered collection of values is called

Understand It with Pulse
24

Searching a sorted list by repeatedly halving it is called

Understand It with Pulse
25

A structure that finds values quickly using a hash function is called

Understand It with Pulse