
python basic 3
Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Bijimol Rajesh
Used 3+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1.What is the purpose of the if statement in Python?
Stops the loop from repeating again
Allows the user to input an answer
Activates a set of code if a condition is met
Provides a variable its value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.What does the command print() do in Python?
Provides a variable its value
Outputs a string
Stops the loop from repeating again
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.What is the purpose of the print command in Python?
Store a value
Display words on the screen
Repeat a given command
Stop a loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.What does the while loop in Python do?
Runs once
Stops a loop
Continues the loop as long as a condition is true
Imports a library
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.What is the function of the import command?
Imports a random number
Imports the random module
Imports a random string
Imports a loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.Which of the following is an example of a variable declaration in Python?
import random
var = 2
print("Hello")
if answer == "yes":
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.What will be the output of the following code?
print("Hello, World!")
Hello, World!
"Hello, World!"
Error
none
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Unit 2 Study Quizizz
Quiz
•
8th Grade
25 questions
Hour of Code Quiz
Quiz
•
8th - 9th Grade
25 questions
EduBlocks NCCE Lesson 1-2
Quiz
•
7th - 8th Grade
25 questions
For Loops Code.org/ Lessons 6-10 (Flocabulary)
Quiz
•
6th - 8th Grade
27 questions
Tynker Lessons 1-5
Quiz
•
6th - 8th Grade
30 questions
Python Beginner
Quiz
•
6th - 12th Grade
25 questions
BCHS - Y8 Python
Quiz
•
8th Grade
22 questions
L5 Count controlled iteration
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th 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
8 questions
Time Management
Quiz
•
6th Grade
18 questions
Digital Footprint
Quiz
•
6th Grade
20 questions
typing
Quiz
•
6th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats
Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission
Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI
Quiz
•
6th - 8th Grade
