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 Wayground
10 questions
Python - osnovne aritmetičke operacije

Quiz
•
6th - 8th Grade
7 questions
Logate akademija 2

Quiz
•
6th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
13 questions
Kviza o Građi Računala

Quiz
•
6th Grade
11 questions
Power Point

Quiz
•
5th - 6th Grade
10 questions
Python

Quiz
•
3rd - 10th Grade
10 questions
QB64 : Grade 6

Quiz
•
6th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade