Stack and Queue

Stack and Queue

Professional Development

30 Qs

quiz-placeholder

Similar activities

Vigilance Awareness Week  2022- Quiz

Vigilance Awareness Week 2022- Quiz

Professional Development

25 Qs

SOAL PRETES PEDAGOGIK-1 oleh Dr. Nana Suraiya, S.pd, M.Pd

SOAL PRETES PEDAGOGIK-1 oleh Dr. Nana Suraiya, S.pd, M.Pd

Professional Development

25 Qs

FCS_Finals Exam

FCS_Finals Exam

Professional Development

25 Qs

CS Quiz Test 2

CS Quiz Test 2

Professional Development

25 Qs

PLC HMI

PLC HMI

11th Grade - Professional Development

25 Qs

QUIZIZZ INEDU

QUIZIZZ INEDU

Professional Development

25 Qs

Kelompok 14

Kelompok 14

Professional Development

25 Qs

SJFC Euro 2020 Quiz

SJFC Euro 2020 Quiz

KG - Professional Development

31 Qs

Stack and Queue

Stack and Queue

Assessment

Quiz

Computers, Other

Professional Development

Medium

Created by

Anshul Oza

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Choose correct output for the following sequence of operations

push(5)

push(8)

pop

push(2)

push(5)

pop

pop

pop

push(1)

pop

8 5 2 5 1

8 5 5 2 1

8 2 5 5 1

8 1 2 5 5

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Only top element can be accessed in stack

TRUE

FALSE

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider the following operation performed on a stack of size 5.


Push(1);

Pop();

Push(2);

Push(3);

Pop();

Push(4);

Pop();

Pop();

Push(5);


After the completion of all operation, the no of element present on stack are

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

DCAB

ABDC

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

If the elements “A”, “B”, “D” and “C” are placed in a stack and are deleted one at a time, in what order will they be removed?

ABCD

ABDC

CDBA

DCAB

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In linked list implementation of a queue, the important condition for a queue to be empty is?

FRONT is null

REAR is null

LINK is empty

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Are stacks FIFO or FILO?
FILO
FIFO
LIFO
LILO

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?