What is the main principle that stacks follow?

Data Structures Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Ms.Keerthana NASC
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sequential Access
Random Access
Last In First Out (LIFO)
First In First Out (FIFO)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation adds an element to the top of a stack?
PUSH
INSERT
POP
PEEK
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ISEMT(S) operation do in a stack?
Returns the top element
Checks if the stack is empty
Checks if the stack is full
Removes the top element
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a stack, what does the TOP(S) operation return?
The bottom element
The top element
The entire stack
The middle element
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which procedure removes the top element from a stack?
INSERT
PEEK
POP
PUSH
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main principle that queues follow?
Random Access
Sequential Access
Last In First Out (LIFO)
First In First Out (FIFO)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation adds an element to the rear of a queue?
FRONT
ADDQ
DELETEQ
ISEMTQ
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Technical Quiz Round 1 Set 1

Quiz
•
12th Grade
15 questions
Data Structures

Quiz
•
12th Grade
20 questions
Stacks and Queues (TextBook MCQs)

Quiz
•
12th Grade
20 questions
Abstract Data Types

Quiz
•
12th Grade
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
20 questions
DATA STRUCTURES

Quiz
•
12th Grade
10 questions
Tes Diagnostik

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University