Answer:
Analog computers are special purpose computer which can mesuare continuously changing data such as temperature, pressure, voltage,etc.
Answer:
Option D is the correct choice answer for the above question.
Explanation:
"exit()" is a function that is used to transfer the control of the program to the end of the program and the program gets terminated. This function defines in many programming languages. The syntax of this function is as follows--
exit() // syntax of the exit function.
Hence anybody can say that "exit" function is used to terminate the program if there are many lines belongs after the "exit()" function. Hence option D is the correct answer while other is not because--
- Option A states about the "terminate()" function which is not the function of any programming language.
- Option B states about the "return()" function which is also not the function of any programming language but "return" is a statement used to return the value.
- Option C states about the "continue()" function which is used in a loop to escape the other line of the loop and continue it.
This question really depends on the type of printer device. There are the following kinds of printers:
Inkjet
Laser
Thermal
Dye Sublimation
Dot Matrix
Solid Ink
Each of these types of printers print in very different ways. I'm not going to get into depth about all of them, as that would take too much time. But what I can do is explain to you what a logical printer object is. So when you think of a printer, you think of the actual printer hardware. However, there are three distinct parts to a printer. These three parts are: the <em>print device, the driver, and the spooler</em>. Essentially what happens is that these three components communicate with one another in order to complete print jobs. So lets say I have a wireless network laser printer which is connected to a wireless access point, along with three other workstations. Then let's say that those three workstations want to send print jobs to the network printer. What happens is that all of those print jobs are <em>spooled</em>, meaning they are placed into a print queue. The driver then takes print jobs out of the print queue at the printer object's leisure. The driver then encodes the data from the print job into a language which the print device can understand, an example being PostScript. Then the driver sends that print job to the print device, and depending on what kind of printer you have, the method in which that print job is completed varies.
Answer:
what it's main use is going to be
Explanation:
The main factor when considering buying a PC is what it's main use is going to be. This will determine what components you will need to look for. For example, if you are going to use the computer for video editing and work then you will need one with a high end CPU and lots of RAM. If you are going to use the PC for regular everyday use such as work programs (AutoCAD, Office, Photoshop, etc. ) Then you can buy a regular office computer with a mid-tier CPU, and 8GB of RAM, and no graphic card. A PC for gaming at high resolutions will require all high end parts including a high end graphics card. Therefore, knowing what its main use will be will determine cost, and what tier components you will need to buy.
Answer:
Explanation:
First we must import the package import java.util.*;
we create our scanner and we declare our variables and array
We create a for cycle, and inside the for the If sentence to evaluate every number then we print our negative and positive numbers.
numbers[10]
nega
posi
Scanner num = new Scanner(System.in);
int numbers[] = new int[10];
int nega = 0;
int posi = 0;
for(int i=0; i<=9; i++)
{
System.out.print("Enter the number "+ (i+1) +":");
numbers[i] = num.nextInt();
if(numbers[i]<0){
nega++;
}
else
{
posi++;
}
System.out.println("Negative numbers are: " + nega);
System.out.println("Positive numbers are: " + posi);
}