Consider the following case; int i; int k; for(i=0;k<10;i++){/* The body */} This will not compile?
True
False
The following will compile with no errors float abc = 2;
1.) Difference between fork() & vfork()
a) vforlk() allows more one child process to be created simaltaneously whereas for() allows only one
b) vfork() retains same PID for child & parent known as virtual PID
c) vfork() suspends the parent process until child process exits
d) fork() & vfork() are same
2.) How can I get/set an environment variable from a program?
a) getenv(), setenv()
b) getenv(), putenv()
c) readenv(), writeenv()
d) You cannot environmement variables inside a program
3.) How can I sleep for less than a second?
a) sleep(1/10)
b) Not possible
c) usleep()
d) ssleep()
4.) How can a parent and child process communicate?
a) Using open()
b) Using popen()
c) Using fork()
d) Using exec()
1) Does hibernate allow mixing table-per-class hierarchy and table-per-subclass strategies?
a) Yes
b) No
c) can't say
d) None of the above
Which statement is correct ?
a) session.contains() method to determine if an instance belongs to the session cache.
b) session.contains() method to determine if an instance belongs to the data base .
c) Both are correct
d) none of the above
5.) How do I get rid of zombie processes?
a) Use popen() & pclose()
b) Use wait()
c) Use ps()
d) None