
Zbiory w języku Python
Authored by Dawid Pindel
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie operacje można wykonywać na zbiorach w języku Python?
Dzielenie elementów
Mnożenie elementów
Odejmowanie elementów
Dodawanie elementów
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie jest główne ograniczenie dotyczące wartości w zbiorach?
Mogą zawierać tylko liczby całkowite
Mogą zawierać tylko wartości ujemne
Mogą zawierać tylko unikalne wartości
Mogą zawierać tylko wartości parzyste
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak utworzyć pusty zbiór w języku Python?
a = {}
a = set()
a = []
a = ()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zwraca funkcja len() w przypadku zbioru?
Różnicę elementów
Sumę elementów
Iloczyn elementów
Liczność elementów
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakie są podstawowe operacje, które można wykonywać na zbiorach w języku Python?
Mnożenie
Część wspólna, suma, różnica
Dodawanie
Dzielenie
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jak dodać nowy element do zbioru?
Metoda add()
Metoda insert()
Metoda update()
Metoda append()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zostanie wyświetlone po dodaniu elementu 'd' do zbioru x?
{'d', 'c', 'b', 'a'}
{'a', 'c', 'b', 'd'}
{'a', 'b', 'c'}
{'a', 'c', 'd'}
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?