Day 5 Pygame - 30th June

Day 5 Pygame - 30th June

Professional Development

5 Qs

quiz-placeholder

Similar activities

The computer

The computer

2nd Grade - Professional Development

10 Qs

Smart Interactive Display Knowledge Quiz 2025

Smart Interactive Display Knowledge Quiz 2025

Professional Development

10 Qs

Chapter 6

Chapter 6

University - Professional Development

10 Qs

Office Machines

Office Machines

Professional Development

7 Qs

Module 1 Brush Up

Module 1 Brush Up

University - Professional Development

10 Qs

GA 04

GA 04

Professional Development

5 Qs

Mr.S.RAGUPARAN

Mr.S.RAGUPARAN

9th Grade - Professional Development

10 Qs

Kuis 2

Kuis 2

KG - Professional Development

10 Qs

Day 5 Pygame - 30th June

Day 5 Pygame - 30th June

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Coding Department

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which condition correctly restricts right movement in Pygame?

player_x > WIDTH

player_x = WIDTH

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if you don't apply boundary conditions?

The player moves faster

The player bounces off walls

The player disappears off the screen

The program crashes immediately

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What shape does pygame.draw.ellipse() create?

Rectangle

Circle

Line

Oval or ellipse

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the final argument in pygame.draw.line() specify?

Length of line

Color

Thickness of the line

Starting X-position

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would draw a diagonal black line?

pygame.draw.line(screen, (0, 0, 0), (400, 50), (550, 200), 3)

pygame.draw.rect(screen, (0, 0, 0), (400, 50, 150, 150))

pygame.draw.ellipse(screen, (0, 0, 0), (400, 50, 150, 150))

pygame.draw.line((0, 0, 0), screen, (400, 50), (550, 200), 3)