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:
Un cursograma permite representar gráficamente procedimientos administrativos. Constituyen instrumentos importantes para la visualización global y esquemática del conjunto de tareas administrativas.
Answer:
It is is A
Explanation:
Becuase if you shrink a text thats just the answer
MS-DOS is a command-line operating system.
Therefore, the best answer is Command-line.
Answer:
2^11
Explanation:
Physical Memory Size = 32 KB = 32 x 2^10 B
Virtual Address space = 216 B
Page size is always equal to frame size.
Page size = 16 B. Therefore, Frame size = 16 B
If there is a restriction, the number of bits is calculated like this:
number of page entries = 2^[log2(physical memory size) - log2(n bit machine)]
where
physical memory size = 32KB which is the restriction
n bit machine = frame size = 16
Hence, we have page entries = 2^[log2(32*2^10) - log2(16)] = 2ˆ[15 - 4 ] = 2ˆ11