This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Calculate the number of clock cycles that are saved by using pipelining (1 point) 3. Write a plain English translation of the following Pep/7 machine instruction (2 points): 0010 0001 0000 0000 0000 0010 4. Given the Java String variable assignment String sentence = "This is a sample sentence"; what will the following sequence of Java statements print? Explain why Java will print this result. (2 points) String x = sentence.substring(4, 10); System.out.println(x); 5. Consider the set of processes in the table on the right: The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. Describe how these processes will be executed using round-robin (RR) scheduling, with a time quantum of 2. (3 points) Process Execution Time P1 10 P2 1 P3 2 P4 1 P5 5...
View Full Document
- Fall '08