wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PICO8/LUA QUIZ

Total questions: 15

Worksheet time: 11mins

Name
Class
Date
1.

What are the three core functions of PICO8?

a)

_init, _update, _draw

b)

_start, _update, _print

c)

_start, _update, _draw

d)

_init, _update, _print

2.

What is a "variable" in Japanese?

(a)  

3.

What is a "function" in Japanese?

(a)  

4.

What is a "parameter" (used in functions) in Japanese?

(a)  

5.

In this picture, A and B are...? (変数、関数、引数のどれ?)

(a)  

6.

In this code, I created a function (関数) to return the sum (合計) of two parameters (引数).


Q: How can I print the sum of A and B to the screen? (コードを書いてください)


HINT: PRINT( (a)   )

7.

Where can I create drawings of characters and items?

a)
b)
c)
d)
e)
8.

Where can I write code?

a)
b)
c)
d)
e)
9.

Where can I draw a map?

a)
b)
c)
d)
e)
10.

Where can I create sound effects?

a)
b)
c)
d)
e)
11.

Where can I create music?

a)
b)
c)
d)
e)
12.

What function in PICO8 can we use to check if a button is pressed?

(a)  

13.

PLAYER={}


What kind of data is PLAYER?

a)

table

b)

variable

c)

function

d)

parameter

14.

Which code shows:

1) create a new table called "P"

2) add an X coordinate

3) add a Y coordinate

a)

P.X=2

P.Y=4

b)

P={}

X=2

Y=4

c)

P= NEW TABLE

X=2

Y=4

d)

P={}

P.X=2

P.Y=4

15.

Write code to show adding a value of 1 to a variable X

(a)