Python End of Topic Quiz
Quiz
•
Computers
•
8th Grade
•
Hard
Meenal Tripathi
Used 9+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which arithmetic operator will you use in the following program to multiply 10 by 5 and print the result?
print(10 _ 5)
×
/
*
**
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program?
210
Syntax error
210 30
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a user inputs an answer, it should be stored in a suitably named ...?
file
variable
data type
list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The PIN code is a six-digit code used by the Indian Postal Department.
What is the data type of the variable 'x' if it stores this code as x = "462016"?
int
string
float
number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the list color_list = ["Red", "Blue", "Green", "Black"], what will be the output of print(color_list[1], color_list[3])?
Red Green Black
Blue Black
Blue Black Syntax Error
Blue Black IndexError: list index out of range
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following options will output 'HELLO, WORLD!' when the variable a is set to "Hello, World!"?
a.upper()
print(a.upper)
a.upper()
print(a.upper())
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program?
Pass
Enter your score
It will throw a syntax error
Fail
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Memory-Mobo-Hard/Software
Quiz
•
University
13 questions
Spreadsheets
Quiz
•
6th - 8th Grade
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
10 questions
Adobe Photoshop
Quiz
•
University
13 questions
5.3. Запис математичних виразів на мові Python
Quiz
•
8th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
