OS+&+SP+Recall+Quiz+Questions
OS+&+SP+Recall+Quiz+Questions
1) An Operating System is
- facilitator
- application
- text Editor
- government
9) _____ helps output of one process become input of other (most effective way).
- >
- <
- >>
- |
10) Which is the best way to search for data in a text file?
- Search
- Find
- Look
- Grep
16) Which special variable holds the exit status of the last executed command?
- $?
- $#
- $!
- #!
21) What is the unique identification for every file in a hard disk?
- file descriptor
- inode number
- file pointer
- file identifier
27) Which of the following is NOT a file management related system call
- read()
- Write()
- fork()
- close()
29) Which system call is used for waiting for a particular process?
- wait()
- hold()
- waitpid()
- stall()
31) How is fifo different from pipes, with the context of IPC
- fifo has a name
- all the options are true
- fifo can be used for unrelated processes
- fifo can be created using commands too
32) Threads do not have the overhead of:
- all the options seem true
- having PID, PPID
- managing IPCS
- managing user & group IDs
33) The process of saving the state of one process/thread and restoring the state of another for
execution is called
- Loading
- Context switching
- Dispatching
- Linking
34) If multi processes are reading from the same fifo sequentially, then:
- data will be shared
- all the data will be stored by the latest process
- fifo will not allow multi processes sequentially
- data once read will be deleted, and the new process only gets remaining data
47) GIT is a
- Centralized version control system
- Distributed version control system
- Integrated Development Environment
- Dubugging system