DS-UNIT-2-Stack Queue
Quiz
•
Computers
•
University
•
Hard
Umesh Thoriya
Used 4+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
In a stack, if a user tries to remove an element from an empty stack it is called _________
Underflow
Empty collection
Overflow
Garbage Collection
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Assume that the operators +, -, × are left associative and ^ is right associative. The order of precedence (from highest to lowest) is ^, x , +, -. The postfix expression corresponding to the infix expression a + b × c - d ^ e ^ f is
abc × + def ^ ^ -
abc × + de ^ f ^ -
ab + c × d - e ^ f ^
+ a × bc ^ ^ def
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
The result evaluating the postfix expression 10 5 + 60 6 / * 8 - is
284
213
142
71
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
If the elements "A", "B", "C" and "D" are placed in a queue and are deleted one at a time, in what order will they be removed?
ABCD
DCBA
DCAB
ABDC
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
A normal queue, if implemented using an array of size MAX_SIZE, gets full when?
Rear = MAX_SIZE - 1
Front = (rear + 1)mod MAX_SIZE
Front = rear + 1
Rear = front
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How many stacks are needed to implement a queue. Consider the situation where no other data structure like arrays, linked list is available to you.
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following is NOT a common operation in a queue data structure?
Enqueue
Dequeue
Peek
Shuffle
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
45 questions
Нуреке 1.2
Quiz
•
University
50 questions
SUMATIF AKHIR SEMESTER KELAS VII
Quiz
•
7th Grade - University
53 questions
System Analysis and Design (Prelim Exam)
Quiz
•
University
53 questions
Modules 1-2
Quiz
•
University
50 questions
ict 1-50
Quiz
•
University
50 questions
PENGUKURAN DAN PENYAMBUNGAN FIBER OPTIK
Quiz
•
University
50 questions
ICT 151-200
Quiz
•
University
50 questions
kuis Jaringan Internet
Quiz
•
9th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
