Answer:
1. Supercomputers
Supercomputers are very expensive and very fast. They are the most powerful computers we have in the world.
Supercomputers are optimized to execute only a small number of programs. This makes it possible for them to execute these few programs at a very high speed. Due to their inhibiting cost, they are used in high-end places like in scientific research centers. The supercomputer consists of thousands of processors, allowing it to clock in at very high speeds measured by petaflops.
These computer types are also very large in size due to the numerous parts and components involved in their design.
A good example of a supercomputer is Tianhe-2, which is located in the National Supercomputer Center in Guangzhou, China. It features 3.12 million cores, allowing it to run at speeds of 33.86 petaflops.
2. Mainframe Computers
These are large and expensive computers that are capable of supporting thousands of users simultaneously. They are mostly used by governments and large organizations for bulk data processing, critical applications, and transaction processing. They are ranked below supercomputers.
3. Minicomputers
Minicomputers are mid-sized computers. In terms of size and power, they are ranked below mainframes. A minicomputer is a multiprocessing system capable of supporting from 4 to about 200 users simultaneously.
The use of the term minicomputer has diminished since the introduction of microprocessors. These machines are now more commonly called midrange computers.
4. Microcomputers
A microcomputer, also known as a personal computer, is designed to be used by one user at a time. The term microcomputer relates to the microprocessor that is used for the purpose of processing data and instruction codes. These are the most common computer types since they are not very expensive
Answer:
price float(price)
Explanation:
There are four basic type of data type use in the programming to declare the
variable.
1. int: it is used for integer values.
2. float: it is used for decimal values.
3. char: it is used for character values
4. Boolean: it is used for true or false.
in the question, the one option contain the data type float (price float(price)). So, it store the value in decimal.
price int(price): it store the value in integer.
price decimal(price): it is wrong declaration of variable. their is no data type in the programming which name is decimal.
price price(decimal): it is wrong declaration of variable. their is no data type in the programming which name is price.
Answer:
It sorts all the data in record.
Explanation:
third one is verified
Answer:
The program in QBasic is as follows;
PRINT "Number: "
INPUT N
LET FACT = 1
FOR I = 1 TO N
FACT = FACT * I
NEXT I
PRINT FACT
END
Explanation:
This prompts user for number
PRINT "Number: "
This accepts input from the user
INPUT N
This initializes the factorial to 1
LET FACT = 1
This iterates through the number the user inputs and calculates its factorial
<em>FOR I = 1 TO N
</em>
<em> FACT = FACT * I
</em>
<em>NEXT I
</em>
This prints the factorial
PRINT FACT
The program ends here
END
Answer:
ls -pla > mydir
Explanation:
ls is the command to list the contents of the directory.
-p option indicate / as the designator for directories
-l options enables line by line entries for files
-a option lists all files including special files starting with .
> is used for redirecting the output of the ls command to the specified file.
So ls -pla > mydir will run ls command with -pla option and populate the file mydir with the contents of the result.