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
Parts of a Lesson Plan

Quiz
•
12th Grade - University
11 questions
Leadership Principles (Marines)

Quiz
•
5th Grade - Professio...
12 questions
reserve bank of India -2

Quiz
•
9th Grade - Professio...
10 questions
Week 14:The Republic of Tx

Quiz
•
4th Grade - University
20 questions
Short Quiz on Social Dimensions of Education

Quiz
•
University
10 questions
Korean numbers

Quiz
•
KG - Professional Dev...
20 questions
Sistem Injeksi Dasar

Quiz
•
University - Professi...
10 questions
note 9 (auditory cues)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University