
Data Structures Through C C-21 (UNIT 5 & 6)
Authored by Battala Krishna
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the value of the postfix expression 6 3 2 4 + – *?
1
30
-9
-18
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Here is an infix expression: 4 + 3*(6*3-12). Suppose that we are using the usual stack algorithm to convert the expression from infix to postfix notation. The maximum number of symbols that will appear on the stack AT ONE TIME during the conversion of this expression?
4
3
2
1
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does ‘stack underflow’ refer to?
accessing item from an undefined stack
adding items to a full stack
removing items from an empty stack
index out of bounds exception
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following array element will return the top-of-the-stack-element for a stack of size N elements?
S[N-1]
S[N]
S[N-2]
S[N+1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Convert the following infix expressions into its equivalent postfix expressions.
(A + B ⋀D)/(E – F)+G
(A B D ⋀ + E F – / G +)
(A B D +⋀ E F – / G +)
(A B D ⋀ + E F/- G +)
(A B D E F + ⋀ / – G +)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A data structure in which elements can be inserted or deleted at/from both ends but not in the middle is?
Queue
Circular queue
Deque
Priority queue
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the need for a circular queue?
effective usage of memory
easier computations
to delete elements based on priority
implement LIFO principle in queues
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
21 questions
Data Structures
Quiz
•
9th - 12th Grade
23 questions
Intro to Algorithms
Quiz
•
9th - 12th Grade
20 questions
Twisted Pair Cables
Quiz
•
11th - 12th Grade
15 questions
Computer Science ALevel
Quiz
•
10th - 12th Grade
15 questions
Databases
Quiz
•
10th Grade - University
15 questions
AS Computing: Data Structures
Quiz
•
10th Grade - University
15 questions
Social Media Basics for Educators
Quiz
•
9th Grade - Professio...
15 questions
Code.org Unit 2 - The Internet Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade