Archive for February, 2018

Flow Control Structures Reveiw:For Ms. Schron’s class

Flow Control Structures: The programmer’s tools to get a computer to do something or take a specific action. There are three flow control structures in programming: sequence, conditions, and loops.

Sequence  Also called order of events.Sequence is the order you write your code in.

Loops Refers to repeating of a line of code written. In Scratch think of the Repeat button or Forever Button that allows you to write one line of code repeat it many times.

Conditional – The “if you do this, then this happens” statements in code. “if the user types his password then he gets into the website. In Scratch, if you press the flag then the Sprite does something.

Algorithm

Set of Steps in a specific order not necessarily in computer code to complete a task

Here are a set of online flash cards to study the definitions of these coding terms.

Click here for Flash Cards

http://www.cram.com/flashcards/coding-terms-9529257

SEQUENCE DEMAND THAT THE CODE BE EXECUTED EXACTLY AS WRITTEN IN THE SAME ORDER

COMPARE THESE TWO CODES. 

ANSWER THE QUESTION DO THEY HAVE ALL THE SAME BLOCKS? ARE THEY IN THE SAME ORDER? DO YOU THINK THE OUTCOME OF THE EXECUTED CODE WILL BE THE SAME?

IF YOU SAID NO YOU WOULD BE RIGHT.

 


Flowcab on “Events” In code.

Lets Kahoot  Here

What is an Event? Flowcab answers this question nicely!  https://www.flocabulary.com/unit/coding-events/vocab/

Event

noun – an action that causes something else to happen in a computer program.

The video paused in response to the event of me pressing the spacebar.

Action (noun) something performed by a user that causes a program to respond.

The action of me clicking the icon caused the program to launch.

Event handler (noun) a bit of code that listens for a discrete event and executes a given reaction when the event occurs.

The event handler makes my character jump when I press the m key. In pseudocode, it reads “when m pressed, character jumps.”

Interactive (adjective) allowing two-way communication between a computer and a person.

Most computer games are highly interactive.


Scratch On!!!! Make one Letter Chase another Letter.

Here is the link to the  other CS Movie 


Sequencing Review and Kahoot!

LET’S KAHOOT!

Sequence:

Sequence is important in code. A sequence is also called Order of Events.

Remember Computers always read from top to bottom. Right to left.

SEQUENCE DEMAND THAT THE CODE BE EXECUTED EXACTLY AS WRITTEN IN THE SAME ORDER

COMPARE THESE TWO CODES. 

ANSWER THE QUESTION DO THEY HAVE ALL THE SAME BLOCKS? ARE THEY IN THE SAME ORDER? DO YOU THINK THE OUTCOME OF THE EXECUTED CODE WILL BE THE SAME?

IF YOU SAID NO YOU WOULD BE RIGHT.

This refers to the order in which you write the code. Order of events is important in code. If you change the order of events then you change the code. Think about in Scratchjr if you are writing a code for a Sprite to change color and grow bigger. The order you write it in is important.  If you tell the sprite to grow bigger first then that is the first thing that will happen if you write code for it to change color then that order in which thing will happen.

Algorithms are a set of logical steps in a certain order to complete a task. Algorithms do not need to steps written in code. 2+2=4 is an algorithm. A set of steps to make a sandwich is also an algorithm.

If you change the order you change the outcome.Sometimes if you change the order the program will not run at all.

  1. Sequence: Also known as the order of events, commands that are executed by a computer exactly as they are written. The sequence must be in the correct order for the program to run properly.
  2. Flow Control Structures: The programmer’s means of influencing a computer program’s decision-making process and movements. There are three flow control structures in programming: sequence, conditions, and loops.
  3. Command: A specific instruction given to a computer in written code from a programmer.
  4. Code: The language written by humans to communicate with computers to complete a process; programming language that gives instructions to a computer.
  5. Computer: A device for storing and processing information, responds to instructions in programming language that is written by humans.
  6. Computer Science: The study of computers.
  7. Internet: An electronic communications network that connects computer networks around the world.
  8. Program: A sequence of instructions written in a code that a computer can interpret and execute.
  9. Programmer: A person who writes code and communicates instructions to a computer.
  10. Robot: A device that sometimes resembles a human and can be programmed to carry out complex tasks.
  11. Algorithm: A sequence of logical instructions or steps needed to finish a task. Can be performed with or without a computer.
  12. Pseudocode: An informal method of writing an algorithm for a computer program using English and not code. Used for planning and is intended for humans to read it, not computers.
  13. Syntax: The spelling and grammar of a programming language.
  14. Bugs: Errors, or mistakes, in the syntax of a programming language.
  15. Debugging: The process of finding and fixing errors (bugs) in the syntax so the computer program will run properly.
  16. Technology: The use of science to solve problems and invent. A machine, piece of equipment, idea, or method that is carried out by human communicating with machines

