Search Header Logo

Data Structures Quiz

Authored by Lea Morales

Instructional Technology

University

Used 1+ times

Data Structures Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a stack, which of the following is the correct behavior?

First-In, First-Out (FIFO)

First-In, Last-Out (FILO)

Last-In, First-Out (LIFO)

Last-In, Last-Out (LILO)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main operation used to remove an element from the front of a queue?

Push

Pop

Enqueue

Dequeue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary tree, what is a node that has no children called?

Root node

Parent node

Leaf node

Sibling node

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an application of stacks?

Serving print jobs in a printer queue

Finding palindromes

Handling CPU scheduling

Disk management

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

In a queue, the first element added is the first one to be removed. This ordering is known as the __________ principle.

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The root node in a tree has no __________.

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The method used to add an element to a stack in Python is __________.

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?