DSA Quiz 2

DSA Quiz 2

University

10 Qs

quiz-placeholder

Similar activities

DSA day 4

DSA day 4

University

5 Qs

Pertemuan 1 Struktur Data

Pertemuan 1 Struktur Data

University

10 Qs

DSA AI- B

DSA AI- B

University

15 Qs

Stack

Stack

University

10 Qs

Quizze Buzzie

Quizze Buzzie

University

14 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

Understanding Stacks and Queues

Understanding Stacks and Queues

University

10 Qs

Queues

Queues

11th Grade - Professional Development

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