3. What is JavaScript?
JavaScript is a popular __________
language that's built into all the major web
browsers and used to make web pages
interactive
4. What is JavaScript?
JavaScript is a popular programming
language that's built into all the major web
browsers and used to make web pages
interactive
5. What do we use to help us program
in JavaScript?
A_______
V_______
F_______
6. What do we use to help us program
in JavaScript?
Algorithms
Variables
Flowcharts
7. Algorithms
An algorithm is a step by step procedure for
_________
Algorithms can be used to create a set of
instructions to solve a problem – These are
called Programs and are executed by
computers.
8. Algorithms
An algorithm is a step by step procedure for
calculations
Algorithms can be used to create a set of
instructions to solve a problem – These are
called Programs and are executed by
computers.
9. Rules of creating a Flowchart
Use a ____ box at the beginning and ____ box
at the end.
Connect all symbols with _______.
Flowchart is read from top to bottom as shown
by the flow lines.
Mark a decision box with either a “Yes” or “No.”
10. Rules of creating a Flowchart
Use a start box at the beginning and stop box
at the end.
Connect all symbols with flow lines.
Flowchart is read from top to bottom as shown
by the flow lines.
Mark a decision box with either a “Yes” or “No.”
22. Activity
In pairs of two, try to create a flowchart based on
this Algorithm
Find the perimeter of a square.
1.The Input is Length and Breadth
2. The process to be created is area = Length x
Breadth, Perimeter = 2 x (Length x Breadth)
3.The output is display area and display
perimeter