Python Basics: Variables and Syntax
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Jonathon Mcmanus
Used 13+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct syntax to print "Hello, World!" in Python?
echo("Hello, World!")
print("Hello, World!")
println("Hello, World!")
output("Hello, World!")
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these is a valid variable name in Python?
2name
name_2
@name
name@
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What data type is used to store a sequence of characters in Python?
Integer
String
Dictionary
List
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which symbol is used for addition in Python?
+
/
-
*
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you start a comment in Python?
//
#
''
>
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of the following Python expression: 7 + 5 * 2?
24
17
19
22
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the print() function do in Python?
Displays output on the screen
Adds two numbers together
Stores a variable
Changes a string to uppercase
Create a free account and access millions of resources
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
31 questions
Quiz
•
6th - 10th Grade
25 questions
BTEC Creative Digital Media - Unit 01 - Test 01
Quiz
•
10th - 11th Grade
25 questions
6. ICT Systems
Quiz
•
10th - 11th Grade
25 questions
Sumatif Tengah Semester
Quiz
•
10th Grade
25 questions
CS-9 Chapter-5 Computer Software Part3: Rabin Ghimire
Quiz
•
10th Grade
25 questions
ANALISIS DATA
Quiz
•
10th Grade
25 questions
Kisi-Kisi ASTSGO X TJKT iOT & Jardas
Quiz
•
10th Grade
27 questions
Adobe Illustrator Quiz Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
