Year 8 Game Code Lesson 1

Year 8 Game Code Lesson 1

12th Grade

5 Qs

quiz-placeholder

Similar activities

Python Exception Handling

Python Exception Handling

10th - 12th Grade

10 Qs

CMYK and RGB

CMYK and RGB

9th - 12th Grade

10 Qs

ICS Unit 2 Lesson 7 Review - RGB & CSS Classes CSD

ICS Unit 2 Lesson 7 Review - RGB & CSS Classes CSD

7th - 12th Grade

10 Qs

CodingHTMLQuiz01

CodingHTMLQuiz01

9th - 12th Grade

8 Qs

1.2.3 Colors and Gradients Quiz CMU CS Academy

1.2.3 Colors and Gradients Quiz CMU CS Academy

9th - 12th Grade

10 Qs

Conditional statements in python

Conditional statements in python

11th - 12th Grade

10 Qs

AP CSP Unit 3 Review: Looping and Random Numbers

AP CSP Unit 3 Review: Looping and Random Numbers

9th - 12th Grade

10 Qs

Unit 3 AppLab

Unit 3 AppLab

7th - 12th Grade

9 Qs

Year 8 Game Code Lesson 1

Year 8 Game Code Lesson 1

Assessment

Quiz

Computers

12th Grade

Easy

Created by

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

Discover more resources for Computers