DSA Quiz 2

DSA Quiz 2

University

10 Qs

quiz-placeholder

Similar activities

Stacks/Queues

Stacks/Queues

University

9 Qs

DS(Part2)-After

DS(Part2)-After

University

11 Qs

Queues Multiple Choice Question

Queues Multiple Choice Question

University

12 Qs

DS Quiz1

DS Quiz1

University

10 Qs

ROTC Make-up Quiz

ROTC Make-up Quiz

University

15 Qs

special

special

University

10 Qs

Data Structures and Algorithm

Data Structures and Algorithm

University

9 Qs

DS-U2-QUIZ2

DS-U2-QUIZ2

University

12 Qs

DSA Quiz 2

DSA Quiz 2

Assessment

Quiz

Computers

University

Hard

Created by

MANJU VERMA

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ form of access is used to add and remove nodes from a queue

LIFO,Last In First Out

FIFO , First In First Out

Both 1 and 2

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One difference between a queue and a stack is:

Queues require dynamic memory, but stacks do not

Stacks require dynamic memory, but queues do not.

Queues use two ends of the structure; stacks use only one.

Stacks use two ends of the structure, queues use only one

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the characters 'D', 'C', 'B', 'A' are placed in a queue (in that order), and then removed one at a time, in what order will they be removed?

ABCD

ABDC

DCAB

DCBA

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The operator used to find the size of any variable

sizeof

Sizeof

sizeOf

all the above

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_________traversal of Binary search tree gives sorted sequence.

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Attempting to delete a node in __________linked list results in underflow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The expression 4+6/3*2-2+7%3 evaluates to

3

4

6

7

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?