Unix Interview Questions - 30 | Snaprecruit.com
Unix Interview Questions - 30 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Unix interview questions part 30
Unix interview questions part 30
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. The parent process picks up the exit status of a child using ___ system call.
A. wait
B. waitp
C. exec
D. kill
Show Correct Answer
Correct Answer is :
wait
2. Which of the following system call is more powerful (in waiting mechanism) than wait system call?
A. waitp
B. waitpid
C. kill
D. run
Show Correct Answer
Correct Answer is :
waitpid
3. If the child dies first but the entry of that child in the process table is still present, then that process is called ____
A. orphan
B. zombie
C. termin
D. daemon
Show Correct Answer
Correct Answer is :
zombie
4. Every process belongs to a process group.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
5. ____ exec is responsible for executing programs on a UNIX system.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
6. Which of the following system call is used for duplicating file descriptor?
A. dup
B. decr
C. exec
D. execv
Show Correct Answer
Correct Answer is :
dup
7. We can also duplicate the file descriptor using ___
A. dup1
B. dup2
C. exevr
D. exec
Show Correct Answer
Correct Answer is :
dup2
8. Which of the following system call is preferred over dup and dup2 for replicating file descriptor?
A. dup3
B. fcn
C. fcntl
D. exec
Show Correct Answer
Correct Answer is :
fcntl
9. Which of the following system call is used for inter-process communication?
A. fork
B. pipe
C. fcntl
D. exec
Show Correct Answer
Correct Answer is :
pipe
10. We can use pipe with fork system call.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
11. The action that a signal takes on receipt of a signal is called ____
A. reposition
B. disposition
C. composition
D. event
Show Correct Answer
Correct Answer is :
disposition
12. The sources from where the signals can be generated are:
A. keyboard
B. hardware
C. a C program
D. keyboard, hardware, a C program
Show Correct Answer
Correct Answer is :
keyboard, hardware, a C program
13. There are _____ signals that are generated from the keyboard.
A. 2
B. 3
C. 1
D. 5
Show Correct Answer
Correct Answer is :
3
14. Which of the following signals are generated from the hardware?
A. SIGFPE
B. SIGILL
C. SIGSEGV
D. SIGPE, SIGILL, SIGSEGV
Show Correct Answer
Correct Answer is :
SIGPE, SIGILL, SIGSEGV
15. ___ system call behaves in an identical manner to the kill command.
A. alarm
B. kill
C. pause
D. signal
Show Correct Answer
Correct Answer is :
kill
16. Which library function uses kill to send any signal to the current process?
A. getc
B. raise
C. catch
D. try
Show Correct Answer
Correct Answer is :
raise
17. Which system call is used to set a timer that generates the SIGALARM signal?
A. pause
B. alarm
C. read
D. signal
Show Correct Answer
Correct Answer is :
alarm
18. If two users execute the same program, the memory requirements are doubled.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
19. Address space of a process is virtual.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
20. Which of the following system calls returns one or more file descriptors?
A. dup, dup2
B. fcntl
C. pipe
D. dup, dup2, fcntl and pipe
Show Correct Answer
Correct Answer is :
dup, dup2, fcntl and pipe
Similar Interview Questions
Search for latest jobs
Find Jobs