IB CS Chapter 5

IB CS Chapter 5

12th Grade

31 Qs

quiz-placeholder

Similar activities

Algorithms Recap

Algorithms Recap

12th Grade

31 Qs

Data Structures - Lists & Linked Lists

Data Structures - Lists & Linked Lists

12th Grade

26 Qs

Trees, Linked Lists, Stacks and Queues

Trees, Linked Lists, Stacks and Queues

11th Grade - University

30 Qs

Priority Queues and Heapsort

Priority Queues and Heapsort

9th - 12th Grade

27 Qs

Python Libraries & Stack

Python Libraries & Stack

12th Grade

30 Qs

Graphs - Revision

Graphs - Revision

12th Grade

28 Qs

Latihan SAS Gasal Informatika TA 23/24

Latihan SAS Gasal Informatika TA 23/24

9th - 12th Grade

35 Qs

UJI PEMAHAMAN BK & LD

UJI PEMAHAMAN BK & LD

12th Grade

30 Qs

IB CS Chapter 5

IB CS Chapter 5

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Benny William

Used 1+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which principle does a stack follow?
FIFO
LIFO
Random
Priority

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operation adds an element to the top of a stack?
Push
Pop
Peek
Insert

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operation removes the top element of a stack?
Push
Pop
Peek
Delete

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the 'peek' operation do in a stack?
Removes top
Shows top element
Adds to stack
Clears stack

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is NOT a stack application?
Undo in text editor
Function call management
Breadth-first search
Expression evaluation

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

When a stack is empty, which condition occurs?
Underflow
Overflow
Deadlock
Crash

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which principle does a queue follow?
FIFO
LIFO
Random
Circular

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?