Data Structures and Algorithms - Prefinal Quiz

Quiz
•
Education
•
University
•
Hard

Marilou Bartolome
Used 21+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
It is a type of queue where elements are processed based on their order either natural or custom.
Priority Queue
Array List
Min Heap
Max Heap
2.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
Which of the following creates an empty set in Java?
a = set()
Set a = new HashSet ();
A = set [ ]
Set a = new TreeSet ();
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which statement determine whether a map contains the value "Pre-final" with the PF identifier?
thisMap.containsKey("Pre-final");
thisMap.containsValue("PF");
thisMap.containsKey("PF");
thisMap.containsValue("Prefinal");
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
It is a complete binary tree where the value of each parent node is either higher or lower than the value of its child nodes.
Priority Queue
Heap
Array List
Queue
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Priority Queues can be implemented in Java using the PriorityQueue class from the ___________ package.
java.scanner
Java.io
java.linkedlist
java.util
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
A collection of elements where each element is unique.
HashSet
TreeSet
Set
LinkedHashSet
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
This stores its elements in a hash table without a guaranteed order upon iteration.
Set
HashSet
TreeSet
LinkedHashSet
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Verbs 51-100

Quiz
•
10th Grade - University
10 questions
Análisis de formas verbales pasivas en latín

Quiz
•
University
10 questions
Graphic Organizers

Quiz
•
University
15 questions
After Effects - Unidad 4

Quiz
•
University
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
11 questions
Introduction to embedded system design Quiz

Quiz
•
University
11 questions
Python Variable and Datatype Quiz

Quiz
•
University
15 questions
Lucely's Ghost Squad Adventure Quiz

Quiz
•
1st Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University