Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Function Definition- The place where you assign a series of actions to one easy-toremember name
Variable- A placeholder for a value that can change
Conditional- A statement that is either true or false depending on the situation
If Statement- A line that determines whether or not you run a certain chunk of code
Else- Another way of saying otherwise
Increment- To add a certain amount (often 1), once or many times
Decrement- To subtract a certain amount (often 1), once or many times
Nested Statements- A statement inside another statement
Internet Protocol- An agreed upon set of requirements for delivering packets across
a network
IP Address- A number assigned to any item that is connected to the internet
Domain Name Service- The service that translates URLs to IP addresses
Universal Resource Locater- An easy-to-remember address for calling a webpage
Internet- A group of computers and servers that are networked together
Network- A group of things that are connected to each other
Packets- Small chunks of information that have been carefully formed from larger
chunks of information
Routing- Finding the best path through a network
Servers- Computers that exist only to provide information to others
Fiber-Optic Cable- A cable that uses light to send information
Wi-Fi- A wireless method of sending information using radio waves
Cable- A method of sending information using telephone or television cables
URL
brettrhodes.weebly.com
cool-mathGames.com
Agar.io
YouTube
Nike
NASA
IP Address
199.34.228.53
185.31.17.249
104.20.38.148
194.122.81.53
23.12.158.147
208.111.171.236
GameStop
FIFA
ESPN
Wikipedia
23.13.116.231
204.237.161.10
68.71.212.186
208.80.153.224
Code
moveForward(); - The bird moves forward one space
turnRight(); - The bird rotates to the right
turnLeft(); - The bird rotates to the left
for (var count = 0; count < 5; count++) The action allows you to do the top 3
action five times
(var count = 0; count < 3; count++) The action allows you to do any combination
of actions for 3 times
while (notFinished()) Complete the action until the task is done
if (isPathLeft()) This action happens when if you want it to do something then it will
do it if it is there
Above can work for right to youll have to right is path right instead
while (notFinished()) {
if (isPathForward()) { -If this happens dont do this
moveForward(100); - Move forward a hundred pixels
turnRight(90); - Turn right 90 degrees
penColour(colour_random());- Random color
fill();- Fill in the area once
dig();- Dig/remove the obstacle
while (holePresent()) {- when there is a hole do this
for (counter = 50; counter <= 90; counter += 10) {- It can perform diferent tasks
// draw_a_snowman
turnLeft(90);
function draw_a_square() {
for (var count = 0; count < 4; count++) {
moveForward(100);
turnRight(90);- How you draw a square
function draw_a_circle() {
for (var count2 = 0; count2 < 360; count2++) {
moveForward(1);
turnRight(1);- How you draw a circle
function draw_a_triangle() {
for (var count2 = 0; count2 < 3; count2++) {
moveForward(100);
turnRight(120);- How you draw a triangle
function draw_a_house() {
for (var count = 0; count < 4; count++) {
moveForward(100);
turnRight(90);
}
moveForward(100);
turnRight(30);
for (var count2 = 0; count2 < 3; count2++) {
moveForward(100);
turnRight(120);- How you draw a house
moveWest();- move west 1 block