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:
1) Limited data sharing
Explanation:
In Database approach, there are many advantages over traditional file system like program-data independence, Minimal data redundancy
, Improved data quality and reduced program maintenance.
There is no limitation in sharing of data we can access/modify the data form different departments,users can use the shared data at the same time.
Answer:
Remote Desktop is the answer for the question.
Explanation:
Because It is an application which provides the ability to connect with the another computer through the internet connects whether that system is anywhere in this world but they required a proper internet connection. They also connects with no internet connection but they required the both systems in a proper range.
The key role of a multimedia designer is to combine graphic design with animation to create computer based movies/presentations.
(additional information about multimedia designers) They use software programs to create the graphics and animations found in websites, television ads, computer games and films. Their completed project communicates their subject matter in a multimedia setting(meaning on different forms of media, ex: newspaper, TV, magazines, books, etc.)
A bus is a high-speed internal connection. ... Three types of bus are used. Address bus - carries memory addresses from the processor to other components such as primary storage and input/output devices. The address bus is unidirectional . Data bus - carries the data between the processor and other components.