What is a stack?
Data structures 2: Stacks and Queues

Quiz
•
Computers
•
11th Grade
•
Medium
Jerry Jackson Bent
Used 314+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A data structure that adds the last added data item.
A data structure that increases data items first.
Data structure that removes the last added data item first
A data structure that multiplies data items
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What two operations do stacks require?
Push
Draw
Stretch
Drag
Pop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operation adds a new item onto the top of the stack?
Pull
Push
Add
Multiply
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operation removes the item from the top of the stack
Pull
Add
Pop
Subtract
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If you have a stack containing 'A' 'D' 'G' . What will happen if you push 'C' into the stack?
'C' Will be added on top of the stack
'C' Will be added from the bottom of the stack
'C' Will be removed from the stack
'C' Will not be added to the stack
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A stack containing 'Dog' 'Cat' & 'Rat' . What will happen if you carry out a pop operation on the stack ?
Noting
Cat will be removed
Dog will be removed
Rat will be removed
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If you carry out a pop operation on this stack what will you be left with?
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Berpikir Komputasional Informatika X

Quiz
•
9th - 12th Grade
20 questions
Data Structures & Algorithm

Quiz
•
11th Grade
16 questions
SLR4 | Data Structures with C# Examples

Quiz
•
11th Grade
20 questions
Data Structures & Types

Quiz
•
11th Grade
17 questions
Stacks

Quiz
•
KG - Professional Dev...
20 questions
Struktur Data

Quiz
•
9th - 12th Grade
10 questions
Tes Diagnostik

Quiz
•
9th - 12th Grade
12 questions
Analisis Struktur Data

Quiz
•
10th Grade - University
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
20 questions
Types of Credit

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

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