Python Games (Virtual Pet and Rock, Scissor and Paper)

Quiz
•
Computers
•
6th Grade
•
Hard
Archie Miranda
Used 4+ times
FREE Resource
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
Similar Resources on Wayground
45 questions
Introduction to Sphero

Quiz
•
6th - 8th Grade
45 questions
Silent Teacher Easy Python

Quiz
•
5th - 10th Grade
50 questions
Y7 Computer Systems

Quiz
•
6th Grade - University
51 questions
Lesson 2.3 Effects in Animation

Quiz
•
6th Grade
45 questions
M1 2nd Term FINAL TEST 2020

Quiz
•
6th Grade
50 questions
11B Data Types & Additional Programming Techniques Quiz - 171224

Quiz
•
6th Grade
50 questions
CAT - Gr 10 - Hardware & Software

Quiz
•
KG - University
50 questions
Computing Concepts Quiz

Quiz
•
6th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade