What is the value of the postfix expression 6 3 2 4 + – *?

Data Structures Through C C-21 (UNIT 5 & 6)

Quiz
•
Computers
•
12th Grade
•
Hard
Battala Krishna
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Struktur Data

Quiz
•
9th - 12th Grade
20 questions
soal berpikir komputasional kelas 8 gasal

Quiz
•
8th Grade - University
20 questions
js DOM

Quiz
•
12th Grade - Professi...
20 questions
Alevel Part 1 Linked lists

Quiz
•
12th Grade
15 questions
Berpikir Komputasional Informatika X

Quiz
•
9th - 12th Grade
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
15 questions
Assesmen Kognitif (XI)

Quiz
•
11th Grade - University
20 questions
19.1 Algorithms Cambridge iA 9618

Quiz
•
12th Grade
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University