2.3.1 Stacks - Do Now

2.3.1 Stacks - Do Now

12th Grade

5 Qs

quiz-placeholder

Similar activities

هياكل البيانات_المكدس _علوم الحاسب_12

هياكل البيانات_المكدس _علوم الحاسب_12

12th Grade

10 Qs

List Operations

List Operations

9th - 12th Grade

10 Qs

HTML quiz 1

HTML quiz 1

7th - 12th Grade

10 Qs

Heap Sort in Java

Heap Sort in Java

12th Grade

10 Qs

Unit 6: Loops and Traversals Test

Unit 6: Loops and Traversals Test

9th - 12th Grade

9 Qs

Lists and Loops in Computer Science

Lists and Loops in Computer Science

9th - 12th Grade

9 Qs

Code.org AP CSP Lists

Code.org AP CSP Lists

9th - 12th Grade

9 Qs

Recursion in Java (AP Computer Science A)

Recursion in Java (AP Computer Science A)

9th - 12th Grade

10 Qs

2.3.1 Stacks - Do Now

2.3.1 Stacks - Do Now

Assessment

Quiz

Computers

12th Grade

Easy

Created by

RHSC Computing

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does LIFO stand for in the context of stacks?

Least Important First Out

Least Input First Output

Last In First Out

Last In Final Out

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What method is used to insert an element into a stack?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation does the 'pop' method perform in a stack?

Inserts an element at the beginning

Removes the last element

Removes the first element

Checks the first element

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For what purposes are stacks used in computing?

Internet browsing and email sending

Data encryption and decryption

Sorting and searching algorithms

Backtracking and compile-time memory management

5.

DRAG AND DROP QUESTION

1 min • 1 pt

​ (a)  

This is where an item is ​ (b)   to the top of the stack. If the stack is full and the item cannot be added then an error is raised.

​ (c)  

This is where an item is removed from the top of the stack and returned to the program for further processing. If the stack is already empty then an ​ (d)   is raised.

​ (e)  

This is where the value contained at the top of the stack is returned to the program without removing the item from the stack. If the stack is empty then an error is raised.

Push
added
Pop
error
Peek
Insert
Delete
Retrieve
Overflow
Underflow

Discover more resources for Computers