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
Access all questions and much more by creating a free account
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
20 questions
Quiz on Design of steel structural elements
Quiz
•
University
15 questions
Stream Flow Measurement Quiz
Quiz
•
12th Grade - University
13 questions
prueba MRU
Quiz
•
11th Grade - University
13 questions
Real-Time Operating Systems Quiz 1
Quiz
•
University
15 questions
Exploring Software Engineering Concepts
Quiz
•
University
16 questions
CE335 : Topic 6 - Sanitary Drainage System
Quiz
•
University
20 questions
Session5
Quiz
•
University
20 questions
ARQ2_quiz_1-25
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
