Petlje u pythonu

Petlje u pythonu

1st - 5th Grade

12 Qs

quiz-placeholder

Similar activities

 TIN 4- ÔN TẬP CHƯƠNG 5

TIN 4- ÔN TẬP CHƯƠNG 5

4th Grade

11 Qs

Kuiz TMK Tahun 5

Kuiz TMK Tahun 5

5th Grade

10 Qs

5.th sosyal bilgiler 5.ünite

5.th sosyal bilgiler 5.ünite

5th Grade

15 Qs

Class III Computer Chapter 1

Class III Computer Chapter 1

3rd Grade

10 Qs

Możliwości komputerów i sieci - podsumowanie działu II, klasa V

Możliwości komputerów i sieci - podsumowanie działu II, klasa V

5th Grade

15 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

Informatyka.Cyberbezpieczeństwo,e-zasoby i współpraca zdalna

Informatyka.Cyberbezpieczeństwo,e-zasoby i współpraca zdalna

1st - 6th Grade

13 Qs

=Excel+[ling]

=Excel+[ling]

1st - 3rd Grade

11 Qs

Petlje u pythonu

Petlje u pythonu

Assessment

Quiz

Computers

1st - 5th Grade

Practice Problem

Hard

Created by

Dalibor Kovacevic

Used 86+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers