Python Term 2 - Quiz 3

Python Term 2 - Quiz 3

6th - 8th Grade

11 Qs

quiz-placeholder

Similar activities

Python Shapes and Colors

Python Shapes and Colors

8th Grade

10 Qs

Pygame Shapes

Pygame Shapes

8th Grade

15 Qs

9. Python (Модули, файлы)

9. Python (Модули, файлы)

5th - 11th Grade

13 Qs

9 сынып  Pygame

9 сынып Pygame

8th Grade

10 Qs

JRDL - JS Arrays and Objects

JRDL - JS Arrays and Objects

6th Grade - Professional Development

12 Qs

Programming Quiz 2024/2025

Programming Quiz 2024/2025

6th - 8th Grade

10 Qs

PyGame - релативне координате

PyGame - релативне координате

7th Grade

15 Qs

Списки Python + Pygame

Списки Python + Pygame

KG - University

10 Qs

Python Term 2 - Quiz 3

Python Term 2 - Quiz 3

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Tomasz Michalski

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to check if a variable number has a value of 3?

if number = 3:

if number == 3:

if number is 3:

if number(3):

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the font object from pygame module used for?

for using fonts

for using sounds

pygame does not have a font object

for using images

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is needed to create an object?

a class

a function

a method

a loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a class and an object?

There's no difference

Objects are created from classes

You cannot call objects

Classes cannot have attributes (values)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used in creating functions?

function

def

try

import

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What instruction is used to display text in the console?

echo

output

print

console.write

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed into the console? print(22 % 3)

7

0

1

5

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?