Java was intially called as
green
Oak
bean
applet
Which is not the scripting language
Java Tcl
JRuby
Sleep
JavaOne
Which is not the keyword
java
boolean
super
this
How do you write an infinite loop using the for statement
while(true){ }
for(i=0;i>1;i--){ i++ }
for ( ; ; ) { }
while(false){ }
1 How to send signals to other processes?
1 Use sigsend()
2 use kill()
3 use signal()
4 Only init can send signals
2 Does Linux supports multi-threading?
1 No
2 Yes
3
4
3 How to create devices/device files in Linux
1 mkdev
2 mknod
3 lndev
4 None
4 What is a /dev/zero device in Linux?
1 A dummy device to represent memory
2 A dummy device to represent the processor
3 A dummy device to provide infinite number of zeros
5 What is /dev/full device in Linux?
1 A device file to represent that the current file system is full
2 A device file to test scenarios of testing a /dev/full
3 Invalid device
6 What is /dev/random device?
1 A dummy device to represent swap
2 A dummy device to represent any device
3 A dummy device to provide infinite number of randon numbers
4 Invalid device