Hackharbor 3.0 Day 3:C

Hackharbor 3.0 Day 3:C

University

17 Qs

quiz-placeholder

Similar activities

8085 MICROPROCESSOR

8085 MICROPROCESSOR

University

16 Qs

Computer Architecture Quiz - 1

Computer Architecture Quiz - 1

University

15 Qs

Lesson 4 Angular Motion

Lesson 4 Angular Motion

12th Grade - University

13 Qs

Stability

Stability

University

18 Qs

02: Introduction to Industrial Robots

02: Introduction to Industrial Robots

University

20 Qs

CYBERSYNAPSE

CYBERSYNAPSE

University

15 Qs

Velocity Measurement

Velocity Measurement

University

20 Qs

quiz3_07/08/2025

quiz3_07/08/2025

University

20 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?