QuizFinLesson7

QuizFinLesson7

University

35 Qs

quiz-placeholder

Similar activities

Data Structure

Data Structure

University

35 Qs

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Trees, Linked Lists, Stacks and Queues

Trees, Linked Lists, Stacks and Queues

11th Grade - University

30 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

40 Qs

DSA Quiz

DSA Quiz

University

40 Qs

Asistensi1-SD

Asistensi1-SD

University

30 Qs

Quiz in Stacks & Queue [Pre-Test]

Quiz in Stacks & Queue [Pre-Test]

10th Grade - University

35 Qs

2025190602

2025190602

University

40 Qs

QuizFinLesson7

QuizFinLesson7

Assessment

Quiz

Computers

University

Medium

Created by

Armilyn Martinez

Used 1+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does LIFO stand for?

Last In First Out

Last In Fixed Out

Linear Input Fixed Output

Linear Index First Output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation removes an element from the front of a queue?

Push

Pop

Enqueue

Dequeue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a stack, which operation checks if the stack is full?

isEmpty()

isFull()

size()

top()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What principle is used by queues?

FILO

LIFO

FIFO

Random

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a valid operation on a queue?

Enqueue

Dequeue

Push

Peek

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is most suitable for implementing an undo feature?

Stack

Queue

Array

Heap

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of error occurs when you try to remove an element from an empty queue?

Overflow

Underflow

NullPointerException

OutOfMemory

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?