Zbiory w języku Python

Quiz
•
Computers
•
12th Grade
•
Hard

Dawid Pindel
Used 1+ times
FREE Resource
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'}
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Bazy danych 1

Quiz
•
12th Grade
9 questions
Python Class and Object Quiz

Quiz
•
12th Grade
15 questions
2CG 2DG Pętle

Quiz
•
12th Grade
15 questions
Test Informatyka

Quiz
•
KG - Professional Dev...
7 questions
Dokumentowanie aplikacji

Quiz
•
12th Grade
7 questions
Metoda coardelor

Quiz
•
12th Grade
10 questions
Quiz PKM LMS Moodle

Quiz
•
9th - 12th Grade
7 questions
Cyfrowe zapisywanie informacji

Quiz
•
11th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade