
Lesson 1 Python I Review
Authored by Muhammad Aldy Hassan
Computers
6th - 8th Grade
Used 3+ times

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
20 sec • 1 pt
Which of the following is the correct syntax to print "Hello, World!" in Python?
print("Hello, World!)
print(Hello, World!)
print(Hello, World!")
print("Hello, World!")
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a correct way to declare a variable?
variable x = 5
int x = 5
x = 5
declare x = 5
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is the data type of 3.14 in Python?
Integer
String
Float
Boolean
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is the data type of 314 in Python?
Integer
Float
Boolean
String
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the result of the following code?
1230
133
Error
113
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the result of the following code?
HelloWorld
Hello World
Hello world
Hello World!
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the result of the following code?
My name is Alice and I am 25 years old.
My name is {name} and I am {age} years old.
My name is Alice and I am 25 years old
My name is Alice and I am age years old.
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?