Hackharbor 3.0 Day 3:C
Quiz
•
Engineering
•
University
•
Practice Problem
•
Hard
Vivek N
Used 7+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of pop() when the stack is empty?
-1
Segmentation Fault
"Stack Underflow"
Garbage Value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If your crush was a queue, what would you be?
Rear
Front
Stuck waiting
Dequeued
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why reset front and rear to -1 after dequeue in a queue?
To confuse beginners
Free up memory
Because queue is now empty
Because that’s what seniors do
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation follows LIFO?
enqueue
dequeue
push
traverse
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In circular queue, how to access the next position of rear?
rear + 1
(rear + 1) / MAX
(rear + 1) % MAX
rear++
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is the queue empty?
front > rear
rear == -1
front == rear
front == rear + 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a queue, which pointer moves forward when dequeue is called?
rear
top
front
NULL
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
22 questions
MCA Quiz 1
Quiz
•
University
15 questions
CN-QUIZ-1
Quiz
•
University
19 questions
Fluids Final Exam Review
Quiz
•
University
20 questions
Quiz Elemen Mesin-2
Quiz
•
University
20 questions
Understanding Life Cycle Assessment
Quiz
•
University
20 questions
TAFL Unit 5 Quiz
Quiz
•
University
17 questions
Center Marks
Quiz
•
8th Grade - University
15 questions
DAY 36_KWA_MENSURATION
Quiz
•
1st Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Engineering
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
