
Python - for petlja
Authored by Janja Filipović
Computers
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
For petlju koristimo za:
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.
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
11 questions
CSS-ponavljanje
Quiz
•
5th Grade - University
9 questions
FIFA 21
Quiz
•
1st - 12th Grade
10 questions
Tabele u wordu
Quiz
•
9th Grade
10 questions
Excel funkcija
Quiz
•
9th - 10th Grade
10 questions
Sieci - powtórka_part.I
Quiz
•
12th Grade
8 questions
Bezpečnost na internetu
Quiz
•
5th - 9th Grade
10 questions
Protokoły sieciowe TCP/IP - kartkówka
Quiz
•
8th - 12th Grade
10 questions
Uspořádání dat v počítači
Quiz
•
10th 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