if the question is if she should..
Explanation:
Yes, she should if she plans to use it for a couple years she should get the best anti virus software :)
The only way without a while loop and no method I can think of is use switch with every possible variation of the four digit binary which is 15.
Here is the starter code:
import java.util.Scanner;
public class MyClass {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int digit = sc.nextInt();
switch(digit) {
case 0000:
System.out.println("0");
break;
case 0001:
System.out.println("1");
break;
case 0010:
System.out.println("2");
break;
case 0011:
System.out.println("3");
break;
case 0100:
System.out.println("4");
break;
… (fill in other cases)
}
}
}
Use this link: https://www.electronics-tutorials.ws/binary/bin_3.html
There might be a better way, but without loops or methods this is all I got.
Depends on what application - If it is a number crunching application, it will use a lot of CPU power
If it's a graphics intensive video game, it will take a lot of graphics card power
If it's a application that has a lot of things going on, like tabs in google chrome, then it will use a lot of RAM
Internet access can be done through several ways like the dial-up network access or broadband connection.
There are some technologies used to get into the internet like the modem or a (LAN) Local Area Network that can be wired or wireless.