Python Programming Test 2

Quiz
•
Computers
•
7th Grade
•
Easy
Oluwadamilare Alonge
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is NOT a Python data type?
Integer
String
Function
Boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of print(10 % 3)?
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which function is used to get input from the user in Python?
output()
get_input()
input()
ask()
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the correct way to write a comment in Python?
// This is a comment
/* This is a comment */
# This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of print(2 ** 3)?
5
6
8
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which keyword is used to create a loop that iterates over a sequence?
for
loop
repeat
while
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the following code? if 5 > 3: print("Yes")
Yes
No
Error
Nothing
Create a free account and access millions of resources
Similar Resources on Wayground
33 questions
MS Office Applications

Quiz
•
7th - 8th Grade
30 questions
Python программалоо тили

Quiz
•
7th - 11th Grade
26 questions
Grade 9- s2- a2- gimp

Quiz
•
6th - 12th Grade
26 questions
Coding with Scratch (Scratch Mechanics)

Quiz
•
6th - 8th Grade
25 questions
Mastering Microsoft Word Basics

Quiz
•
6th Grade - University
31 questions

Quiz
•
6th - 10th Grade
25 questions
Databases

Quiz
•
7th - 8th Grade
25 questions
Excel Basics

Quiz
•
6th - 9th 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