
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
Sieci komputerowe
Quiz
•
1st - 10th Grade
10 questions
Latarnicy 2020
Quiz
•
1st Grade - Professio...
12 questions
WORD - czcionka, akapit
Quiz
•
9th Grade
10 questions
Gra tajemnic (2014)
Quiz
•
9th - 12th Grade
11 questions
Bezpieczni w Sieci
Quiz
•
KG - University
7 questions
Informatyka
Quiz
•
7th Grade - University
10 questions
Monitory
Quiz
•
4th - 12th Grade
13 questions
Bezpieczny Internet
Quiz
•
9th - 12th 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