Pretty sure it’s keyloggers because it’s the only one that makes sense to me but I’m not 100% sure on that one
Answer:
Option a: Trojan
Explanation:
A Trojan or Trojan horse is one of the computer malware that exist in computing world. Trojan often appears as a legitimate software to deceive user to activate it by social engineering. Once the Trojan is activated in the user computer, a hacker can remote control the infected computer for malicious purposes such as removing files, sending files, displaying message or rebooting computer.
However, Trojan cannot be replicated in the infected computer.
Answer:
Following are the code in Java Language:
Scanner sc = new Scanner(System.in); // create a instance of scanner class
DecimalFormat frmt = new DecimalFormat("0.###"); // create a instance of // DecimalFormat class
System.out.println ("Enter the value: ");
double number = scan.nextDouble(); // Read the value by thje user
System.out.println (fmmt.format(Math.pow(number, 4))); // display the value
Explanation:
Following are the description of the code
- Create an instance scanner class i.e "sc".
- Create an instance of DecimalFormat class i.e "frmt".
- Read the value by the user in the "number" variable of type double by using the nextDouble()method.
- Finally, display the value by using System.out.println method. In this, we call the method format. The Math.pow() function is used to calculating the power up to the fourth value.
Answer:
- import java.util.Scanner;
- public class num8 {
- public static void main(String[] args) {
- int first, second, third, fourth,total;
- double decimalOne, decimalTwo, decimalTotal;
- }
- public static void getData(int first, int second, int third, int fourth, double decimalOne, double decimalTwo){
- System.out.println("Enter the Values");
- Scanner in = new Scanner(System.in);
- first=in.nextInt();
- second=in.nextInt();
- third=in.nextInt();
- fourth=in.nextInt();
- decimalOne = in.nextDouble();
- decimalTwo = in.nextDouble();
- }
- public static int computeTotal(int first, int second, int third){
- return first+second+third;
- }
- public static int computeTotal(int first, int second, int third, int fourth){
- return first+second+third+fourth;
- }
- public static double computeTotal(double decimalOne, double decimalTwo){
- return decimalOne+decimalTwo;
- }
- public static void printAll( int first, int second, int third){
- System.out.println("Number one, two and three are: "+first+" "+second+" "+third);
- }
- public static void printAll( int first, int second, int third, int fourth){
- System.out.println("Number one, two and three and four are: "+first+" "+second+
- " "+third+" "+fourth);
- }
- public static void printAll( int first, int second, int third, int fourth, int fifth){
- System.out.println("Number one, two and three and four are: "+first+" "+second+
- " "+third+" "+fourth+" "+fifth);
- }
- public static void printAll( double first, double second, double third){
- System.out.println("Number one, two and three and four are: "+first+" "+second+
- " "+third);
- }
- }
Explanation:
This solution is provided in Java:
All the variable declarations are done in the main method (lines 3-6)
Eight methods as specified in the question are created (Lines 7, 17, 20, 23, 26, 29, 33 and 37).
Observe the concept of Method Overloading (i.e. methods with same name and return types but different parameter list)