
Quiz o zbiorach w Pythonie
Authored by Jakub C
Computers
9th Grade
Used 28+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 {}.
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Komunikacja przez Internet
Quiz
•
9th Grade
12 questions
T30 Identyfikacja cech modelu TCP/IP
Quiz
•
9th - 12th Grade
15 questions
Jak dobrze znasz zasady bezpieczeństwa w internecie?
Quiz
•
9th - 12th Grade
12 questions
Protokoły sieciowe
Quiz
•
1st Grade - University
14 questions
Power Point klasa V
Quiz
•
4th Grade - University
10 questions
Protokoły sieciowe TCP/IP - kartkówka
Quiz
•
8th - 12th Grade
10 questions
Praca z rejestrem systemowym
Quiz
•
1st Grade - Professio...
10 questions
Zasady bezpiecznego korzystania z internetu
Quiz
•
1st - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade