Search Header Logo

ITEC 104 REVIEW

Authored by Mochii Minie

Other

University

Used 2+ times

ITEC 104 REVIEW
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?