
Domande sulle Strutture Dati

Quiz
•
others
•
5th Grade
•
Hard
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
Similar Resources on Wayground
13 questions
The Cold War

Quiz
•
5th Grade
13 questions
Civil War Unit Test

Quiz
•
5th Grade
8 questions
WEDNESDAY: Language Review

Quiz
•
1st - 5th Grade
8 questions
Matter

Quiz
•
5th Grade
10 questions
Word Work - Noun Suffixes

Quiz
•
5th Grade
12 questions
Spellings test

Quiz
•
1st - 5th Grade
15 questions
Week 8 FRIDAY: Language Quiz

Quiz
•
1st - 5th Grade
15 questions
Chapters 5-6

Quiz
•
5th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade