Answer:
1 to 5 both included.
Explanation:
rand() is the function which is used to generate the random values within the range.
for example:
rand() % 10;
it means it generate the output from 0 to 9. if we add the 1 in the above code:
like 1 + (rand() % 10);
Then, the range is from 1 to 10, it increase the range from start and end as well.
in the question code, for loop is used to for executing statement 9 times.
rand() % 5
it generate the number from 0 to 4.
and 1 + ( rand() % 5 ))
it generate the output from 1 to 5
Therefore, the answer is 1 to 5.
Answer:
D. Power cords to the motherboard are not connected.
Explanation:
The correct option is the power cord that supplies electricity to the motherboard is not connected. The idea that there's no light or sound indicates the system isn't on or booting. The only option there that indicates why the computer may not boot.
Other options available albeit creates a problem for the computer, will still turn on the computer. But if the motherboard doesnt get power, the booting process doesn't start.
B.Proper diagnosis will save time and money
Answer:
1. Spreadsheet software.
2. Word processor.
3. Database software.
4. Multimedia software.
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.
Simply stated, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.
Basically, the various type of softwares used on computers to perform specific functions include the following;
1. <u>Spreadsheet software</u>: it can be used to create tables with embedded calculations. A spreadsheet can be defined as a file or document which comprises of cells in a tabulated format (rows and columns) typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.
2. <u>Word processor</u>: it can be used to format or edit .doc files. Some examples of word processors are Notepad, Microsoft Word, Sublime text, etc.
3. <u>Database software</u>: it can be used to store data in ordered form. Thus, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security. These records are stored and communicated to other data user when required or needed.
4. <u>Multimedia software</u>: it can play .mpg and .mp3 files. A multimedia software refers to a software that is designed and developed to accept, utilize and combine various file formats such as audio, video, text, animation effects, etc.