Which is not a segment of a process layout in memory?
Blog
An application is 20 percent serial and 80 percent parallel….
An application is 20 percent serial and 80 percent parallel. What is its maximum theoretical speedup (based on Amdahl’s law)with infinitely many cores?
L1 and L2 are locks. Thread A holds L1 and waits for L2. Thr…
L1 and L2 are locks. Thread A holds L1 and waits for L2. Thread B holds L2 and waits for L1. Which deadlock condition is directly illustrated?
The segment of code in which the process may change common v…
The segment of code in which the process may change common variables, update tables, and write into files is known as:
The return value of the fork() system call for the child pro…
The return value of the fork() system call for the child process is ____
What is printed? int age = 18; if (age > 18) System.out.prin…
What is printed? int age = 18; if (age > 18) System.out.print(“A”); else System.out.print(“B”);
Which loop body runs zero times?
Which loop body runs zero times?
What is the value of r? boolean r = !(5 > 3);
What is the value of r? boolean r = !(5 > 3);
Which keyword provides the alternative branch of an if state…
Which keyword provides the alternative branch of an if statement?
What happens? int x = 5; if (x = 5) { System.out.println(“ye…
What happens? int x = 5; if (x = 5) { System.out.println(“yes”); }