
DSA Quiz 2
Authored by MANJU VERMA
Computers
University
Used 1+ times

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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
UNIT-2 QUEUE
Quiz
•
University
11 questions
Distributed_Systems_Quiz_One
Quiz
•
University
15 questions
Quiz Struktur Data
Quiz
•
University
10 questions
CPU Scheduling Introduction Quiz
Quiz
•
University
15 questions
TechWizard Trivia
Quiz
•
University
10 questions
OS_unit1
Quiz
•
University
12 questions
Operators in C
Quiz
•
University
10 questions
COMPUTER BASICS
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade