Petlje u pythonu
Quiz
•
Computers
•
1st - 5th Grade
•
Hard

Dalibor Kovacevic
Used 86+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koja vrijednost za varijablu i će biti posljednja ispisana?
for i in range (a,n) :
print(i)
n
n+1
n-1
a
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koje vrijednosti će program ispisati?
for i in range (5,11,2) :
print(i)
5, 6, 7, 8, 9, 10
5, 7, 9, 11
5, 7, 9
5, 7, 9, 11, 13
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koje vrijednosti će program ispisati?
for i in range (11,5,-2) :
print(i)
11, 9, 7, 5
11, 9, 7
11, 9, 7, 5, 3, 1
11, 9
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koja petlja provjerava logički uvjet na kraju petlje
for
while
niti jedna
obje
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koju vrijednost će imati varijabla x nakon izvršavanja programa?
i=0
x=0
while i<6 :
if (i %2 != 0 ):
x=x+i
print(x)
9
6
12
16
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
U kojoj petlji je moguće stvoriti beskonačnu petlju?
for
while
niti u jednoj
u obje
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Ako je u while petlji logički uvjet lažan na ulazu u petlja, ta petlja će se izvršiti?
jednom
više puta
niti jednom
dva puta
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
7 questions
SCR1 Recap Day 2
Quiz
•
1st Grade
17 questions
Computer Programming Languages
Quiz
•
4th - 6th Grade
16 questions
Učim na mreži
Quiz
•
2nd Grade
11 questions
ÔN TẬP TIN 4 HK1
Quiz
•
4th Grade
10 questions
Paint
Quiz
•
2nd Grade
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
17 questions
Minecraft Education Edition - BÖTE 4
Quiz
•
4th Grade
10 questions
Mrs Clarke & Mrs Gaffneys' Touch Typing Quiz
Quiz
•
1st - 2nd Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
