Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Crash Course Computer Science #14 - Data Structures

Total questions: 15

Worksheet time: 12mins

Name
Class
Date
1.

What did we NOT talk about last episode?

a)

sorting lists

b)

finding the shortest path on a graph

c)

how data from algorithms is stored in memory

d)

an example of what an algorithm looks like

2.

What is an array?

a)

a series of values stored in memory

b)

really big graphs

c)

a list of different functions in RAM

d)

an encoded function within another function

3.

Almost all programming languages start arrays at index _.

Enter a number.

(a)  

4.

​ (a)   are extremely versatile ​ (b)   structures, used all the time, and so there are many ​ (c)   that can handle them to do ​ (d)   things.

Choose from the below words
Arrays
data
functions
useful
values
algorithms
5.

What is a string?

a)

an array of characters

b)

groups of people

c)

a collection of wires

d)

individual microchips, laid side by side

6.

The binary value 0 at the end of a string in RAM that denotes the end is called a...

a)

null character

b)

final character

c)

absolute character

d)

finite character

7.

You can think of a matrix as

a)

an array of arrays

b)

a collection of arrays

c)

a smattering of arrays

d)

arrays in sequence

8.

Groups of variables can be bundled together into a

a)

collection

b)

team

c)

struct

d)

squad

9.

A linked list is...

a)

a flexible data structure that can store many nodes

b)

a node that circles back to another node

c)

an array of structs that can calculate functions

d)

a matrix of structs that can store many arrays

10.

Two examples of more complex data structures that can be built on top of linked lists are

a)

queues

b)

alogrithms

c)

stacks

d)

bits

11.

The post office example shows...

a)

stacks

b)

arrays

c)

queues

d)

stacks

12.

Match the following

queues - (a)  

stacks - (b)  

Choose from the below words
first in, first out
last in, first out
13.

The top of the tree node is a ​ (a)   , and any nodes that hang from other nodes are called ​ (b)   nodes. The top of children nodes are ​ (c)   nodes. If there are no children nodes, it's called a ​ (d)   node.

Choose from the below words
root
children
leaf
seed
parent
branch
14.

A important property of trees in that

a)

there's a one-way path

b)

they are alive

c)

they have leaves

d)

they convert something into something else

15.

Most programming languages come with ____ packed full of ready-made data structures.

a)

algorithms

b)

arrays

c)

libraries

d)

storage