
Python If Statements Quiz
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Easy
Anton Lovrić
Used 1+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kako se zove način izvođenja programa gdje je moguće više različitih koraka nakon provjeravanja uvjeta?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako izgleda ispravna izjava grananja u Pythonu?
if uvjet:
if (uvjet) {
if (uvjet) do:
if (uvjet) then {
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koji relacijski operator koristimo za provjeravanje ako su dvije vrijednosti jednake?
>
<=
!=
==
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Što će ispisati ovaj programski kod?
x = 5
if x > 10:
print('Broj je veći od 10')
else:
print('Broj je manji od 10')
Manji od ili jednak 10
Jednak 10
Neispravan unos
Veći od 10
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Što će ispisati ovaj programski kod?
x = 3
if x > 5:
print('Veći od 5')
if x > 2:
print('Veći od 2')
else:
print('Manji ili jednak 2')
Greater than 5
Less than or equal to 5
Equal to 2
Greater than 2
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Koje su ključne riječi prilikom grananja u Pythonu?
else
then
elseif
if
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Što je rezultat ovog programskog koda?
a = 7
b = a % 2
print(b)
0
3
1
4
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?
Similar Resources on Wayground
10 questions
Tin học cơ sở
Quiz
•
1st Grade - University
12 questions
3D Printing Vocabulary
Quiz
•
6th - 8th Grade
12 questions
Variables and data types
Quiz
•
4th - 12th Grade
10 questions
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
10 questions
Bezpieczny Internet
Quiz
•
6th Grade
10 questions
Programming in QBasic
Quiz
•
6th Grade
14 questions
Keyboard Shortcuts
Quiz
•
4th - 8th Grade
8 questions
if...else statements
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
