Search Header Logo

Domande sulle Strutture Dati

Authored by annamaria laselva

others

5th Grade

Domande sulle Strutture Dati
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a stack?

A data structure that follows the FIFO principle

A data structure that follows the LIFO principle (correct)

A collection of unordered elements

A type of two-dimensional array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation removes the most recent element from a stack?

Enqueue

Dequeue

Push

Pop (correct)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a queue, which operation adds an element?

Pop

Push

Enqueue (correct)

Dequeue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true regarding vectors?

Vectors can only contain integer numbers.

Vectors have a fixed size once created. (correct)

Vectors can be used to store data of different types.

Vectors cannot be dynamically sized.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best data structure to implement an "undo" function?

Queue

Array

Linked list

Stack (correct)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations is typical of a queue?

Push

Pop

Enqueue (correct)

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a vector has a size of 10, how many elements can it contain at most?

5

10 (correct)

11

It has no limits

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?