Która struktura danych jest nieuporządkowana?

Quiz o zbiorach w Pythonie

Quiz
•
Computers
•
9th Grade
•
Medium
Jakub C
Used 28+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lista
Krotka
Zbiór
Słownik
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak zadeklarować pusty zbiór w Pythonie?
empty_set = {}
empty_set = []
empty_set = ()
empty_set = set()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co oznacza, że zbiór jest mutowalny?
Można dodawać i usuwać elementy ze zbioru.
Nie można zmieniać zawartości zbioru po jego utworzeniu.
Elementy zbioru zawsze pozostają w tej samej kolejności.
Zbiór nie może zawierać duplikatów.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zwróci poniższy kod?
{"apple", "banana", "cherry", "orange"}
{"orange"}
{"apple", "banana", "cherry"}
{"cherry", "orange"}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie są skutki wywołania metody discard() na zbiorze, gdy usuwany element nie istnieje?
Zgłasza błąd.
Ignoruje brakujący element i kontynuuje działanie.
Usuwa losowy element zamiast brakującego.
Nic się nie dzieje.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co oznacza wynik operacji A.intersection(B)?
Elementy obecne tylko w zbiorze A.
Elementy obecne tylko w zbiorze B.
Elementy wspólne dla obu zbiorów.
Elementy różne w obu zbiorach.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie będzie działanie poniższego kodu?
Zwróci {1, 2}.
Zwróci {3, 4, 5}.
Zwróci {1, 2, 3, 4, 5}.
Zwróci {}.
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
CZY JESTEŚ BEZPIECZNY W INTERNECIE?

Quiz
•
KG - University
11 questions
Przestrzeganie prawa i zasad bezpieczeństwa w świecie informatyk

Quiz
•
9th Grade
11 questions
sieci komputerowe - podział

Quiz
•
9th - 12th Grade
12 questions
G4Tychy_Dni ECDL_systemy

Quiz
•
4th - 12th Grade
10 questions
Bezpieczeństwo w sieci

Quiz
•
7th - 12th Grade
10 questions
Standardy języka HTML

Quiz
•
9th Grade
10 questions
python

Quiz
•
9th Grade
10 questions
Wstęp do programowania

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University