Hackharbor 3.0 Day 3:C

Hackharbor 3.0 Day 3:C

University

17 Qs

quiz-placeholder

Similar activities

DAY 50 WORKSHEET LSGD (EM 2 )

DAY 50 WORKSHEET LSGD (EM 2 )

1st Grade - University

15 Qs

Types of Constrained Motions, Kinematic Chain, Machine, Structur

Types of Constrained Motions, Kinematic Chain, Machine, Structur

University

20 Qs

Day 93-Dec 31-worksheet-Btech-simple bending

Day 93-Dec 31-worksheet-Btech-simple bending

University

15 Qs

Quiz 2 6/8/2025

Quiz 2 6/8/2025

University

20 Qs

Club Excel - Core Member Recruitment 2K25

Club Excel - Core Member Recruitment 2K25

University

20 Qs

Logo Thon Quiz Competition

Logo Thon Quiz Competition

University

20 Qs

Web Development with MERN

Web Development with MERN

University

20 Qs

Book Borrow quiz

Book Borrow quiz

University

15 Qs

Hackharbor 3.0 Day 3:C

Hackharbor 3.0 Day 3:C

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Vivek N

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?