ITEC 104 REVIEW

ITEC 104 REVIEW

University

35 Qs

quiz-placeholder

Similar activities

CNN and NLP Quiz - Part A

CNN and NLP Quiz - Part A

University

30 Qs

Schweller Exam 1 :,)

Schweller Exam 1 :,)

University

30 Qs

Awareness Roadshow!!

Awareness Roadshow!!

University

30 Qs

ThinkBots - Round 1

ThinkBots - Round 1

University

30 Qs

CITW 1-6

CITW 1-6

University

30 Qs

ITProf104 PEx

ITProf104 PEx

University

32 Qs

Crypto

Crypto

KG - University

32 Qs

CU07:BREAKFAST PRODUCTION

CU07:BREAKFAST PRODUCTION

University

40 Qs

ITEC 104 REVIEW

ITEC 104 REVIEW

Assessment

Quiz

Other

University

Medium

Created by

Mochii Minie

Used 2+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a collection of elements, each of which is unique.

Set

Union

HashMap

Subset

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The union of two (2) sets (A ∪ B) is the set that contains all the elements in either set.

Example: {1, 3, 5, 7} ∪ {2, 3, 4, 5} = {1, 2, 3, 4, 5, 7}

Intersection

Union

Difference

Subset

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The intersection of two (2) sets (A ∩ B) is the set that contains only the

elements common to both sets.

Example: {1, 3, 5, 7} ∩ {2, 3, 4, 5} = {3, 5}

Instersection

Difference

Subset

Union

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The difference of sets A and B (A – B) is the set that contains the elements that

are in A but not in B.

Example: {1, 3, 5, 7} – { 2, 3, 4, 5} = {1, 7}

Subset

Union

Intersection

Difference

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Set A is a subset of set B (A ⊂ B) if every element of set A is also an element of

set B.

Example: {1, 3, 5, 7} ⊂ {1, 2, 3, 4, 5, 7} = true

Union

Set

Subset

Intersection

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This stores its elements in a hash table without a guaranteed order

upon iteration. This is the best-performing implementation.

Empty Set

LinkedHashSet

HashSet

TreeSet

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This stores its elements in a special type of tree where elements are

sorted (natural or custom) during iteration.

TreeSet

LinkedHashSet

HashSet

EmptySet

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?