Search Header Logo

STACK DATA STRUCTURE

Authored by Glaizess Salisi

Computers

University

Used 9+ times

STACK DATA STRUCTURE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Stacks have LIFO ordering

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

LIFO stands for

List of Outputs

Last in First Out

First in Last Out

None of them

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Act of adding values into a stack is called

Popping

Polling

Pushing

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement(s) about stack data structure is/are NOT correct?

Stack data structure can be implemented using linked list

New node can only be added at the top of the stack

Stack is the FIFO data structure

The last node at the bottom of the stack has a NULL link

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a stack and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

DCAB

ABDC

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

DCAB

ABDC

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Are stacks FIFO or FILO?

FILO
FIFO
LIFO
LILO

Access all questions and much more by creating a free account

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?

Discover more resources for Computers