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
50 questions
Python Online Assessment Year 8 Computing

Quiz
•
7th Grade
49 questions
24-25 G7 EOS 1 review

Quiz
•
7th Grade
54 questions
Python operatörler

Quiz
•
7th Grade
55 questions
Second Semester – Grade 7 Revision Sheet

Quiz
•
7th Grade
50 questions
Ôn tập cuối kỳ II tin 7

Quiz
•
6th - 8th Grade
53 questions
KS3 - HTML Assessment

Quiz
•
7th - 8th Grade
58 questions
Computer Quiz

Quiz
•
7th Grade
56 questions
Intro to Programming ACP

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
14 questions
Computer Hardware

Quiz
•
7th Grade
10 questions
Networking Devices and Their Functions

Interactive video
•
5th - 8th Grade
20 questions
Binary Numbers Quiz

Quiz
•
6th - 8th Grade