Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. The shell in the Unix system is the
a. outer layer of a seed
b. user interface with the operating system
c. provides a prompt
d. both b and c
Q. Applications of Shell programming include
a. simplifying complex jobs
b. automating repetitive tasks
c. both a and b
d. none of the above
Q. Another term for shell programs is
a. scripts
b. c programs
c. compiled programs
d. shell command language
Q. Comments in a shell program are important because
a. keeps complex programs understandable
b. other programmers may try to read your program
c. you may revise an old program
d. all of the above
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
Q. A loop that continues indefinitely is called a
a. indefinite loop
b. non-stop loop
c. infinite loop
d. none of the above
Q. The asterisk is a metacharacter which in the command "ls *.txt" means
a. any single character
b. any combination of one or more characters
c. any combination of zero or more characters
d. none of the above
Q. A metacharacter is any character that
a. is taken literally
b. represents any string of characters that fit its definition
c. is an "asterisk" or "question mark"
d. all of the above
Q. Which of the following Unix utilities are not commonly used to process regular expressions?
a. grep
b. sed
c. cut
d. awk
Q. Which programming language has a powerful regular expression engine?
a. c++
b. perl
c. pearl
d. c