C. answer the least challenging questions first
because then you get those out of the way and have more time to focus on the harder questions.
Answer:
Static scoping: x is 5
Dynamic scoping : x is 10.
Explanation:
Static scoping :
In static scoping the variable of a function take the value within the function.
If there is no values exist within the function then take the global value of the variable.
var x // No value is assigned to x so it check global value of x
function sub1() {
document.write(“x = “ + x + “”); // So it print x = 5
}
function sub2() {
var x;
x = 10;
sub1();
}
x = 5; // It is the global value of x
sub2();
Static scoping: x is 5
Dynamic scoping :
In Dynamic scoping the variable of a function take the value all the calling function ends.
If the global value is the last assigned value of a variable then it take that value.
If there exist some other function after global variable value if that function contain the variable with some assigned value variable take that value.
var x
function sub1() {
document.write(“x = “ + x + “”);
}
x = 5; // At this point x value is 5 and check there exist a function
sub2(); // So now call this function
function sub2() {
var x;
x = 10; // The value of x = 5 is replaced with x = 10
sub1();
}
Dynamic scoping : x is 10.
Answer:
Blue
Explanation:
set_Property - (topButton), (#background-color), (orange)
set_Property - (bottomButton), (#background-color), (red)
set_Property - (topButton), (#background-color), (blue)
set_Property - (bottomButton), (#background-color), (green)
Here, the background color for the 'topButton' would be "blue" when the program is finished running, as it is the last task, the topButton would be set to or it is the last thing that will run for the button.
Acceptable Use Policy is a written or electronic document that outlines etiquette policies for using networks and network resources.
Therefore, the answer is Acceptable Use Policy.
Answer:
The explaination of this question is given below in the explanation section
Explanation:
The following steps are used to create a workbook.
1- Go to start menu and search about EXCEL (application software) and then click on it to open.
If you already opened a EXCEL's workbook, and you want to create a new workbook, then you follow the following steps:
- Click the File tab.
- Click New.
- Under Available Templates, double-click Blank Workbook. Keyboard shortcut To quickly create a new, blank workbook, you can also press CTRL+N.
A new workbook will be created.