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

FUNDAMENTAL in PROGRAMMING

FUNDAMENTAL in PROGRAMMING

1st - 10th Grade

52 Qs

Section 5 - Part 2

Section 5 - Part 2

4th - 7th Grade

50 Qs

Code.org 8th Grade Part 2 (Conditionals and the Draw Loop)

Code.org 8th Grade Part 2 (Conditionals and the Draw Loop)

6th - 8th Grade

53 Qs

Flowol Assessment

Flowol Assessment

6th Grade

45 Qs

Year 6 Term 2 Quiz (Coding and Spreadsheets)

Year 6 Term 2 Quiz (Coding and Spreadsheets)

5th - 7th Grade

46 Qs

Computer Fundamentals

Computer Fundamentals

6th Grade

50 Qs

Tech Apps Semester Exam

Tech Apps Semester Exam

6th - 8th Grade

50 Qs

Midterm revision for grade 6

Midterm revision for grade 6

6th 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

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?