
Recapitulare2part1

Quiz
•
Computers
•
Professional Development
•
Medium
Rolland Gavriliță
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
20 questions
Employability Skills

Quiz
•
Professional Development