Day 5 Pygame - 30th June

Day 5 Pygame - 30th June

Professional Development

5 Qs

quiz-placeholder

Similar activities

The Language Sloth - HTML Pop Quiz

The Language Sloth - HTML Pop Quiz

7th Grade - Professional Development

10 Qs

FPD F KELOMPOK 1 (ZOOM)

FPD F KELOMPOK 1 (ZOOM)

Professional Development

10 Qs

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

Professional Development

10 Qs

Computer Quiz

Computer Quiz

5th Grade - Professional Development

8 Qs

DepEd

DepEd

Professional Development

6 Qs

Blue screeny w Windowsie

Blue screeny w Windowsie

1st Grade - Professional Development

8 Qs

Poppy playtime

Poppy playtime

University - Professional Development

10 Qs

DMP104.3

DMP104.3

Professional Development

8 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)