September 15, 2015
Automate- Works on its own, VIA, no help from people.
Computer science- Blending ideas, use resources of computers, technology, has to
solve a problem.
Computer scientists- a person who is able to modifying problems for digital
solutionns.
Data-information including facts, samples, names, and numbers.
Environment- the world we live in.
Interface- software that is created for free that can be used for everyone.
Open source- software that is created for use by anyone
Programming- writing instructions for a digital tool.
Simulation- pretending to be the real thing.
September 23, 2015
Computational thinking -a method of problem solving that helps computer
sciences prepare problems for digital solutions.
Abstraction -removing details from a solution so that it can work for many
problems.
Algorithm - a list of steps that allow you to complete a task.
Decompose - to break a hard problem up into smaller easier problems.
Pattern - a theme that is repeated many times.
Program instructions that can be understood and followed by a machine.
Decompose-figure out the base problem
Patterns common characterizes, similarities.
Abstraction- minimize the words needed to describe what are needed to be
completed
Algorithm- creating a list of definitions to get an object.
Coding- transforming actions into a symbolic language.
Debugging- finding and fixing problems in code.
Function- a piece of code that can be called over and over.
Parameters- extra bits of information that you can pass into a function to
customize it.
Conditional-a statement that is either true or false depending on the solution.
Function call- place in your program where you call a function.
Function definition- the place where you assign a series of actions to one easy to
remember.
Variable- A placeholder for a value that can change.
If statement- a line that determents if it will run the 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 one or many times.
Nested statement- 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 its ip address.
Universal resource locator -an easy to address for calling a web page.
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 large chunks
of information.
Routing- finding the best path through a network.
Severs -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.
Dsl cable- a method of sending information using telephone or television cables.
Stage 9 maze
moveForward();
moveForward();
turnRight();
for (var count = 0; count < 3; count++) {
moveForward();
}
This code showed a command to a computer or a person, it tells you what you need
to do.
while (notFinished()) {
moveForward();
turnLeft();
moveForward();
turnRight();
}
It shows a pattern that goes through the program.
while (notFinished()) {
moveForward();
if (isPathLeft()) {
turnLeft();
}
}
It works kind of like a gps and it tells to turn right or left.
for (var count = 0; count < 4; count++) {
turnLeft(90);
moveForward(100);
}
for (var count2 = 0; count2 < 3; count2++) {
moveForward(100);
turnRight(120);
}
penColour(colour_random());
for (var count = 0; count < 8; count++) {
moveForward(100);
moveBackward(100);
turnRight(45);
}
This is used to repeat 8 times for shape with a lot of lines.
for (var count = 0; count < 4; count++) {
moveForward(100);
turnRight(120);
shoes going forward then turning right 120 degrees in a repeat block.
}
The artist
penColour('#ff0000');
moveForward(100);
turnRight(90);
moveForward(100);
turnRight(90);
moveForward(100);
turnRight(90);
moveForward(100);
this code shows when to turn and how many degrees to turn, also by how far you
go.
for (var count = 0; count < 4; count++) {
moveForward(20);
turnRight(90);
}
This shows to move forward by 20 spaces and take a right by repeating 4 times
language:
for (var count3 = 0; count3 < 4; count3++) {
for (var count2 = 0; count2 < 10; count2++) {
penColour(colour_random());
for (var count = 0; count < 4; count++) {
moveForward(20);
turnRight(90);
}
moveForward(20);
}
turnRight(80);
}
This code shoes what degrees an angle would be
for (var count = 0; count < 5; count++) {
moveForward();
turnLeft();
dig();
}
This shows a pattern where you remove dirt using a repeat block.
for (var count = 0; count < 7; count++) {
moveForward();
}
fill();
this shows that you move forward to fill in the hole.
for (var count = 0; count < 4; count++) {
moveForward(100);
turnRight(90);
}
This shows to go forward and turn right by 100 pixels on a repeat block.
function remove_7() {
for (var count2 = 0; count2 < 7; count2++) {
dig();
}
}
function fill_5() {
for (var count3 = 0; count3 < 5; count3++) {
fill();
}
}
for (var count = 0; count < 4; count++) {
remove_7();
moveForward();
turnLeft();
moveForward();
turnRight();
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 its ip address.
Universal resource locator- an easy to address for calling a web page.
AGAR.IO
104.20.38.148
CODE.ORG
54.192.19.34
COOLMATH.COM
EBAY.COM
AMAZON.COM
Youtube.com
Dell.com
23.235.33.129
66.211.185.25
54.239.25.200
173.194.112.99
143.166.147.101
Apple.com
Walmart.com
Ericmarchewka.weebly.com
moveWest();
moveSouth();
moveSouth();
moveEast();
moveNorth();
function remove_stack_of_4_piles() {
turnLeft();
for (var count2 = 0; count2 < 4; count2++) {
dig();
17.172.224.47
161.170.244.2
199.34.228.53
moveForward();
}
turnRight();
moveForward();
turnRight();
for (var count3 = 0; count3 < 4; count3++) {
moveForward();
}
turnLeft();
}
var length2;
function draw_a_triangle(length2) {
for (var count = 0; count < 3; count++) {
turnRight(120);
moveForward(length2);
}
}
function draw_a_square(length2) {
for (var count2 = 0; count2 < 4; count2++) {
moveForward(length2);
turnRight(90);
}
}
moveForward();
turnLeft();
moveForward();
turnRight();
moveForward();
moveForward(100);
turnRight(90);
moveForward(100);
turnLeft(45);
moveForward(100);
turnLeft(90);
moveForward(100);
turnLeft(90);
moveForward(100);
turnLeft(90);
moveForward(100);
turnLeft(60);
moveForward(100);
turnRight(120);
moveForward(100);
turnRight(60);
moveForward(100);
turnRight(120);
moveForward(100);
moveForward();
getNectar();
turnRight();
moveForward();
turnLeft();
moveForward();
getNectar();
moveForward();
turnRight();
for (var count = 0; count < 4; count++) {
moveForward();
}
turnLeft();
for (var count2 = 0; count2 < 4; count2++) {
moveForward();
}
turnLeft();
for (var count3 = 0; count3 < 4; count3++) {
moveForward();
}
Code for stage 3 puzzle 7
for (var count = 0; count < 4; count++) {
moveForward(300);
turnRight(90);
}
Code used to make A 3D SQUARE