Answer:
All of the above.
Explanation:
An operating system is a system software pre-installed on a computing device to manage or control software application, computer hardware and user processes.
This ultimately implies that, an operating system acts as an interface or intermediary between the computer end user and the hardware portion of the computer system (computer hardware) in the processing and execution of instructions.
Some examples of an operating system on computers are QNX, Linux, OpenVMS, MacOS, Microsoft windows, IBM, Solaris, VM etc.
Hence, the operating system (OS) provides utility software designed to perform specific tasks. Some of the tasks it performs are;
A. Establishing an Internet connection.
B. Coordinating tasks between programs.
C. Configuring peripheral devices.
D. Monitoring security.
Answer:
#include <iostream>
using namespace std;
void divide(int numerator, int denominator, int *quotient, int *remainder)
{
*quotient = (int)(numerator / denominator);
*remainder = numerator % denominator;
}
int main()
{
int num = 42, den = 5, quotient=0, remainder=0;
divide(num, den, "ient, &remainder);
return 0;
}
Explanation:
The exercise is for "Call by pointers". This technique is particularly useful when a variable needs to be changed by a function. In our case, the quotient and the remainder. The '&' is passing by address. Since the function is calling a pointer. We need to pass an address. This way, the function will alter the value at the address.
To sum up, in case we hadn't used pointers here, the quotient and remainder that we set to '0' would have remained zero because the function would've made copies of them, altered the copies and then DELETED the copies. When we pass by pointer, the computer goes inside the memory and changes it at the address. No new copies are made. And the value of the variable is updated.
Thanks! :)
Word Wrap
As the name allows, the word wraps around the document once it reaches the border, thus making it the answer.
Hope this helps!
Answer:
I'll be using python:
__________________________
a=int(input("Enter a number :"))
b=int(input("Enter another number :"))
c=int(input("Enter last number :"))
lis=[a,b,c]
sort=sorted(lis)
print("The largest number is:", sort[1])
___________________________
Answer:
The word is " Harmony"
In Art, Harmony is the balance. It is one of the seven principles of Art.
It is the delightful way the parts are organised, which creates a balanced view, the “Visual equilibrium” .
Harmony is in the music, poem, colours and even in the food. Balance give us a pleasant feeling of equilibrium.