Tag: programming languages
Questions Related to programming languages
-
Always after execution has left a try{} block, no matter for what reason.
-
Only when an unhandled exception is thrown in a try{} block.
-
Only when any exception is thrown in a try{} block.
-
Always just as a method is about to finish.
-
lseek(), open(), write(), close()
-
open(), write(), lseek(), close()
-
open(), lseek(), open(), , write() close()
-
None
-
vforlk() allows more one child process to be created simaltaneously whereas for() allows only one
-
vfork() retains same PID for child & parent known as virtual PID
-
vfork() suspends the parent process until child process exits
-
fork() & vfork() are same
-
getenv(), setenv()
-
getenv(), putenv()
-
readenv(), writeenv()
-
You cannot environmement variables inside a program
-
Wakes up kernel from sleeping
-
Wakes up devices from sleeping
-
Invokes a kernel to send SIGALARM to the calling process
-
Invokes a kernel to send SIGALARM to the registered process
-
A memeory shared between kernel & devices
-
A memory shared between root user and ordinary user
-
A memory shared across processes
-
Harddisk
-
The interval between child terminating and the parent calling wait()
-
The interval between parent terminating and the child calling popen()
-
The interval between parent terminating and the child termination
-
None
-
They never releases the memory utilized
-
They release the memory but kernel does not use them
-
Since they are running
-
It’s a false statement
-
Its not possible
-
use isused() function
-
Try to open file with locking enabled
-
Try to write the file after opening
-
Use filelock()
-
use lockfile()
-
Use lockfd()
-
use fcntl()