Python if / else
Quiz
•
Computers
•
•
Practice Problem
•
Medium
Jacek Daniel
Used 7+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
DRAG AND DROP QUESTION
2 mins • 4 pts
Uzupełnij kod tak aby program który wczyta liczbę, sprawdzi, czy jest to liczba parzysta czy nieparzysta.
(a) = int(input('Podaj liczbę'))
if x (b) 2 (c) 0:
print('PARZYSTA')
(d) :
print('NIEPARZYSTA')
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Który zapis sprawdza czy zmienna A jest równa zmiennej B
A == B
A = B
A => B
a = b
a == b
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Który operator określa się mianem "różny"
==
!=
=!
><
<=>
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Jaki symbol powinien być na końcu wiersza zapoczątkowanego zwrotem if
:
==
,
=
nic nie wstawiamy
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik działania programu:
wyświetli się napis - Jesteś pełnoletni
wyświetli się napis - Jesteś nieletni
Nic się nie wyświetli
Wyświetli się błąd
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik działania programu:
prawda
fałsz
kod nie jest poprawny - pojawi się błąd
5
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Jeśli chcesz więcej niż jedną możliwość w instrukcji warunkowej if, to której komendy powinieneś użyć ?
if
elif
else
ifel
Create a free account and access millions of resources
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
Scratch - podstawowe wiadomości
Quiz
•
1st Grade
10 questions
klasa IV - Bezpieczny internet
Quiz
•
1st - 6th Grade
15 questions
Quiz informatyczny
Quiz
•
1st - 8th Grade
10 questions
Bezpieczna praca z komputerem
Quiz
•
KG
9 questions
Jak dobrze znasz Among Us?
Quiz
•
1st Grade - Professio...
12 questions
Google Classroom
Quiz
•
7th Grade - University
12 questions
Zasady bezpieczeństwa podczas pracy z komputerem
Quiz
•
1st - 5th Grade
10 questions
Logomocja - rysowanie
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
