McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | information Center | Home
Glossary
Sample Configuration Scripts
Internet Resources
Multiple Choice Quiz
True or False
Feedback
Help Center


Book cover
Introduction to UNIX
Kate Wrightson
Joe Merlino

Shell Programming I - Introduction to Shell Programming

Multiple Choice

Click on the correct response for each question below.



1

Applications of Shell programming include
A)Simplifying complex jobs
B)Automating repetitive tasks
C)Both A and B
D)None of the above
2

The name of the Unix scheduling utility is
A)Sched
B)Cron
C)Sc
D)Timer
3

Examples of repetitive tasks performed by system administrators
A)Disk space inventories
B)Security audits
C)System backups
D)All of the above
4

Another term for shell programs is
A)Scripts
B)C programs
C)Compiled programs
D)Shell command language
5

Shell programs are
A)Compiled
B)Interpreted
C)Command processed
D)None of the above
6

A shell program is a
A)Binary file
B)System file
C)Text file
D)Linked file
7

The Unix slang for " #! " is
A)Hash-bang
B)Shboom
C)Shebang
D)More than one of the above
8

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
9

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
10

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




McGraw-Hill/Irwin