
MIDTERM EXAM - DSA - C
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
PPSD Arts
Used 1+ times
FREE Resource
Enhance your content in a minute
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures works on the principle of Last In, First Out (LIFO)?
Queue
Stack
Linked List
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is used to remove an element from the stack?
Pop
Push
Peek
Delete
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation returns the top element of a stack without removing it?
Pop
Peek
Push
Display
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you try to pop an element from an empty stack?
Stack Overflow
Stack Underflow
Null Exception
Invalid Operation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can be used to implement a stack?
Arrays
Linked Lists
Both A and B
Queues
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the content of the stack after performing: push(1), push(2), push(3), pop(), push(4)?
1, 2, 3
1, 2, 4
1, 3, 4
2, 3, 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which application uses stacks?
Recursion
Expression evaluation
Undo/Redo feature in editors
All of the above
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
Long Quiz | INFOT 1 – Integrative Programming and Technologies
Quiz
•
University
35 questions
Photography Quiz
Quiz
•
University
35 questions
Freshers Day Quiz
Quiz
•
University
30 questions
5_sem
Quiz
•
University
30 questions
Memory Management Quiz
Quiz
•
University
30 questions
DSA Midterm Exam Set 3 Part 1
Quiz
•
University
39 questions
Chapter 12 Designing Effective Input
Quiz
•
University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
