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

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

6th Grade

50 Qs

quiz-placeholder

Similar activities

HTML & CSS Review

HTML & CSS Review

6th Grade

45 Qs

KBY Basic Word Processing Study Guide  (Barnes)

KBY Basic Word Processing Study Guide (Barnes)

6th Grade

46 Qs

Artificial Intelligence Review

Artificial Intelligence Review

6th Grade

50 Qs

LopezSemester1

LopezSemester1

6th - 8th Grade

52 Qs

Spreadsheets

Spreadsheets

6th - 8th Grade

46 Qs

Computational Thinking

Computational Thinking

6th - 8th Grade

48 Qs

Code.org Unit 3 Lesson 1-6

Code.org Unit 3 Lesson 1-6

5th Grade - University

45 Qs

Peripheral Devices

Peripheral Devices

6th - 7th Grade

46 Qs

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

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

Assessment

Quiz

Computers

6th Grade

Practice Problem

Hard

Created by

Archie Miranda

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?