Search Header Logo

QUiz e

Authored by Minhajul Adil

Computers

Professional Development

Used 1+ times

QUiz e
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a linked list implementation of stack, where does the new element get inserted?

At the end of the list

In the middle of the list

depends on the implementation

at the front of the list

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the time complexity of Stack Pop operation if it is implemented using Singly Linked List?

O(1)

O(N^2)

O(N)

O(logN)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Will we be able to do 107 pop operations if we implement Stack using vector?

YES

NO

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the examples are of Queue?

Phitron Support Session Management

Books on a Shelf

Undo Operation

Online Code judging system

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one of the following is not a operation of Queue STL

pop

enqueue

front

size

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

what will be the final stack of following code ?
stack<int> s ;
s.push(10);
s.push(20);
s.push(30) ;

s.pop() ;
s.pop()
s.push(10) ;

10 20 10

10 20 30 10

10 10

Empty

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will occur if we transfer elements from one queue to another in the order they are removed?

Reverse Queue

Sorted Queue

Random Queue

Same Queue

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?