Domande sulle Strutture Dati

Domande sulle Strutture Dati

5th Grade

10 Qs

quiz-placeholder

Similar activities

WEDNESDAY: Language Review

WEDNESDAY: Language Review

1st - 5th Grade

7 Qs

March 9 Revising and Editing Set 2

March 9 Revising and Editing Set 2

5th Grade

11 Qs

WEDNESDAY: Language Review

WEDNESDAY: Language Review

1st - 5th Grade

12 Qs

M3 EOMA

M3 EOMA

5th Grade

11 Qs

Week 4 FRIDAY:  Language Quiz

Week 4 FRIDAY: Language Quiz

1st Grade - University

8 Qs

L5.1 5.8A Energy Transformations

L5.1 5.8A Energy Transformations

5th Grade

11 Qs

MONDAY: Language Review Q4 Week 1

MONDAY: Language Review Q4 Week 1

1st - 5th Grade

10 Qs

Domande sulle Strutture Dati

Domande sulle Strutture Dati

Assessment

Quiz

others

5th Grade

Hard

Created by

annamaria laselva

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?