what is an expression 1) a Expression is any valid set of Literals FX Variables, Operators, and Expressions that evaluates
to a single value.
what is binding
2) The Bind method allows an Object to borrow a method from another Object without making a copy of that method.
what is an environment
3)So a environment. So if i am running a program in a Windows environment. it means running a program on a computer that has the Windows operating system.
what is a function
4) a function is a type of procedure or routine. in some programs you get a value back and in some other programming languages it does not return a value
give a example of a function
5)int main() {
int set1[5] = {10, 20, 30, 40, 50};
int set2[5] = {101, 201, 301, 401, 501};
int i, max;
/* Process first set of numbers available in set1[] */
max = set1[0];
i = 1;
while( i < 5 ) {
if( max < set1[i] ) {
max = set1[i];
}
i = i + 1;
}
printf(“Max in first set = %d\n”, max );
what is a side effect
6) it modifies some state variable value(s) outside its local environment.
Give an example of a function that produces a side effect and another function that produces a value.
7)consloe.log(lol);
var lol = accounts [0];
what is control flow
8) control flow is a instruction or function call of an imperative program that are executed or evaluated.
What is conditional execution?
9) Conditional execution controls whether or not the core will execute an instruction.
- What kind of keyword do you need to use to invoke conditional execution?
ummm i dont know sorry