
CoderDojo Checkpoint
Authored by Lamija Gutić
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
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Koja od sljedećih naredbi predstavlja dodjelu vrijednosti 3 varijabli mojaVarijabla:
mojaVarijabla == 3
mojaVarijabla is 3
mojaVarijabla = 3
mojaVarijabla = input(3)
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Koje od navedenog su tipovi podataka u Pythonu:
str, int, list, tuple
string, double, float, int
bool, str, numberType
integer, if, list
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kako izgleda naredba za ispravan unos cijelog broja u varijablu broj:
input(broj)
broj = int(input())
broj = input(“Unesi cijeli broj: “)
“Unesi cijeli broj” = input(broj)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kako testiramo da li je broj paran:
broj / 2 = 0
broj %= 2
broj % 2 == 0
broj == 0
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kojeg je tipa varijabla mojaVarijabla, kojoj je dodijeljena vrijednost mojaVarijabla = 5 > 2:
bool
str
float
int
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ukoliko trebamo 5 puta ispisati tekst “Danas je lijep i suncan dan”, koji je za to najpogodniji način:
for i in range(5):
print(“Danas je lijep i suncan dan”)
for 5 print(“Danas je lijep i suncan dan”)
while 5:
print(“Danas je lijep i suncan dan”)
print(“Danas je lijep i suncan dan”)
print(“Danas je lijep i suncan dan”)
print(“Danas je lijep i suncan dan”)
print(“Danas je lijep i suncan dan”)
print(“Danas je lijep i suncan dan”)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Po kojem principu funkcioniše tip podatka rječnik:
ključ : vrijednost
riječ : rečenica
engleski : bosanski
riječi
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?