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

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
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 Quizizz
14 questions
Data Structure

Quiz
•
University
15 questions
ROTC Make-up Quiz

Quiz
•
University
9 questions
Data Structures and Algorithm

Quiz
•
University
15 questions
AlgoMania Quiz

Quiz
•
University
15 questions
Stack??

Quiz
•
University
15 questions
DS Module 3 Linked List

Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
15 questions
Stack

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade