2.3.2. Algorithms for the Main Data Structures

2.3.2. Algorithms for the Main Data Structures

12th Grade

8 Qs

quiz-placeholder

Similar activities

Berfikir komputasi

Berfikir komputasi

10th - 12th Grade

10 Qs

Programming Basics

Programming Basics

11th - 12th Grade

10 Qs

Queue - Data Structure!

Queue - Data Structure!

12th Grade

11 Qs

DATA STRUCTURES

DATA STRUCTURES

12th Grade

10 Qs

Algoritmo y estructura de datos S10

Algoritmo y estructura de datos S10

12th Grade - University

10 Qs

Berfikir Komputesional

Berfikir Komputesional

9th - 12th Grade

10 Qs

Insert Sort

Insert Sort

12th Grade

10 Qs

kmm8

kmm8

12th Grade

12 Qs

2.3.2. Algorithms for the Main Data Structures

2.3.2. Algorithms for the Main Data Structures

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Richard Smith

Used 14+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are stacks FIFO or FILO?
FILO
FIFO
LIFO
LILO

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function adds an item to a stack?
Push
Pop
Ollie
Nollie

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function removes an element from a stack?
Pop
Kickflip
Backflip
Stick Shift

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the significance of the back pointer in the array representation of a queue?
Holds the location of the next available space in the queue
Last item in the list
Used for backtracking
First item in the list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function returns the item at the front of a queue without removing it?
Peek
Snoop
Glance
Show

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the front pointer in the array representation of a queue?
Points to the space containing the first item in the queue
Points to the last item
Points to open register
Holds the location of the next available<br />space in the queue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value is the top pointer initialised to in the array representation of a stack?
-1
1
0
9B

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are queues FIFO or FILO?
FIFO
FILO
LIFO
LILO