Answer and Explanation:
POLLING MODE: In polling mode in communication process the processor continually check UART port for data instead of UART port signaling the process through an interrupt when data is ready as is done in interrupt mode.
THE DISADVANTAGES AS COMPARED TO THE INTERRUPT MODE :
the disadvantages in polling mode is that the processor wastes time in checking the UART continually while in interrupt mode it is doing useful task
until the UART interrupt this
A programmer, developer, dev, coder, or software engineer. Any of these answers are right.
Answer:
import java.util.Scanner;
public class num6 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int product=0;
do{
System.out.println("Enter a number");
int num = in.nextInt();
product = num*10;
System.out.println("The product is " + product);
}while (product<100);
}
}
Explanation:
In the Java program above, The user will be prompted to enter a number.
The number is multiplied by 10 and assigned to a variable called product.
A do....while loop has been implemented to check the variable product
As long as this variable is less than 10, the user will be prompted to enter another number.