
Recapitulare2part1
Quiz
•
Computers
•
Professional Development
•
Medium
Rolland Gavriliță
Used 1+ times
FREE Resource
Enhance your content in a minute
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care colecție ar fi cea mai potrivită pentru a menține elemente unice, fără garantarea ordinii?
ArrayList
HashSet
LinkedHashSet
TreeSet
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce colecție ai alege dacă ai nevoie de un map thread‑safe pentru citiri și scrieri frecvente?
Hashtable
ConcurrentHashMap
HashMap sincronizat manual
Collections.synchronizedMap(new HashMap<>())
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cum obții o listă de dimensiune fixă, care nu permite `add()` sau `remove()`, dar permite `set()`?
List.of(...)
Arrays.asList(...)
Collections.unmodifiableList(...)
new ArrayList<>(...)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce metodă din `List` inserează un element la o poziție specifică?
`add(E e)`
`add(int index, E element)`
`set(int index, E element)`
`insert(int index, E element)`
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce implementare a interfeței `Map` permite accesul rapid la elemente pe baza cheii?
HashMap
TreeMap
LinkedHashMap
ConcurrentHashMap
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care din următoarele afirmații despre `hashCode()` și `equals()` este obligatorie?
Obiecte inegale pot avea același `hashCode()`
Dacă `equals()` returnează `true`, `hashCode()` poate fi diferit
Dacă `equals()` returnează `true`, `hashCode()` trebuie să fie același
Poți returna un hash diferit la fiecare apel
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
De ce `hashCode()` este important pentru `HashMap` și `HashSet`?
Pentru a calcula dimensiunea colecției
Pentru a determina bucket‑ul în care va fi plasat elementul
Pentru a ordona elementele
Pentru a serializa obiectele
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
10 questions
Identifying Phishing Emails Quiz
Quiz
•
Professional Development
14 questions
2019 Logos
Quiz
•
Professional Development
7 questions
Tone and Mood Quick Check
Quiz
•
Professional Development
32 questions
Abbreviations and Equivalents
Lesson
•
6th Grade - Professio...
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
