Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 361 to 375 of 627

Q. What command be used to find the systems previous run level ?

a. runlevel

b. level

c. rlevel previous

d. show level previous

  • a. runlevel

Q. You want to have the process/etc/myprocess run when the system enters run level 3. Which of the following inittab entries would accomplish this ?

a. 5:3.once:/etc/myproces s

b. 3:4:once:/etc/mypr ocess

c. once:3:4:/etc/myp rocess

d. once:5:3:/etc/my process

  • a. 5:3.once:/etc/myproces s

Q. Which of the following syslog.config entries would cause kernel error message to be sent to the system console ?

a. kern warning console

b. kern.error console

c. kern.warning/dev/ console

d. kern error console

  • c. kern.warning/dev/ console

Q. You want there to be 3 grace days after a password expires before an account becomes disabled. How would you do this?

a. use the useradd command with the -f switch

b. check the delay option in user admin

c. edit the user\s user.config file

d. use the useradd command with the -d switch

  • a. use the useradd command with the -f switch

Q. You want to install lilo. Which of the following would you do to accomplish this?

a. lilo -u

b. remove lilo

c. uninstall lilo

d. lilo -r

  • a. lilo -u

Q. You want to view a listing of previously enetered commands. What command would you use ?

a. hist

b. histfile

c. showbuff

d. history

  • d. history

Q. You want to add files to a previously created tar file. You want to replace existing files with newer files, how can you do this ?

a. use the append command

b. use the tar command with the - t switch

c. use the add command

d. use the tar command with the -u switch

  • d. use the tar command with the -u switch

Q. Perl stands for                        

a. practical extraction and report language

b. practical extraction and ready language

c. post expression and report language

d. none of the above

  • a. practical extraction and report language

Q. What is output of following perl program ? My $val='x'; print ref($val);

a. scalar

b. empty value

c. string

d. "not a reference"

  • b. empty value

Q. perl                              

a. is an effective multi tasking langugae that requires a great deal of development time.

b. is easy to learn and use, but awkward when dealing with compex tasks.

c. is available in all major operating system, but is quite expensive

d. can handle a variety of tasks involving large amounts of data with ease

  • d. can handle a variety of tasks involving large amounts of data with ease

Q. What is the first line in every perl script that contains special instructions to the operating system ?

a. the perl interpreter line

b. the shebang line the perl statement

c. the standard out line

d. the perl statement

  • b. the shebang line the perl statement

Q. The print function                  

a. retrives data from the user while a script is executing

b. prompts the user for specific information

c. modifies a string

d. outputs a string to standard out

  • d. outputs a string to standard out

Q. Which of the following is true of all Perl scripts ?

a. meta characters are always preceded by a forward slash

b. perl statements are always followed by a period

c. parameters must always followed by period

d. perl statements are always followed by a semicolon

  • d. perl statements are always followed by a semicolon
Subscribe Now

Get All Updates & News