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
20 questions
Python Quiz

Quiz
•
8th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
20 questions
Python-Lists_Dictionaries

Quiz
•
University
15 questions
Section 3A: Collect and process data using lists

Quiz
•
12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
10 questions
Python list and tuple

Quiz
•
6th - 8th Grade
10 questions
Python Array- quiz

Quiz
•
11th Grade
10 questions
Banana Tales Part I (1-40)

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade