Tag: programming languages

Questions Related to programming languages

To search a string at the end of the line use

  1. / *

  2. /$

  3. /&

  4. None


Correct Option: B

What is SPOOL?

  1. A mechanism to connect to printer, keyboard and monitor in linux

  2. A mechanism to share printer across users

  3. A request made by the device to linux kernel

  4. None


Correct Option: B

How to sort a file in decending order

  1. sort -d

  2. sort

  3. sort -r

  4. sort -R


Correct Option: C

"Which one of the following lines is correctly formatted as the last line of a /etc/printcap file? "

  1. :mx#2:

  2. :mx#2

  3. :mx#2\

  4. None


Correct Option: A

"Which of the following describes correctly the function of GhostScript? "

  1. A free implementation of PostScript

  2. A printing management tool

  3. A program for converting files to PostScript

  4. A free interpreter of PostScript


Correct Option: D
  1. A remote machine address

  2. A printer on a remote machine

  3. A remote printer address

  4. Both a printer and a remote machine


Correct Option: B

"Which of the following does the .seq file in the printer spooling directories do? "

  1. Prevent two jobs being sent to the same printer simultaneously

  2. Keep track of all the print jobs in the spooling directory

  3. Assign job numbers to new print jobs

  4. Record the owners of print jobs


Correct Option: C
  1. The owner of the job

  2. The root user

  3. Anyone

  4. Anyone who can submit jobs to the print queue


Correct Option: B
  1. The $* shell variable

  2. The $@ shell variable

  3. Redirected input

  4. Redirected output


Correct Option: B