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

Computer Hardware and Software Review

Computer Hardware and Software Review

KG - University

45 Qs

Code.org Game Lab

Code.org Game Lab

6th - 8th Grade

45 Qs

Computer Programming - Algorithm & Flowcharting - 1

Computer Programming - Algorithm & Flowcharting - 1

5th - 6th Grade

45 Qs

Summer Test 2022 Y7 Computing

Summer Test 2022 Y7 Computing

6th - 7th Grade

45 Qs

KS3 Spr1 CCCS

KS3 Spr1 CCCS

6th - 8th Grade

50 Qs

TSA Tech Bowl Practice Test

TSA Tech Bowl Practice Test

6th - 8th Grade

50 Qs

Year 9 Python Programming

Year 9 Python Programming

6th - 8th Grade

47 Qs

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

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

Assessment

Quiz

Computers

6th Grade

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?

Discover more resources for Computers