Sequencing update and Kahoot for Ms. Dimeo’s class

Sequence:

Sequence is important in code. Sequence is also called Order of Events.

Remember Computers always read from top to bottom. Right to left.

This refers to the order in which you write the code. Order of events is important in code. If you change the order of events then you change the code. Think about in Scratchjr if you are writing a code for a Sprite to change color and grow bigger. The order you write it in is important.  If you tell the sprite to grow bigger first then that is the first thing that will happen if you write code for it to change color then that order in which thing will happen.

Algorithms are a set of logical steps in a certain order to complete a task.

If you change the order you change the outcome.Sometimes if you change the order the program will not run at all.

  1. Sequence: Also known as the order of events, commands that are executed by a computer exactly as they are written. The sequence must be in the correct order for the program to run properly.
  2. Flow Control Structures: The programmer’s means of influencing a computer program’s decision-making process and movements. There are three flow control structures in programming: sequence, conditions, and loops.
  3. Command: A specific instruction given to a computer in written code from a programmer.
  4. Code: The language written by humans to communicate with computers to complete a process; programming language that gives instructions to a computer.
  5. Computer: A device for storing and processing information, responds to instructions in programming language that is written by humans.
  6. Computer Science: The study of computers.
  7. Internet: An electronic communications network that connects computer networks around the world.
  8. Program: A sequence of instructions written in a code that a computer can interpret and execute.
  9. Programmer: A person who writes code and communicates instructions to a computer.
  10. Robot: A device that sometimes resembles a human and can be programmed to carry out complex tasks.
  11. Algorithm: A sequence of logical instructions or steps needed to finish a task. Can be performed with or without a computer.
  12. Pseudocode: An informal method of writing an algorithm for a computer program using English and not code. Used for planning and is intended for humans to read it, not computers.
  13. Syntax: The spelling and grammar of a programming language.
  14. Bugs: Errors, or mistakes, in the syntax of a programming language.
  15. Debugging: The process of finding and fixing errors (bugs) in the syntax so the computer program will run properly.
  16. Technology: The use of science to solve problems and invent. A machine, piece of equipment, idea, or method that is carried out by human communicating with machines.

Sequencing For Ms. Jen’s Class

 Kodable Login

Sequence:

Sequence is important in code. Sequence is also called Order of Events.

This refers to the order in which you write the code. Order of events is important in code. If you change the order of events then you change the code. Think about in Scratchjr if you are writing a code for a Sprite to change color and grow bigger. The order you write it in is important.  If you tell the sprite to grow bigger first then that is the first thing that will happen if you write code for it to change color then that order in which thing will happen.

Algorithms are a set of logical steps in a certain order to complete a task.

If you change the order you change the outcome.Sometimes if you change the order the program will not run at all.

  1. Sequence: Also known as the order of events, commands that are executed by a computer exactly as they are written. The sequence must be in the correct order for the program to run properly.
  2. Flow Control Structures: The programmer’s means of influencing a computer program’s decision-making process and movements. There are three flow control structures in programming: sequence, conditions, and loops.
  3. Command: A specific instruction given to a computer in written code from a programmer.
  4. Code: The language written by humans to communicate with computers to complete a process; programming language that gives instructions to a computer.
  5. Computer: A device for storing and processing information, responds to instructions in programming language that is written by humans.
  6. Computer Science: The study of computers.
  7. Internet: An electronic communications network that connects computer networks around the world.
  8. Program: A sequence of instructions written in a code that a computer can interpret and execute.
  9. Programmer: A person who writes code and communicates instructions to a computer.
  10. Robot: A device that sometimes resembles a human and can be programmed to carry out complex tasks.
  11. Algorithm: A sequence of logical instructions or steps needed to finish a task. Can be performed with or without a computer.
  12. Pseudocode: An informal method of writing an algorithm for a computer program using English and not code. Used for planning and is intended for humans to read it, not computers.
  13. Syntax: The spelling and grammar of a programming language.
  14. Bugs: Errors, or mistakes, in the syntax of a programming language.
  15. Debugging: The process of finding and fixing errors (bugs) in the syntax so the computer program will run properly.
  16. Technology: The use of science to solve problems and invent. A machine, piece of equipment, idea, or method that is carried out by human communicating with machines.

Pale Male Links

https://en.wikipedia.org/wiki/Pale_Male

 


Lets Learn how to make Sprites Chase / All classes. Another Day Another Scratch Skill

https://csfirst.withgoogle.com/c/cs-first/en/create-your-own-google-logo/create-your-own-google-logo/create-your-own-google-logo.html

https://scratch.mit.edu/projects/177224273/