Tag: programming languages
Questions Related to programming languages
-
a) Creates File
-
b) Does nothing
-
c) Return error
-
d) Not allowed.
-
a) sed 's/[ ][^ ]*$//' test2
-
b) sed 's/[ ][ ]*$//' test2
-
c) sed 's/[ ][ ]*$/' test2
-
d) sed 's/[ ][ $]*$//' test2
-
a) duplicate()
-
b) dup()
-
c) cp()
-
d) mknod()
-
a) Both are Unix scheduling utilities
-
b) at is restricted one and crontab is not restricted
-
c) No difference
-
d) at takes input from user while cron takes from a confiuration file
-
a) lpqrm
-
b) lprm
-
c) jobs -r
-
d) lpc -rm
-
a) telnet works only with terminals where rsh works for all
-
b) telnet is unix product while rsh is a TCP product
-
c) telnet uses byte protocol while rsh uses stream protocol
-
d) No difference. They can be used interchangably
-
a) remove the object and its collections from the first level cache
-
b) remove the object and its collections from the second level cache
-
c) remove the object and its collections from the data base
-
d) None of the above
-
im.name = "Done";
-
Item otherObject = new Item(“Done”); itemList.set(49, otherObject);
-
((Item)itemList.get(49)).name = “Done”;
-
None of above is correct as they are not changing 50th element.