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

ULANGAN SUMATIF

ULANGAN SUMATIF

12th Grade

10 Qs

Pretest Tumpukan dan Antrian

Pretest Tumpukan dan Antrian

9th - 12th Grade

10 Qs

Chapter 5 Study Guide

Chapter 5 Study Guide

12th Grade

11 Qs

Data Structures

Data Structures

12th Grade

11 Qs

Data Structures & Algorithms

Data Structures & Algorithms

12th Grade

10 Qs

Data Structure

Data Structure

12th Grade

5 Qs

Analisis Struktur Data

Analisis Struktur Data

10th Grade - University

12 Qs

Array & Queue

Array & Queue

11th - 12th Grade

9 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