
Python Coding Fundamentals
Authored by JOSE CUADROS
Information Technology (IT)
9th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A variable in Python is a command that executes a loop.
A variable in Python is a symbolic name that references a value stored in memory.
A variable in Python is a type of function that performs calculations.
A variable in Python is a fixed value that cannot change.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
let variable_name = value
set variable_name to value
You declare a variable in Python by using the syntax: variable_name = value.
variable_name : value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the main data types available in Python?
The main data types are: Tiky Tokys, Instagrammies, Tweets, Tripi Tropis, Tropa Tripas
The main data types are: numbers, text, groups, decimal numbers and more.
The main data types available in Python are: int, float, str, list, and bool.
char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between an integer and a float?
An integer can have decimals; a float cannot.
An integer is a type of float with no decimals.
An integer is a whole number; a float is a number that can have decimals.
An integer is always negative; a float is always positive.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you perform addition (suma) in Python?
Use the '/' operator to divide numbers in Python.
Use the '-' operator to subtract numbers in Python.
Use the '*' operator to multiply numbers in Python.
Use the '+' operator to add numbers in Python.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you perform subtraction (resta) in Python?
Use the '/' operator to divide numbers in Python.
Use the '-' operator to subtract numbers in Python.
Use the '*' operator to multiply numbers in Python.
Use the '+' operator to add numbers in Python.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you perform division in Python?
Use the '/' operator to divide numbers in Python.
Use the '-' operator to subtract numbers in Python.
Use the '*' operator to multiply numbers in Python.
Use the '+' operator to add numbers in Python.
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?