
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
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.
Similar Resources on Wayground
10 questions
Programski jezik C (do 3.4.4)

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

Quiz
•
10th Grade
10 questions
2023 - 08 (Polja)

Quiz
•
11th Grade
9 questions
Brojevni sustavi ponavljanje

Quiz
•
9th Grade
10 questions
Grafičko sučelje - Tkinter

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

Quiz
•
9th Grade
7 questions
UURM

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

Quiz
•
12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade