
Python - lists,loops,basics
Authored by Louise Lockwood
Computers
9th - 11th Grade
Used 540+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is syntax?
Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print(9/3)
3
3.0
9/3
SyntaxError
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello" + "world!")
Hello world!
Helloworld!
SyntaxError
"Hello" "world!"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello" + 2 + "world")
Hello 2 world
Hello2world
TypeError
HelloHelloworld
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Joining elements together to make a string is called what?
Combining
Connecting
Concatenation
Stringing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python the ' INTEGER data type' can be defined as...?
holds alphanumeric data as text
holds whole numbers
holds numbers with a decimal point
holds either ‘true’ or ‘false’
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python the ' STRING data type' can be defined as...?
holds alphanumeric text
hold whole numbers
holds numbers with a decimal point
holds either a true or false value
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?