DAY-3 DSA BOOTCAMP

DAY-3 DSA BOOTCAMP

University

10 Qs

quiz-placeholder

Similar activities

Spreadsheet Starter

Spreadsheet Starter

7th Grade - University

12 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Computer Network Fun Review 5 - Data Link Layer

Computer Network Fun Review 5 - Data Link Layer

University

10 Qs

PYTHON LOOPING

PYTHON LOOPING

University

10 Qs

DAY-3 DSA BOOTCAMP

DAY-3 DSA BOOTCAMP

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

ATHARVA GALNE

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which operation is used to add an element to a Stack?

Enqueue

Dequeue

Push

Pop

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens when you try to pop an element from an empty Stack?

It returns null

It returns the top element 

It causes an underflow 

It causes an overflow

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the time complexity of a push operation in a Stack?

1

n

n logn

n^2

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following applications may use a Stack?

Recursion 

Parsing

Browser history

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Removes the last from Q

Keeps the Q same as it was before the call

Makes Q empty

Reverses the Q

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following operations on a queue data structure has a time complexity of O(1)? 
A] Enqueue

B] Dequeue

C] Peek.

D] Clear.

Only A

A and B only

All of the Above

Only B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about linked list implementation of queue?

A] In push operation, if new nodes are inserted at the beginning of linked list, then in pop operation, nodes must be removed from end.

B] In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from the beginning.

A only

B only

Both of the above
A and B

None of the above

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?