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
Similar Resources on Wayground
10 questions
Λίστες Python

Quiz
•
11th Grade
11 questions
Python Arrays

Quiz
•
9th - 10th Grade
12 questions
10 Клас Python tests

Quiz
•
10th Grade
11 questions
Python Round 3

Quiz
•
University
10 questions
Python Revision Tour

Quiz
•
12th Grade
20 questions
list 6th

Quiz
•
7th Grade - University
14 questions
List Review Quiz

Quiz
•
9th - 12th Grade
10 questions
Strings y listas en Python

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade