Which of the following is true of signals in Linux? Question 1 options: They cou
ID: 3823120 • Letter: W
Question
Which of the following is true of signals in Linux?
Question 1 options:
They could be used for communication among processes
Processes can choose to ignore many of them
A process may only send signals to processes in the same group
All of the above
Which of the following classes of Linux threads do/does not have a time quantum associated with them?
Question 2 options:
Real-time FIFO
Real-time round robin
Timesharing.
None of the above
Two instances of the same Linux program (say cp) could share their
Question 3 options:
text segments
data segments
stack segments
all of the above
A socket is analogous to
Question 4 options:
the telephone network
a phone that is not attached to a telephone jack
a telephone jack
a television set
Special files in Linux are used to represent
Question 5 options:
the OS code
devices
i-nodes
the password file
According to the discussion in Chapter 12, perfection is reached when
Question 6 options:
nothing more can be added to the system
nothing is in the system
all system calls are implemented as library functions
Based on the discussion on “Naming,” which of the following statements is NOT true?
Question 7 options:
Directories are used to map external names onto internal names.
For a file in Unix, both its file name and its i-node number can be used internally.
How to construct and manage the names for identifying the entities, such as files, processes, and devices etc., is an important issue in operating system design and implementation.
External names are primarily designed for human beings to use while internal names are always used by the system.
Based on the discussion in Chapter 12, which of the following is considered as one of the guiding principles for the system call interface design?
Question 8 options:
If a feature or system call cannot be implemented efficiently, that functionality is not useful and programs should not be using it.
If a feature or system call might be useful in the future, it should be put in a user-level library, not in the operating system.
Both (a) and (b)
Neither (a) nor (b)
Which of the following statements is/are true?
Question 9 options:
Figure 12.8 is an example that demonstrates space-time tradeoff
Moore’s Law says that computer hardware improves by a factor of 100 every decade.
Dijkstra’s THE system was the first layered operating system.
All of the above
Based on the discussion in Chapter 12, which of the following is not one of the new system trends?
Question 10 options:
Embedded systems.
32-bit address based systems.
Hypervisor based systems.
Handheld wireless computers.
1)They could be used for communication among processes
2)Processes can choose to ignore many of them
3)A process may only send signals to processes in the same group
4)All of the above
Explanation / Answer
I am providing solution of first 4 MCQs
1.) Signals in Linux could be used for communication among processes. Processes can choose to ignore many of them and a process may only send signals to processes in the same group. Hence, option d) is correct.
2.) Real time FIFO works on the first come first serve basis and it doesn't have a time quantum associated with them. Hence, option a) is correct.
3.) Two instances of the same Linux program could share their text segments, data segments, stack segments etc. Hence, option d is correct.
4.) A socket is analogous to the telephone network. Dialing a phone no. from your phone is similar to starting a socket call. The client uses socket() function call to start the logical switch mechanism to connect the server. Hence, option a is correct.
Hope it helps, do give your valuable response.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.