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
10 questions
Quiz z drukarki 3D po polsku

Quiz
•
12th Grade
10 questions
Komunikacja w Fabryce Przyszłości

Quiz
•
9th - 12th Grade
15 questions
Test Informatyka

Quiz
•
KG - Professional Dev...
12 questions
Cykl życia systemu informatycznego

Quiz
•
9th - 12th Grade
10 questions
EUS - zaliczenie (zerowe)

Quiz
•
9th - 12th Grade
15 questions
Curs 2 quizz

Quiz
•
12th Grade
10 questions
Quiz despre Metoda Trierii

Quiz
•
12th Grade
10 questions
Modele și metode

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade