
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
Która struktura danych jest nieuporządkowana?
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 Wayground
14 questions
Quiz o programie SCRATCH

Quiz
•
5th Grade - University
7 questions
Internet jako źródło informacji.

Quiz
•
9th Grade
11 questions
Bezpieczni w Sieci

Quiz
•
KG - University
12 questions
Python_P_F

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

Quiz
•
9th - 12th Grade
10 questions
Systemy operacyjne

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

Quiz
•
7th - 12th Grade
12 questions
Cykl życia systemu informatycznego

Quiz
•
9th - 12th Grade
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