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
The vi Editor
Multiple Choice
Click on the correct response for each question below.
1
The letter "A" (upper case) in ASCII code is
A)
61 hex
B)
41 hex
C)
40 hex
D)
65 hex
2
Hexadecimal is a number system to the base
A)
6
B)
10
C)
16
D)
60
3
If you open a Microsoft Word document with a Unix text editor you would see
A)
Text
B)
Garbage
C)
Exactly the same screen as in Microsoft Word
D)
A document modified for Unix
4
The first Unix editor was
A)
Vi
B)
Ed
C)
Ex
D)
Emacs
5
The "vi" editor is important to learn because
A)
It is the easiest editor to learn
B)
It is the newest editor
C)
It is available on most Unix systems
D)
Both B and C
6
The Vi editor when compared to word processors will seem
A)
Easy to use
B)
Difficult to use
C)
Slower
D)
None of the above
7
The Vi editor has 2 separate modes
A)
Input and output
B)
Insert and edit
C)
Edit and command
D)
Input and command
8
To end insert mode and get to edit mode press
A)
Control-C
B)
Control-D
C)
Escape key
D)
Delete key
9
The run control file in Vi is called
A)
.cshrc
B)
.virc
C)
.bashrc
D)
.exrc
10
Use the following command to save and exit from Vi.
A)
ZZ
B)
:wq
C)
:q!
D)
Both A and B
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
.