Answer:
Fraud, Copyright, Defamation, Harassment and Stalking, Freedom of Speech, Trade Secrets, and Contracts and Employment Law.
Explanation:
These are the major areas of cyber law.
The correct answer for the given question above would be the third option: PETROLEUM. When food is <span>shipped thousands of miles throughout our country using various types of transportation such as trucks, planes, and boats, food availability would be most affected by a shortage of PETROLEUM. Petroleum is the energy that is used for trucks, planes, and boats for transportation. Hope this helps.</span>
I think it would be fire wire
Answer:
Option (4) is the correct answer of this question.
Explanation:
The switch is used to handle the multiple selections in the program when we need to choose on the condition and we have more then one condition arises then we have used the switch statement in the PHP.
Syntax of using Switch:-
switch(variable)
{
case 1. statement
Break;
..................
default :
case n:
statement n
}
Other options do not use multiple selections so they are incorrect options.
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.