
Quiz z Pythona
Authored by Marek Czerwiec
Computers
11th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki typ danych jest reprezentowany przez liczbę 10 w Pythonie?
int
float
str
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki typ danych jest reprezentowany przez napis "Hello"?
int
bool
str
float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Która funkcja umożliwia pobranie danych od użytkownika?
print()
input()
type()
len()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakiego operatora używamy do sprawdzenia, czy dwie wartości są równe?
=
==
!=
:=
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co oznacza skrót elif w instrukcji warunkowej?
else if
end if
else for
end elif
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Który zapis pętli iterującej po elementach listy lista jest poprawny?
for i in lista:
for i = 0 to lista:
while i in lista:
foreach lista in i:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie efekt wykonania poniższego kodu? lista = [1, 2, 3] for i in lista: print(i)
Wypisze 123 w jednej linii
Wypisze [1, 2, 3]
Wypisze każdy element w osobnej linii
Wypisze elementy w odwrotnej kolejnoś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?