
Python Revision
Authored by Mai Ghamdi
Computers
7th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
Similar Resources on Wayground
55 questions
Equipos de Reprografía
Quiz
•
6th - 12th Grade
50 questions
ASESMEN SUMATIF INFORMATIKA KELAS 7
Quiz
•
7th Grade
50 questions
DG Muda (2)
Quiz
•
KG - Professional Dev...
50 questions
ĐỀ CƯƠNG_GHK2_TIN7
Quiz
•
7th Grade
50 questions
Computer basics
Quiz
•
5th - 9th Grade
50 questions
Computer Basics
Quiz
•
6th - 8th Grade
50 questions
информатика 7 сынып
Quiz
•
7th Grade
50 questions
Chủ đề 1: CĂN BẢN VỀ CÔNG NGHỆ (GS6 LV2 _2024)
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade