Tag: programming languages

Questions Related to programming languages

  1. a) sed 's/[ ][^ ]*$//' test2

  2. b) sed 's/[ ][ ]*$//' test2

  3. c) sed 's/[ ][ ]*$/' test2

  4. d) sed 's/[ ][ $]*$//' test2


Correct Option: A
  1. a) duplicate()

  2. b) dup()

  3. c) cp()

  4. d) mknod()


Correct Option: B
  1. a) Both are Unix scheduling utilities

  2. b) at is restricted one and crontab is not restricted

  3. c) No difference

  4. d) at takes input from user while cron takes from a confiuration file


Correct Option: D
  1. a) telnet works only with terminals where rsh works for all

  2. b) telnet is unix product while rsh is a TCP product

  3. c) telnet uses byte protocol while rsh uses stream protocol

  4. d) No difference. They can be used interchangably


Correct Option: C
  1. a) remove the object and its collections from the first level cache

  2. b) remove the object and its collections from the second level cache

  3. c) remove the object and its collections from the data base

  4. d) None of the above


Correct Option: A