Answer and Explanation:
Using Javascript:
test7_11_13(num){
If(num%7===0||num%11===0||num%13===0){
Console.log("yes it is a multiple of 7,11 or 13");
}
else{
Console.log("It is not a multiple of any of the numbers");
}
function(num){
var makeString= num.toString();
var splitString= makeString.split("");
var makeNumber= splitString.map(Number());
var New_number= makeNumber.reduce(function(a, b) {
return a+b};,0)
}
If(New_number%2===0){
Console.log("it's an even number");
}
else{
Console.log("it's an odd number")
}
If(num%2===0||num%3===0||num%5===0||num%7===0||num%11===0){
console.log("it's not a prime number");
}
else{
console.log("it's a prime number");
}
}
From the above we have used javascript if..else statements to test the conditions for each question and output the answer to the console using console.log(). In the last part for prime number, you could also choose to use else if statements(if,else if, else if) to test the value of the num parameter and output if it's a prime number.
Answer:
eavesdropping
Explanation:
Eavesdropping is as an <em>electronic attack</em> where digital communications are intercepted by an individual whom they are not intended. This is done in two main ways: <em>Directly listening</em> to digital or analog voice communication or the <em>interception or sniffing</em> of data relating to any form of communication.
he will need a microphone, it is a recording device.