Answer:
The correct option is : c. 0
Explanation:
The XOR Cipher is an encryption technique which involves an operator called the xor operator. The XOR operator is denoted by (⊕).
This cryptographic technique uses key to convert the plain text into the encoded value with the help of XOR multiplication.
<u>Example: 1 + 1 = 0 </u>
This value, 0 is encrypted. It is obtained from the plain text, the provided key and the xor operator.
<u>for example:</u>
Plain message :
1011
key to encrypt Plain message
:
1001
The encrypted message is :
1⊕1=0
0⊕0=0
1⊕0=1
1⊕1=0
encrypted message is :
0010
<u>The result of adding two bits 1 and 1 in xor cipher : 1⊕1 =0</u>
Answer:
Avoidance of eye contact.
Staring.
Crossed arms.
Overuse of hands.
Looking at watch.
Poor posture.
Frowning.
Sweating.
( but what??)
Answer:
to be effectively computable, the person is definite, explicit and 'mechanical'.
Answer:
The correct answer for the given question is option(a) i.e Local - within that function
.
Explanation:
The variable which is declared inside any function are called as local variable The scope and lifetime of local variable is inside that block or function only.
They cannot access outside the function.
Following are the example of local variable
#include <stdio.h> // header file
void fun(); // function prototype
int main()// main function
{
fun(); //calling function
print("%d",t); // it gives error because t is local variable cannot access in main function
return 0;
}
void fun()
{
int t=9;// local variable
printf("t is local variable which value is:");
printf("%d",t);
}
As we seen that t cannot access outside the function .So correct answer is option(a)
Answer:
This question is answered using Java programming language:
public static void print10(String[]arr){
for(int i =0; i<10;i++){
System.out.println(arr[i]);
}
}
Explanation:
This line defines the method
public static void print10(String[]arr){
This iterates from 0 to 9 index of the array. In other words, 1st to 10th
for(int i =0; i<10;i++){
This prints the required output (one on a line)
System.out.println(arr[i]);
}
}
<em>Refer to attachment for the complete program that includes the main method.</em>