
110011001100110011
Authored by Michi koh
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic operations of a stack?
Add, Remove, Check, and Clear
Insert, Delete, View, and Count
The basic operations of a stack are Push, Pop, Peek, and IsEmpty.
Enqueue, Dequeue, Top, and IsFull
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you implement a stack using an array?
A stack can only be implemented using linked lists.
You can only perform enqueue and dequeue operations on a stack.
A stack requires a fixed size and cannot grow dynamically.
A stack can be implemented using an array by maintaining an index for the top element and providing push, pop, and peek operations.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of push and pop operations in a stack?
O(1)
O(log n)
O(n)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you explain a real-world application of stacks?
Web browser history management.
Data encryption techniques
File storage management
Task scheduling in operating systems
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens during a stack overflow?
A stack overflow occurs when the memory is completely freed up.
A stack overflow happens when the call stack exceeds its allocated size, often due to deep recursion or excessive function calls.
A stack overflow is caused by insufficient disk space.
A stack overflow happens when the CPU runs out of power.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is stack underflow and when does it occur?
Stack underflow occurs when an item is added to a full stack.
Stack underflow is the condition that occurs when trying to pop an item from an empty stack.
Stack underflow is when the stack size exceeds its limit.
Stack underflow happens when the top item is removed from a non-empty stack.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you implement a stack using linked lists?
Implement a stack using a queue to handle push and pop operations.
Create a stack by using a simple variable to hold the top element.
Use an array to store elements and manage operations with a fixed size.
Implement a stack using a linked list by creating a Node class for elements and a Stack class to manage push, pop, and peek operations.
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
35 questions
Placa-Mãe
Quiz
•
Professional Development
40 questions
Foundation_Batch_2025
Quiz
•
Professional Development
40 questions
CFGB La placa base
Quiz
•
Professional Development
40 questions
LPI Linux Essentials (40 Questions)
Quiz
•
Professional Development
40 questions
Data Preprocessing - 1
Quiz
•
Professional Development
43 questions
HTML CSS JS
Quiz
•
Professional Development
35 questions
SR Tema 10. Cuestionario
Quiz
•
Professional Development
39 questions
Creativity and 21 century skills
Quiz
•
University - Professi...
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development