Tag: operating systems

Questions Related to operating systems

What are the benefits of IPQoS?

  1. policy-based bandwidth provisioning

  2. automatic configuration of IP interfaces

  3. prioritize only inbound network bandwidth

  4. prioritize only outbound network bandwidth


Correct Option: A,D
  1. nisinit -a

  2. update all ASCII source file

  3. /sbin/init.d/ypinit start

  4. /sbin/init.d/nis.server start


Correct Option: B

Which command uses NTP to keep the local system clock in sync with other nodes on the network

  1. /usr/sbin/ntpsync

  2. /usr/sbin/ntpdate

  3. /usr/sbin/ntpscan

  4. /usr/sbin/ntpd.conf


Correct Option: B
  1. nroff -e

  2. netformat -a

  3. nettl -l filename

  4. netfmt -f filename


Correct Option: D

A user types history command and gets the following output 141 cd .tcs 142 ll tcs.lst 143 pwd 144 vi tcs.lst 145 ll -lrt | awk '{ print $NF }' 146 echo "Test" 147 ps -ef | grep lsnr 148 grep a * 149 ls 150 echo $PWD Refering to the scenario above, which one of the following is not a method for recovering the pwd command

  1. r 143

  2. fc -e -r p

  3. fc -e 143

  4. r -8


Correct Option: B

Consider the script let i=2 while (( i <= ($l - 1) )); do if (( ($l % i ) == 0 )); then print $i $l $? break; fi let i=i+1 done What is the program all about and what are the possible outputs?

  1. checks prime number; returns one when not prime and zero when prime

  2. checks prime number; returns none when not prime and zero when prime

  3. checks prime number; returns zero when not prime and one when prime

  4. checks prime number; returns zero when not prime and none when prime


Correct Option: D
  1. #On the beach at night, stands a child with her father

  2. #On #the #at #a #with #her

  3. #beac #nigh #stan #chil #fath

  4. #beach #night, #stands #child #father


Correct Option: D