
Implementation of Stacks and Queues

Quiz
•
Education, Computers
•
12th Grade - University
•
Medium
Yomna Elkholy
Used 4+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of inserting an element in a stack is called ____________
Create
Push
Evaluation
Pop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of removing an element from a stack is called ____________
Create
Push
Evaluation
Pop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pushing an element into a stack that already contains five elements and astack size of 5, results in a stack
Overflow
Crash
Underflow
User flow
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Entries in a stack are “ordered”. What is the meaning of this statement?
A collection of stacks is sortable
Stack entries may be compared using the ‘<’ operation
The entries are stored in a linked list
There is a sequential entry that is one by one
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following applications does not use a stack?
A parentheses balancing program
Tracking of local variables at run time
Compiler Syntax Analyzer
Data Transfer between two asynchronous process
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the postfix expression 6 3 2 4 + – *:
1
40
74
-18
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The postfix form of the expression (A+ B)*(C*D- E)*F / G is?
AB+ CD*E – FG /**
AB + CD* E – F **G /
AB + CD* E – *F *G /
AB + CDE* – *F *G /
Answer explanation
Best explanation: (((A+ B)*(C*D- E)*F) / G) is converted to postfix expression as
(AB+(*(C*D- E)*F )/ G)
(AB+CD*E-*F) / G
(AB+CD*E-*F G/).
Thus Postfix expression is AB+CDE-*F*G/
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DATA STRUCTURES

Quiz
•
12th Grade
20 questions
Technical Quiz Round 1 Set 1

Quiz
•
12th Grade
20 questions
Stacks and Queues (TextBook MCQs)

Quiz
•
12th Grade
15 questions
Stack

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

Quiz
•
12th Grade - University
15 questions
ROTC Make-up Quiz

Quiz
•
University
20 questions
data structures1

Quiz
•
University
15 questions
Pemrograman Berorientasi Objek PAS GANJIL XII RPL

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Education
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade