Answer:
7 raise to power 10
Explanation:
Since there are 4 possible ways to make memory chip and 3 possible ways to manufacture mother board, so for each machines we have 7 possible ways of configurations.
So total number of ways in which these machines can be configured is 7*7*7*...*7= 7raise to power 10 possible ways
Answer: Plastic, metal, rubber, wiring, electricity, technology, wifi,
Explanation: You need PLASTIC to make a frame for the computer. METAL
to make an exoskeleton under the plastic frame. RUBBER to hold those loose wires and to make sure the electricity doesn't escape and shock you. ELECTRICITY to charge and make the computer runs. Technology is used for you to log in and out of your computer and WIFI to make sure it doesn't lag.
Answer:
public static String repeat(String text, int repeatCount) {
if(repeatCount < 0) {
throw new IllegalArgumentException("repeat count should be either 0 or a positive value");
}
if(repeatCount == 0) {
return "";
} else {
return text + repeat(text, repeatCount-1);
}
}
Explanation:
Here repeatCount is an int value.
at first we will check if repeatCount is non negative number and if it is code will throw exception.
If the value is 0 then we will return ""
If the value is >0 then recursive function is called again untill the repeatCount value is 0.
I personally think that summarizing important points is the way to go!