
Basic Python Concepts
Authored by Antonia Pešo
Computers
5th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Što su varijable u Pythonu?
Fiksne vrijednosti koje se ne mogu promijeniti.
Komande koje se koriste za izvršavanje koda.
Lokacije u memoriji koje imaju svoje ime i služe za pohranu podataka.
Vrsta funkcije u Pythonu.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koja funkcija služi za ispis rezultata u Pythonu?
output()
show()
print()
display()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Što je rezultat naredbe 5+3 u Pythonu?
6
8
10
9
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a conditional statement in Python?
when condition: # code to execute
if condition: # code to execute if condition is true elif another_condition: # code to execute if another_condition is true else: # code to execute if no conditions are true
if condition then: # code to execute
if condition: # execute code here
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'else' statement do in Python?
The 'else' statement is used to define a function in Python.
The 'else' statement only executes when the 'if' condition is true.
The 'else' statement is used to declare variables in Python.
The 'else' statement executes a block of code when the 'if' condition is false or when a loop finishes.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako napraviti petlju koja će se izvršiti 5 puta?
for i in range(5): print(i)
for i in range(5): pass
for i in range(10): pass
while i < 5: pass
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'input()' function?
To read files from the disk.
To take user input from the console.
To display output on the console.
To execute a command in the terminal.
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
8 questions
Self-Driving Cars
Quiz
•
3rd - 5th Grade
10 questions
Information Coding Scheme
Quiz
•
1st Grade - University
10 questions
Moj prvi program 5.r
Quiz
•
5th Grade
10 questions
Conceptos Circuitos
Quiz
•
1st - 10th Grade
14 questions
Basic Python Quiz 3
Quiz
•
5th Grade
10 questions
Scratch Shapes Quiz
Quiz
•
5th Grade
13 questions
python для новичков
Quiz
•
4th - 11th Grade
12 questions
Year 5 Day Scratch Activity
Quiz
•
5th 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