It appears on Document window tab
I think it’s a
if it isn’t a then it’s d
Pseudocode
<span>
Start
<span>
input myNumber
<span>
set myAnswer = myNumber / 2
output myAnswer
<span>
stop
<span>Pseudocode is a computer programming language that resembles plain English
and compiled or process into the computer. It explains the solution of the problem.
Sometimes used as a detailed step by step process in developing a program</span></span></span></span></span>
Answer:
import java.util.Scanner;
public class num10 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter the numbers to add up. enter 999 to stop");
int num = in.nextInt();
int sum = 0;
while (num!=999){
sum = sum+num;
System.out.println("Enter the next number");
num = in.nextInt();
}
System.out.println("The sum is: "+sum);
}
}
Explanation:
The application is implemented in Java
A while loop is used to continously prompt user for inputs. The condition of the while loop is while (num!=999)
When the number 999 is entered, it displays the sum which is initialized to 0
Answer:
Answer of the given question is :
I/O-bound
programs would not require much CPU usage, having short CPU bursts.
CPU-bound programs require large CPU bursts. CPU-bound processes do not
have to worry about starvation because I/O bound programs finish running
quickly allowing CPU-bound programs to use the CPU often.
Explanation:
I/O-bound
is a thread generally has a tight latency that needs a compare to computer bond thread on the windows workload.
When a mouse click then it response ASAP as compared to batch job which is running in the background.
If the outcome is slower, then the user switch the operating systems and server workload does not care about UI