Python Revision
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Mai Ghamdi
Used 7+ times
FREE Resource
Enhance your content in a minute
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
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
50 questions
SUMATIF KUMER 7
Quiz
•
7th Grade
50 questions
First Quarter Exam in T.L.E. 7- ICT
Quiz
•
7th Grade - University
50 questions
KISI-KISI PTS INFORMATIKA KELAS 7
Quiz
•
7th Grade
55 questions
Πληροφορική Α' Γυμνασίου (επεξεργασία κειμένου)
Quiz
•
6th - 8th Grade
50 questions
Quiz Microsoft PowerPoint
Quiz
•
6th Grade - University
48 questions
Simple Machines
Quiz
•
6th - 8th Grade
52 questions
Đề Cương Tin Học 7
Quiz
•
7th Grade
55 questions
Grade 6 Computer Practice
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
