All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this project to others taking this class. I realize that the penalty for turning in work that is not my own can range from an "F" in the class to dismissal from Trinity University.
Print Title ______________________________________ Time Required = ______.____ Hrs.
Signature ______________________________________ (pledged)
Print Title ______________________________________ Time Required = ______.____ Hrs.
Signature ______________________________________ (pledged)
Answers To These Questions Must Be Handwritten; No Electronic Solutions Will Be Accepted!
Don't just write in the answers! Practice each of these commands on and make sure that they work on the computer!
1] What is an editor?
____________________________________________________________________________
______________________________________________________________________________________________
2] Name four of the six reasons we use the vi editor
___________________________________________________
______________________________________________________________________________________________
3] How to you start vi to edit a file, called Data.1?
_____________________________________________________
______________________________________________________________________________________________
4] We are in the command mode. How do you enter the insert mode at the cursor
location? __________________
______________________________________________________________________________________________
5] We are in the command mode. How do you enter the insert mode at the end of
the current line? _____________
______________________________________________________________________________________________
6] We are in the insert mode. How do you enter the command mode?
____________________________________
______________________________________________________________________________________________
7] We are in the command mode. How do you delete the character beneath the
cursor? ______________________
_______________________________________________________________________________________________
8] We are in the command mode. How do you delete the cursor line?
_____________________________________
______________________________________________________________________________________________
9] We are in the command mode. How do you delete the cursor line and the next
five lines? __________________
______________________________________________________________________________________________
10] We are in the command mode. How do you save the changes in the file and exit
the editor? _______________
______________________________________________________________________________________________
11] We are in the command mode. How do you discard the changes in the file and
exit the editor? _____________
______________________________________________________________________________________________
12] We are in the insert mode. How do you save the changes in the file and exit
the editor? ___________________
______________________________________________________________________________________________
13] We are in the command mode. How do you move the cursor up one line?
______________________________
______________________________________________________________________________________________
14] We are in the command mode. How do you move the cursor down one line?
____________________________
______________________________________________________________________________________________
15] We are in the command mode. How do you move the cursor right one character?
________________________
______________________________________________________________________________________________
16] We are in the command mode. How do you move the cursor left one character?
_________________________
______________________________________________________________________________________________
17] We are in the command mode. How do you move to line 1 (top of file)?
________________________________
______________________________________________________________________________________________
18] We are in the command mode. How do you move to the bottom of the file?
_____________________________
______________________________________________________________________________________________
19] We are in the command mode. How do you move to the next occurrence of the
string "URL"? ______________
______________________________________________________________________________________________
20] We are in the command mode. How do you copy the cursor line and the next
five lines to the clipboard?______
______________________________________________________________________________________________
21] We are in the command mode. How do you copy the clipboard lines in before
the current cursor line? ________
______________________________________________________________________________________________
22] We are in the command mode. How do you copy the clipboard lines in before
the current cursor line? ________
______________________________________________________________________________________________
23] We are in the input mode. How do you terminate a line?
_____________________________________________
______________________________________________________________________________________________
24] List the two modes for the VI editor?
_____________________________________________________________
______________________________________________________________________________________________
25] We are in the command mode. How do you delete the character beneath the
cursor and the next 5 characters.
______________________________________________________________________________________________
25] We are in the command mode. We just accidentally deleted 12 lines. How do
you undelete those lines? _____
______________________________________________________________________________________________
Good Extra Credit Options
26] We are in the command mode. How do you join the current cursor line with the
next line? _________________
______________________________________________________________________________________________
27] We are in the command mode. How do you move forward one full screen?
______________________________
______________________________________________________________________________________________
28] We are in the command mode. How do you move backward one full screen?
____________________________
______________________________________________________________________________________________
Turn in the following:
A] Turn in one hand-written copy of this lab per person.
B] Nothing will be graded until this lab form is submitted. Staple the pages. Fold the lab Horizontally (like a hot dog) and write your name nice and large on the outside. Place it on the professor desk before the beginning of lecture on the day it is due. All assignments are due the next class period unless otherwise designated on the schedule page.