WorksheetsProcessing Basics
Total questions: 20
Worksheet time: 10mins
What is wrong with the following piece of code:
traingle(6,7,8,7,7,9);
The sizes are too small
Triangle has been spelt incorrectly
You can't make triangles in Processing
The brackets are missing
What is wrong with the following piece of code:
triangle(6,7,8,7,7,9)
The sizes are too small
The semi colon is missing
The brackets are missing
The commas are missing
What is wrong with the following piece of code:
triangle(6 7 8 7 7 9)
The sizes are too small
The commas are missing
The semi colon is missing
There are too many co-ordinates
What is wrong with the following piece of code:
triangle:6, 7, 8, 7, 7, 9;
The sizes are too small
The brackets are missing
You can't make triangles in Processing
There are too many co-ordinates
What colour will this create?
Red
Blue
Green
What colour will this create?
Red
Blue
Green
What colour will this create?
Red
Blue
Green
What is the correct code to create this shape?
rect(50,60,100,50);
square(50,60,100,50);
rectangle(50,60,100,50)
rect(50,60,50,100);
What is the correct code to create this shape?
rect(30, 20, 55, 55, 7);
rect(30, 20, 55, 55);
rect(30, 20, 55, 55, 3, 6, 12, 18);
rect(50,60,50,100);
What does the following bit of code do:
size(300,300);
Creates a square 300 x 300
Creates a circle300 x 300
Makes a shape
Creates a canvas 300 x 300
Which measurement sets the size of the rectangle?
50,10
100,60
Which measurement sets where the rectangle will appear on the canvas?
50,10
100,60
What language is Processing based on?
Javascript
Python
Scratch
C+
How much does Processing cost?
First month is free
Completely free
$5
What is the best way to learn Processing?
Go on the website and look at the guides and tutorials
Use the resources on Lionel
Try things out for yourself and test if they work
Ask other people how they did something
All of the above
True or False:
Your teacher is the first person you should ask when things go wrong
True
False
What kind of code is Processing?
Typed line code
Drag and drop code
Iteration is when....
You check your code for errors
You break a large problem down into smaller pieces
You repeat an action
An action occurs if set conditions are met
A decision is when....
You check your code for errors
You break a large problem down into smaller pieces
You repeat an action
An action occurs if set conditions are met
Debugging is when....
You check your code for errors
You break a large problem down into smaller pieces
You repeat an action
An action occurs if set conditions are met
