Year 8 Game Code Lesson 1

Quiz
•
Computers
•
12th Grade
•
Easy
Mr Loizou
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import pygame
What does this line of code do ?
Lets you play games while programming
Allows python to make sounds
Imports a module giving Python extra commands
Adds more colours to python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WIDTH = 360
In the line of code above, what is "WIDTH" ?
It is a constant
It is a variable
It is a command
It is a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
FPS = 30
What might be the result of setting the frame rate of a game too high ?
The code would crash
The game would be too hard to play
It might cause the monitor to overheat
Processor might struggle to cope with the load, and the game will lag
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WHITE = (255, 255, 255)
When defining colours, what do these three numbers refer to ?
Black, White, Grey (BWG)
Cyan, Magenta, Yellow
(CMY)
Red, Green Blue (RGB)
Indigo, Scarlet, Orange
(ISO)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What colour would be produced with RGB settings of 255, 255, 255 ?
black
white
green
red
Similar Resources on Wayground
10 questions
1.2.3 Colors and Gradients Quiz CMU CS Academy

Quiz
•
9th - 12th Grade
10 questions
Understanding Procedures in Python

Quiz
•
9th Grade - University
10 questions
Python Image Library

Quiz
•
12th Grade
7 questions
Bài 15: TẠO MÀU CHO CHỮ VÀ NỀN

Quiz
•
12th Grade
10 questions
Python Basic files

Quiz
•
10th - 12th Grade
10 questions
PI Mod 1 test

Quiz
•
9th - 12th Grade
10 questions
Python Flow Control

Quiz
•
9th - 12th Grade
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade