
DSA + System Design - 12
Authored by Puneet Kansal
Computers
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of the push and pop operations in a stack implemented with a linked list?
O(n)
O(log n)
O(1)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given an infix expression: A+B∗(C−D)/E what is the equivalent postfix expression?
AB+CD−∗E/
ABCD−∗+E/
AB+CD∗−E/
ABCD−∗E/+
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many stacks are required to implement a queue using the stack data structure?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not an application of stacks?
Function call management
Infix to postfix conversion
Managing a list of items
Balancing symbols
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a stack implemented using an array, what is the time complexity of accessing the i-th element from the top of the stack?
O(1)
O(i)
O(n-i)
O(n)
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following conditions indicate that a stack is empty?
top == stack.length
top == stack.length - 1
top == 0
top == -1
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In the context of recursion, the stack is used to store which of the following?
Static variables
Global variables
Local variables and return addresses
Register values
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
11 questions
KOE034: Sensors and Instruments
Quiz
•
Professional Development
10 questions
Cloud computing 2
Quiz
•
Professional Development
14 questions
Linux Command Line Quiz
Quiz
•
Professional Development
10 questions
Maintain Files and Folders
Quiz
•
Professional Development
11 questions
EXCEL_1
Quiz
•
Professional Development
10 questions
UDC 2022
Quiz
•
Professional Development
10 questions
Mastering KineMaster
Quiz
•
Professional Development
10 questions
Introducción a Excel
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...