Operating System - Study Mode
[#421] What is the name of the system which deals with the running of the actual computer and not with the programming problems?
Correct Answer
(B) Systems program
Explanation
Solution: Systems program deals with the running of the actual computer and not with the programming problems.
[#422] What is the initial value of the semaphore to allow only one of the many processes to enter their critical section?
Correct Answer
(B) 1
Explanation
Solution: The initial value of the semaphore that allows only one of the many processes to enter their critical section is 1.
[#423] Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and
Correct Answer
(A) hold and wait
Explanation
Solution: Deadlock in OS is a situation where two or more processes are blocked. Conditions for Deadlock- Mutual Exclusion, Hold and Wait, No preemption, Circular wait. These 4 conditions must hold simultaneously for the occurrence of deadlock.
[#424] If you do not know which version of MS-DOS you are working with, which command will you use after having booted your operating system?
Correct Answer
(C) VER command
Explanation
Solution: In computing, ver is a command in various DOS, FlexOS, OS/2 and Microsoft Windows command line interpreters such as COMMAND.COM, cmd.exe and 4DOS/4NT. It prints the name and version of the operating system or the command shell.
[#425] A partitioned data set is most used for
Correct Answer
(A) a program or source library
Explanation
Solution: A partitioned data set is most used for a program or source library. A source program is a text file that contains instructions written in a high level language. It cannot be executed (made to run) by a processor without some additional steps. A source program is also called a source file, source code, or sometimes, just source.