Data Structures and Algorithms - Prefinal Quiz

Data Structures and Algorithms - Prefinal Quiz

University

15 Qs

quiz-placeholder

Similar activities

RESEARCH METHODOLOGY

RESEARCH METHODOLOGY

University - Professional Development

20 Qs

PRAKTIKUM AKUNTANSI LEMBAGA

PRAKTIKUM AKUNTANSI LEMBAGA

12th Grade - University

20 Qs

Jigsaws

Jigsaws

University

10 Qs

INTRO PURCHASE & COST CONTROL

INTRO PURCHASE & COST CONTROL

University

10 Qs

Cirrus Praxis 5622 Chapter Three

Cirrus Praxis 5622 Chapter Three

University - Professional Development

20 Qs

POP QUIZ OSHA

POP QUIZ OSHA

University

15 Qs

Data Structures Training Quiz2

Data Structures Training Quiz2

University

15 Qs

S1.24 BUSM4567 Week 10_Online Session

S1.24 BUSM4567 Week 10_Online Session

University

10 Qs

Data Structures and Algorithms - Prefinal Quiz

Data Structures and Algorithms - Prefinal Quiz

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Marilou Bartolome

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?