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(if/else masala)

Quiz
•
10th - 11th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
10 questions
Arrays in Python

Quiz
•
8th - 10th Grade
10 questions
Post Test #4 - Python Fundamental #3

Quiz
•
University
19 questions
Grade 8

Quiz
•
8th Grade
10 questions
DS UNIT-2 TEST-3

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

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

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade