Python Revision

Quiz
•
Computers
•
7th Grade
•
Medium
Mai Ghamdi
Used 7+ times
FREE Resource
53 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for the input ( ) function in Python?
a) input("Enter your name: ")
b) Input("Enter your name: ")
c) input["Enter your name: "]
d) INPUT("Enter your name: ")
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
................................. is the correct syntax for the input ( ) function in Python?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print ( ) function do in Python?
a) Accepts user input
b) Displays output to the console
c) Performs mathematical operations
d) Reads data from a file
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about the print ( ) function?
a) It returns a value
b) It can only display integers
c) It can display strings and variables
d) It can execute conditional statements
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print( ) in Python is a/an..............
a) Identifier
b) function
c) data type
d) None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Commenting in Python can be done by using ...........
a) @
b) DoubleQuotes“”
c) #
d) None
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are valid Python variable names?
a) total123
b) ca$h
c) abc_abc_
d) If
Create a free account and access millions of resources
Similar Resources on Wayground
52 questions
Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan

Quiz
•
1st - 12th Grade
57 questions
Python начало

Quiz
•
7th Grade
49 questions
Python Basics 2019

Quiz
•
7th Grade
49 questions
Python Programming for Lego Spike Prime Robots

Quiz
•
7th Grade
50 questions
General Review Grade 8

Quiz
•
7th - 12th Grade
50 questions
Databricks Certified Data Engineer Quiz part 2

Quiz
•
1st Grade - University
50 questions
ECDL Python Lesson 7

Quiz
•
7th - 12th Grade
50 questions
Y10 CS 2020 Lesson1_3

Quiz
•
7th - 10th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Characterization

Quiz
•
3rd - 7th Grade
20 questions
Guess The Cartoon!

Quiz
•
7th Grade