Answer:
The Big-O notation of the algorithm is O(n)
Explanation:
The declaration and update of the integer variable sum is a constant of O(1). The for loop statement, however, would repeat relative to the size of "n", increasing the counter variable and updating the sum total by the counter.
Answer:
"init 0" command completely shuts down the system in an order manner
Explanation:
init is the first process to start when a computer boots up and keep running until the system ends. It is the root of all other processes.
İnit command is used in different<em> runlevels, </em>which<em> </em>extend from 0 through 6. "init 0" is used to halt the system, basically init 0
- shuts down the system before safely turning power off.
- stops system services and daemons.
- terminates all running processes.
- Unmounts all file systems.
To add or remove space before or after a paragraph, users should select the Line and Paragraph Spacing icon.