
STACK
Authored by Sujitha Prajith
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is correct with respect to stack?
It is a non-linear data structure
Stack is a LIFO data structure
All the above
None of the Above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose correct output for the following sequence of operations
push(5)
push(8)
pop
push(2)
push(5)
pop
pop
pop
push(1)
pop
8 5 2 5 1
8 5 5 2 1
8 2 5 5 1
8 1 2 5 5
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Stack can be implemented using _________ and ________ ?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Only top element can be accessed in stack
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
LIFO stands for
List of Outputs
Last in First Out
First in Last Out
None of them
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Act of adding values into a stack is called
Popping
Polling
Pushing
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following operation performed on a stack of size 5.
Push(1);
Pop();
Push(2);
Push(3);
Pop();
Push(4);
Pop();
Pop();
Push(5);
After the completion of all operation, the no of element present on stack are
1
2
3
4
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
14 questions
Arrays, lists, tuples, stacks and queues
Quiz
•
11th - 12th Grade
12 questions
Електронні таблиці Exel
Quiz
•
1st - 12th Grade
10 questions
KIỂU DỮ LIỆU CÓ CẤU TRÚC
Quiz
•
11th Grade - University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
14 questions
C++ - Loops and Random Numbers
Quiz
•
9th - 12th Grade
9 questions
Java For Loops
Quiz
•
9th - 12th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade