In: Computer Science
There is a body of software that is responsible for making it easy to run programs, allowing programs to share memory, enabling programs to interact with devices, and other stuff like that. That body of software is called the __________, as it is in charge of making sure the system operates correctly and efficiently in an easy-to-use manner.
operating system |
||
process |
||
linker |
||
compiler |
On a Linux system, which of the following gcc command can be used to compile a C file named aloha.c and generate an executable file named hello.out ?
gcc aloha.c |
||
gcc aloha.c -o hello.out |
||
gcc hello.out |
||
gcc hello.c |
||
gcc -o hello.c hello.out |
From the OS point of view, a process is a __________.
C program |
||
running program |
||
assembly code |
||
system call |
1) There is a body of software that is responsible for making it easy to run programs, allowing programs to share memory, enabling programs to interact with devices, and other stuff like that. That body of software is called the __________, as it is in charge of making sure the system operates correctly and efficiently in an easy-to-use manner.
Answer : Operating System .
Explanation : Operating System is responsible for providing platform for program to run in the system. It allow programs to share memory with the help of memory management system and make it able to enable programs to interact with devices with the help of software and hardware methods.
2) On a Linux system, which of the following gcc command can be used to compile a C file named aloha.c and generate an executable file named hello.out ?
Answer : gcc aloha.c -o hello.out
Explanation : format for C file to compile in Linux is : gcc programfilename.c -o executablefile.out
3) From the OS point of view, a process is a __________.
Answer : running program
Explanation : Program in running is called process.