
DSA Quiz 2

Quiz
•
Computers
•
University
•
Hard
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
Similar Resources on Wayground
15 questions
C++, HTML, and Data Structures Challenge

Quiz
•
University
15 questions
Mastering Data Structures

Quiz
•
University
10 questions
Antrean dan Tumpukan (BK) XA

Quiz
•
10th Grade - University
12 questions
Quiz 2 - Stack

Quiz
•
University
11 questions
DSA Diaries 2.0

Quiz
•
University
6 questions
i cs 28.2.23

Quiz
•
University
9 questions
Stacks/Queues

Quiz
•
University
12 questions
Data Structures

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University