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

Sumatif Akhir Informatika

Sumatif Akhir Informatika

1st Grade - University

10 Qs

PT101 - Mobile and Game Platform

PT101 - Mobile and Game Platform

11th Grade - University

12 Qs

Untitled Quiz

Untitled Quiz

12th Grade

9 Qs

Algoritmo y Estructura de datos S12

Algoritmo y Estructura de datos S12

12th Grade - University

10 Qs

Berfikir komputasi

Berfikir komputasi

10th - 12th Grade

10 Qs

Queues and Stacks

Queues and Stacks

12th Grade

10 Qs

Programming Basics

Programming Basics

11th - 12th Grade

10 Qs

هياكل البيانات_علوم الحاسب_المكدس والطابور_12

هياكل البيانات_علوم الحاسب_المكدس والطابور_12

12th Grade

8 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