Answer:
Java program is explained below
Explanation:
import java.util.HashSet;
import java.util.Map;
import java.util.TreeMap;
public class TruckRace1 {
public static HashSet<String> getPIDs (Map<String,String>nameToPID ){
HashSet<String> pidSet = new HashSet<>();
for(String ids: nameToPID.values()){
pidSet.add(ids);
}
return pidSet;
}
public static void main(String[] args) {
Map<String,String> pids = new TreeMap<>();
pids.put("John","123");
pids.put("Jason","124");
pids.put("Peter","125");
pids.put("Alice","126");
pids.put("Peny","129");
HashSet<String> ids = getPIDs(pids);
for(String id:ids){
System.out.println(id);
}
}
}
Answer:
A correct answer to the following question will be Option B (Uses symbolic representations of data in the form of code).
Explanation:
A specific hardware unit that has a microcontroller in it. Now, there are countless portable gadgets including one with a laptop, mobile, and smartphone or watch.
- There will be various analog devices, on the other hand, including an electric fan, thermometer, and a bicycle.
- This makes use of abstract data or information representations in text or code type.
Answer:
Explanation:
Known Variables A = max Daily Rentals
X = Damaged helmets %
lets find the formula to calculate Helmets per location :taking 1st row as an example.
412 = B - (B*13/100)
412 = (100B-13B)/100
412*100 = 87B
B= 412*100/87
Hence, the generic formula becomes : B= A*100/(100-X)
Applying the same formula for each row and then using ROUND function of excel to round off the digits
=ROUND(number,digits) where number is the number you would like to round off and the digits is the number of decimal digits for it to round off. Since we want natural numbers in our example, we will be using digits as 0.
Explanation:
See attached pictures also.
Answer:
A. Processor.
Explanation:
When a computer system works working or does not boot, it is mostly ask a result of power supply failure.
The system does not come on, that is, the fan and screen does not come up and the caps lock indicator is not blinking. The power supply shows that the power is good.
When the processor is not sitting properly and when the motherboard has failed, the signs mentioned above are observed.
Not to escalate the problem, test for the processor status as a probable cause with another functional and compatible processor before the motherboard.
Instant messaging (IM) is a type of communication where one person can send a message (typically text based) and have another (1 or more) recipient receive the message.