Vous êtes sur la page 1sur 5

15 September

Automate-it works on its own without help from a human


Computer science-the art of blending humans and ideas and digital tools to increase
problem solving problems
Computer scientist- a person who is skilled at modifying problems for digital solution
Data-information including: facts samples, names and numbers
Environment-world we live in
Interface-components in the computer
Open source-a place open for any on to see
Programing-putting in codes to tell the computer how to work
Computer thinking- a method of problem solving that helps computer scientist
prepare problems for digital solution.
Abstraction-removing detail from a solution so that it can work for many problems
Algorithm-a list of steps that allows u to complete a task
Decompose-to break a hard problem up into easier ones.
Pattern-a theme that is repeated many times
Program-instruction that can be understood and followed by a machine
Simulation-a activity that is fake but is made to feel real
Coding-transforming action into a symbolic language
Debugging-finding and fixing problems in code
Function-a peace of code that can be called over and over
Parameters-Extra bits of information that you can pass into a function to customize
it
Function call-the place in your program where you call a function you have defined
Function definition- the place where you assign a series of action to one easy-toremember name
Variable - a placeholder for a value that can change.
Conditional -a statement that either true or false depending on the situation.

IP-an agreement upon set f requirements for diverting packets across networks
IP- address-a number assigned to any item that is connected to the internet
DNS-the service that translate Ural to IP address
URL- an easy-to-remember address for calling a web page
If statement a line that determines whether or not to run a certain chunk of code.
Else- another way of saying otherwise
Increment- to add a certain amount once or many times
Decrement- to subtract a certain amount once or many times
Nested statement a statement within another statement
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 computer 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 amethoud of sending information using telephone or television cables.
1.
2.
3.
4.

They decompose
Figure out the problem
Abstraction minimize the words needed to describe what is needed
Algorithm creating a list of direction to get the objective done

code
turnRight(); it tell the bird to turn right
moveForward();(); it tell the bird to move forward
turnLeft();(); it tell the bird to turn left
for (var count = 0; count < 5; count++) {(); it tell the bird to do a command 5
times

}
while (notFinished()) { it tells the bird to do the code until it hits the end

while (notFinished()) { tells the person to only to turn if the path is clear
moveForward();The "If-else" blocks checks a condition, and then does one thing OR
another. To get me to the sunflower try to use this new block.
if (isPathLeft()) {
if (isPathForward()) {
} else {
}
while (notFinished()) {it makes the person look to see witch way you can go
if (isPathForward()) {
} else {
if (isPathRight()) {
} else {
}
}
}
penColour(colour_random()); makes the color random
turnRight(90); makes you ture right
turnLeft(90); makes you turn left
moveForward(100); makes you move forward
for (var count = 0; count < 500; count++) { it repeats the code
dig();it pulls out dirt
fill(); it outs in dirt
while (pilePresent()) { it tells the charscter I read and fill in or take out of needed
}

// draw_a_square
for (var count = 0; count < 4; count++) {
moveForward((100));
turnRight(90); it draws a square

// draw_a_snowman
turnLeft(90);
var distances = [(150) * 0.5, (150) * 0.3,(150) * 0.2];
for (var counter = 0; counter < 6; counter++) {

var distance = distances[counter < 3 ? counter: 5 - counter] / 57.5;


for (var degree = 0; degree < 90; degree++) {
moveForward(distance);
turnRight(2);
}
if (counter != 2) {
turnLeft(180);
}
}
turnLeft(90);it draws a snow man

jumpForward(50); it jumps forward

function fill_5() { it
for (var count = 0; count < 5; count++) {

fill();
}
}