Reading assignement homework answers:
1. Expression is the simplest kind of statement, any fragment of code that produce a value is an expression!
2. Binding is the second kind of statement that catch and stores an values from their expressions
example:
var car = "Ford";
console.log(car);
//
special words like var let const indicates a biding(variable), special word followed by the biding name and equal operator and a value we want to storeâŠ
after we create a biding, We can use it as expressionâŠ
(keywords may not be used as biding name)
examples:
let five = 5;
console.log(five*five);
//
//or
let a = (5/2.5);
let b =(10*1.5);
console.log(a+b);
//
we can also change the var name after we create itâŠ
let color = red;
console.log(color);
//
let color = blue;
console.log(color);
//
//or
let a = 10;
let b = 2;
console.log(a*b)
//
let b = 5;
console.log(a*b);
3. Environment is collection of bidings(variables) and their values that exicst !
When program starts the environment always contains bindings(variables) that are part of the language standard like in the browserâŠ
4. Function is a piece of program wrapped in a value.
for example in a browser environment , the biding alert holds a function that shows little alert box with a value(argument) written in parenthesesâŠ
executing the function is called invoking or calling itâŠ
5. Function examples:
alert("value");
//
//or another binding holds a function that shows a dialog box asking for some input
prompt("Enter your full name:");
//
6. Side effects is an expression(statement) that could affect the internal state of the machineâŠ
side effects is the dialog box, alert or writting text to the screen. in other words is a statement result that changes something that affects the programâŠ
7.
example of a function that produces a side effect:
alert("some value");
//or
prompt("some value");
example of a function that produce a a value:
console.log(math.min(1,3,7,9));
//or
console.log(math.min(3,5));
8: Control flow is the way the program executes the code, the statements of the code are executed from top to bottom like a book at least in Javascript
âŠ
9. Conditional execution is like creating a branching road in which the program code takes the correct road depends on the situation (the conditions) at the roadâŠand the cods runs only under certain conditionsâŠ
10. The keyword is if

i would like to mention my english grammar is not so good and It took me a while to finish these homework all day 