
Banana Tales Quiz
Authored by Mon Mongar
Information Technology (IT)
7th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which coding concept is introduced in Lesson 1?
Functions
Variables
Objects
Loops
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'print()' function?
To define a function
To store data
To display output on the console
To create a variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what does the 'len()' function do?
Returns the number of items in a list
Counts the number of characters in a string
Calculates the length of a variable
Prints the length of a number
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for a for loop in Python?
for i in 10
for i in range(10):
for (i = 0; i < 10; i++)
for i: range(10)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'while' loop do?
Executes code only once
Creates a new variable
Repeats code a fixed number of times
Repeats code as long as a condition is true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'is_ice()' method check?
If an object is a box
If an object is ice
If an object is on the ground
If an object is a fence
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'if' statement do?
Defines a function
Executes code only if a condition is false
Always executes the code
Executes code only if a condition is true
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?