Python Games (Virtual Pet and Rock, Scissor and Paper)
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
Archie Miranda
Used 4+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python data type is best for storing a pet's name?
int
float
str
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python operator is used for assignment?
=
==
+=
:=
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to take user input in Python?
input()
print()
read()
get()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to define a function in Python?
define function_name():
function function_name():
def function_name():
create function_name():
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to check conditions in Python?
if
while
for
check
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do? hunger = 5 hunger -= 2
Increases hunger by 2
Decreases hunger by 2
Sets hunger to 2
Causes an error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is best for running the game continuously until an end condition is met?
for loop
while loop
repeat-until loop
loop forever
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
MIT App Inventor CodeIT Beginners
Quiz
•
6th Grade - University
51 questions
ICT P6 2nd Term final Revision Part2 True or false Elmotamayez
Quiz
•
6th Grade
50 questions
ENTRANCE EXAMS -COMPUTING
Quiz
•
6th - 8th Grade
45 questions
M1 2nd Term FINAL TEST 2020
Quiz
•
6th Grade
45 questions
Introduction to Sphero
Quiz
•
6th - 8th Grade
50 questions
Keyboarding Techniques & Finger Placement - Test
Quiz
•
6th - 8th Grade
50 questions
Databases
Quiz
•
KG - 12th Grade
55 questions
Social Media
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
