Data structures 2: Stacks and Queues

Data structures 2: Stacks and Queues

11th Grade

15 Qs

quiz-placeholder

Similar activities

Kod Arahan

Kod Arahan

9th - 11th Grade

16 Qs

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

9th - 12th Grade

20 Qs

Data Manipulation IGCSE (Introduction to database) Grade 10

Data Manipulation IGCSE (Introduction to database) Grade 10

10th - 11th Grade

20 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Yr 11 ICT quiz 1 Networks & Security

Yr 11 ICT quiz 1 Networks & Security

10th - 11th Grade

20 Qs

CIW

CIW

9th - 12th Grade

15 Qs

Primary storage

Primary storage

9th - 11th Grade

20 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

Data structures 2: Stacks and Queues

Data structures 2: Stacks and Queues

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Jerry Jackson Bent

Used 323+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a stack?

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

Media Image

If you carry out a pop operation on this stack what will you be left with?

Media Image
Media Image
Media Image

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?