
if...else...if
Authored by Janja Filipović
Computers
6th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if...elif...else složena je naredba koju koristiš za donošenje odluke kada postoje dva ili više uvjeta.
Točno
Netočno
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koji je ispravan način pisanja složenog grananja u Pythonu?
if...else...else
b) if...elif...else
c) if...elif...if
d) if...else...if
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koja će poruka biti ispisana ako je broj = 5 u sljedećem kodu?
Veći od 10
Broj je 5
Broj je manji od 5
Nema ispisa
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koji dio koda se izvršava ako je uvjet u if izrazu netočan, a uvjet u elif izrazu točan?
Cijeli kod
if
elif
else
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ako koristimo elif, grananje mora završiti s else.
Netočno
Točno
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koji će se rezultat ispisati ako je broj = 6?
Manji od 5
Jednako 8
Veće od 5
Nema ispisa
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koja od sljedećih naredbi nije ispravna za grananje u Pythonu?
if broj > 10:
b) elif broj == 5:
d) elif broj != 10:
c) else broj < 5:
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?