Student Center
|
Instructor Center
|
information Center
|
Home
Glossary
Sample Configuration Scripts
Internet Resources
Choose a Chapter
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Chapter 19
Multiple Choice Quiz
True or False
Feedback
Help Center
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
2003 McGraw-Hill Higher Education
Any use is subject to the
Terms of Use
and
Privacy Policy
.
McGraw-Hill Higher Education
is one of the many fine businesses of
The McGraw-Hill Companies
.