Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 406 to 420 of 627

Q. How do you remove a file ?

a. del

b. rm

c. cd

d. rmdir

  • b. rm

Q. How do you find your own username ?

a. who

b. user

c. whoami

d. root

  • c. whoami

Q. Which of the following display content of file1 ?

a. cat file1

b. cat > file1

c. cat >> file2

d. cat

  • a. cat file1

Q. Which of the following creates a file named file1 ?

a. cat file1

b. cat > file1

c. cat < file1

d. cat

  • b. cat > file1

Q. What are the files attributes for executing perl programs ?

a. 666

b. 755

c. 766

d. 777

  • b. 755

Q. What is default administrator username ?

a. administrator

b. admin

c. superuser

d. root

  • d. root

Q. The name of the Unix scheduling utility is

a. sched

b. cron

c. sc

d. timer

  • b. cron

Q. Examples of repetitive tasks performed by system administrators

a. disk space inventories

b. security audits

c. system backups

d. all of the above

  • d. all of the above

Q. Another term for shell programs is

a. compiled

b. interpreted

c. command processed

d. none of the above

  • b. interpreted

Q. The Unix slang for " #! " is

a. hash-bang

b. shboom

c. shebang

d. more than one of the above

  • d. more than one of the above

Q. Which of the following is not true of program variables

a. can be exported to the entire system

b. can be used only within the shell program

c. can hold data

d. all of the above

  • c. can hold data

Q. Flow control in a shell program allows parts of a shell program to be executed

a. repeatedly

b. conditionally

c. all of the above

d. none of the above

  • d. none of the above

Q. Shell script is preferable to other forms of programming because it

a. makes programming task easier

b. occupies less space

c. enhances portability

d. all of these

  • d. all of these

Q. Choose the incorrect statements.

a. shell scripts can accept arguments

b. shell scipts are interp

c. shell scripts are interpreted

d. shell scripts are compiled

  • d. shell scripts are compiled

Q. Files that store data in the same format as used in program are called

a. binary files

b. executable file

c. source file

d. core

  • d. core
Subscribe Now

Get All Updates & News