Kako se zove način izvođenja programa gdje je moguće više različitih koraka nakon provjeravanja uvjeta?

Python If Statements Quiz

Quiz
•
Computers
•
6th Grade
•
Easy
Anton Lovrić
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
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
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Što će ispisati ovaj programski kod?
a = 10
if (a > 2):
print("Veći od 2")
if (a > 5):
print("Veći od 5")
else:
print("Manji od 5")
Veći od 5
Veći od 2
Veći od 2
Veći od 5
Manji od 5
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koji relacijski operator koristimo da bismo provjerili ako je jedan broj veći ili jednak drugom broju?
>=
>
==
<
Similar Resources on Quizizz
10 questions
Mozgalice 9,10 - 2. razred

Quiz
•
2nd Grade - University
12 questions
Algoritmi i programiranje - 5. razred

Quiz
•
5th - 6th Grade
10 questions
Ponavljanje gradiva 5. razreda

Quiz
•
6th Grade
8 questions
Python - jednostavno i složeno grananje - 6. razred

Quiz
•
6th - 8th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
8 questions
if...else statements

Quiz
•
6th - 8th Grade
10 questions
Bezpieczny Internet

Quiz
•
6th Grade
7 questions
if...else...if

Quiz
•
6th Grade - University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade