Answer:
B. 11110111
Explanation:
Binary representation of number 9 = 00001001
Binary representation of -9 would involve calculating the twos complement representation of 00001001
First we compute the ones complement of this number by reversing the bits.
00001001 => 11110110
Next we calculate the twos complement representation by adding 1 to the ones complement.
11110110+1 = 11110111
So the final representation is 11110111.
Answer:
Advanced persistent threat.
Explanation:
Advanced persistent threat is a threat actor implemented by either a government supported or private group to intrude a network or system and stays undetected, collecting information over a period of time.
It is used by cyber terrorist group to facilitate massive attacks based on the information retrieved. National or government group use the concept to promote national security.
Answer:
a) Global
Explanation:
The scope of a variable declared outside of any function is Global.
Let us consider an example:
int g;
int add(int a,int b){
return a+b;
}
int subtract(int a,int b){
return a-b;
}
Here the variable g is defined outside any function and is accessible anywhere within the program. This is a global variable.
Variables defined within each function - a,b on the other hand have a local scope are are visible only within their respective function bodies.
Answer: squared ← number * number
Explanation: