For petlju koristimo za:

Python - for petlja

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Janja Filipović
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
unos vrijednosti
za odluke ako - onda
za ponavljanje dijelova programa
za prikaz operatora
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in range (a+1, b, 1) u obzir uzima brojeve:
Od a do b, a i b nisu uključeni
Od a do b, a uključen, b nije uključen
Od a do b, a nije uključen, b uključen
Od a do b, uključujući a i b
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Program sa slike će ispisati brojeve:
4, 9, 14, 19, 24, 29, 34, 39
1, 6, 11, 16, 21, 26, 31, 36
5, 10, 15, 20, 25, 30, 35, 40
3, 8, 12, 18, 23, 28, 33, 38
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koji je ispravan primjer korištenja for petlje u Python-u?
for i in range(5):
print(j)
for i in range(5):
print(i)
for i in range(5):
print(i) if i > 5
for i in range(5):
print(i)
else:
print("Gotovo")
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
For petlja u Python-u se koristi za ponavljanje naredbi nepoznat broj puta.
Točno
Netočno
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Što kod sa slike radi?
Ispisuje sve brojeve od 0 do 10.
Ispisuje sve brojeve od 0 do 9.
Ispisuje sve parne brojeve od 0 do 9.
Ispisuje sve neparne brojeve od 0 do 10.
Similar Resources on Wayground
6 questions
VIS_2022

Quiz
•
1st - 10th Grade
7 questions
Programiranje- ponavljanje osnova

Quiz
•
7th - 9th Grade
8 questions
Ponavljanje korisnički računi i sklopovlje računala

Quiz
•
9th Grade
10 questions
PHP & MySQL - 13 - Functions

Quiz
•
12th Grade
11 questions
Grafika wektorowa

Quiz
•
9th Grade
10 questions
Programski jezik C (do 3.4.4)

Quiz
•
9th Grade
8 questions
2TR SQL - 06 - IN, BETWEEN, EXAMPLES

Quiz
•
10th Grade
9 questions
Brojevni sustavi ponavljanje

Quiz
•
9th 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
Discover more resources for Computers
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
37 questions
Camp Re-cap Week 1 (no regression)

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

Quiz
•
10th Grade