Deck 9: Text Editors

Full screen (f)
exit full mode
Question
When you cut or copy a line of text within PowerShell ISE, it is removed and placed into what specific area?

A)clipboard
B)edit-board
C)edit buffer
D)copy buffer
Use Space or
up arrow
down arrow
to flip the card.
Question
To quit the Vim editor without saving your changes, what command should be used?

A):q
B):q!
C):wq!
D):wq
Question
What will be issued in the PowerShell ISE if a user chooses to close the document tab before saving the current state of the edited document?

A)save as option
B)save dialog
C)interrupt message
D)warning dialog
Question
Which keyboard combination will allow a PowerShell ISE user to return to the start of the document?

A)Ctrl+Pageup
B)Alt+H
C)Ctrl+Home
D)Alt+Pageup
Question
What shortcut can be used to launch the Find dialog box within the PowerShell ISE?

A)Alt+F
B)Ctrl+C
C)Alt+C
D)Ctrl+F
Question
Which command will open the Vim editor from the terminal window in CentOS 7?

A)Vedit
B)Vterm
C)Vi
D)Vim
Question
You can open the Vim editor from the terminal window in CentOS 7 by typing the editor command.
Question
To perform a Vim editor search-and-replace operation on an entire document, place a $ sign before the :substitute command.
Indicate the answer choice that best completes the statement or answers the question.
Question
What Windows feature does Gedit utilize to store or retrieve text?

A)command line
B)clipboard
C)copy paste
D)file explorer
Question
What GUI based text editor was originally used in the graphical GNOME environment and is usually the default editor in many Linux distributions?

A)Gedit
B)DOS
C)Vim
D)Vi
Question
What type of modules can extend the functionality of a graphical text editor such as Gedit?

A)plugins
B)drivers
C)apps
D)user
Question
The default mode of the Vim editor is Visual mode.
Question
To search for more than one word or command in Vim, what type of expressions should you use?

A)normal
B)regular
C)termed
D)variable
Question
What syntax would a Vim user choose if they wanted to perform a search-and-replace operation on an entire document?

A):r/"string"/"string"/g
B)%r/"string"/"string"/g
C):s/"string"/"string"/g
D)%s/"string"/"string"/g
Question
What Keyboard shortcut will allow a PowerShell ISE user the ability to view context-sensitive Help about the cmdlet they have partially highlighted?

A)F1
B)F2
C)Ctrl+H
D)Ctrl+F
Question
Highlights in the Vim editor remain from one session to the next, what specific term is used to describe these persistent highlights?

A)permanent
B)gluey
C)continual
D)sticky
Question
What key feature in the PowerShell ISE allows a user to insert short sections of PowerShell code into a script?

A)intellisense
B)inserts
C)snippets
D)wildcards
Question
PowerShell ISE is an integrated development environment from Microsoft for PowerShell scripts.
Question
What Vim flag will improve your search-and-replace by using the previous search pattern?

A)[&]
B)[g]
C)[c]
D)[p]
Question
You can only use the paste command in PowerShell ISE to place text from the edit buffer after first using the Cut or Copy command.
Question
What are special characters also know as in the Vim editor?

A)wild
B)super
C)magic
D)known
Question
If a Vim user wants to use a command that is similar to the Windows copy command, what command should they use?

A)y
B)copy
C)c
D)x
Question
What command can a Vim user type if they want to cut the line of text the cursor is currently positioned in?

A)cc
B)dd
C)aa
D)tt
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A method of operation in which the Vim editor pushes characters to the right of the screen rather than overwriting them
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
Special characters used in the Vim editor as wildcards in search patterns and strings
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
The state in which the Vim editor accepts changes to a file
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A powerful, cross-platform text editor often used for writing programs
Question
To save a Vim file and quit the editor, what command should the user type?

A):q
B):exit
C):wq
D):quit
Question
If a Gedit user wants to paste the text they have copied, what keyboard shortcut can be used?

A)Alt+P
B)Alt+V
C)Ctrl+X
D)Ctrl+V
Question
What keyboard shortcut will allow a PowerShell ISE user to create a new document that opens in a new tab?

A)Ctrl+D
B)Ctrl+N
C)Ctrl+Shift+N
D)Ctrl+Shift+D
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
removal of highlighted text from a document
Question
What is an alternative phrase used to describe the search-and-replace operation that is used when working with text strings?

A)Find and Replace
B)Find and Use
C)Locate and Release
D)Find and Copy
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
the general name of an application used to edit and revise text files
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A sequence of characters in a file that you can display, print, or process
Question
What command would a Vim user enter to undo a text editing mistake?

A)undo
B)s
C)Ctrl+z
D)u
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
An operation that lets you replace a text string with another string throughout a document
Question
PowerShell ISE, Gedit, and Vim are all versatile text editors. However, Vim is strictly what type of text editor?

A)mouse-based
B)keyboard-based
C)GUI-based
D)shortcut-based
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A data storage area for use with copy, cut, and paste functions
Question
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
An integrated scripting environment that includes a text editor
Question
To cut a highlighted line from a document in Gedit, what keyboard shortcut can be used?

A)Alt+C
B)Ctrl+X
C)Alt+X
D)Ctrl+V
Question
Describe how the basic cut, copy, and paste operations work in the PowerShell ISE?
Question
How do you open and begin using the Vim text editor?
Question
Describe two search-and-replace modes used by most text editors.
Question
What is the primary difference between text editors and word processors?
Question
Explain how the Gedit text editor handles basic cut, copy, and paste operations when using Windows.
Question
Why is the nohighlight command extremely useful when using the Vim text editor?
Question
How do you select and cut a text line using the Vim editor?
Question
Provide an overview of Vim, and explain how it is different from Gedit and PowerShell ISE.
Question
What is the basic process of saving your files in PowerShell ISE?
Question
What is the text string search-and-replace operation?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 9: Text Editors
1
When you cut or copy a line of text within PowerShell ISE, it is removed and placed into what specific area?

A)clipboard
B)edit-board
C)edit buffer
D)copy buffer
C
2
To quit the Vim editor without saving your changes, what command should be used?

A):q
B):q!
C):wq!
D):wq
B
3
What will be issued in the PowerShell ISE if a user chooses to close the document tab before saving the current state of the edited document?

A)save as option
B)save dialog
C)interrupt message
D)warning dialog
D
4
Which keyboard combination will allow a PowerShell ISE user to return to the start of the document?

A)Ctrl+Pageup
B)Alt+H
C)Ctrl+Home
D)Alt+Pageup
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
What shortcut can be used to launch the Find dialog box within the PowerShell ISE?

A)Alt+F
B)Ctrl+C
C)Alt+C
D)Ctrl+F
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Which command will open the Vim editor from the terminal window in CentOS 7?

A)Vedit
B)Vterm
C)Vi
D)Vim
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
You can open the Vim editor from the terminal window in CentOS 7 by typing the editor command.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
To perform a Vim editor search-and-replace operation on an entire document, place a $ sign before the :substitute command.
Indicate the answer choice that best completes the statement or answers the question.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
What Windows feature does Gedit utilize to store or retrieve text?

A)command line
B)clipboard
C)copy paste
D)file explorer
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
What GUI based text editor was originally used in the graphical GNOME environment and is usually the default editor in many Linux distributions?

A)Gedit
B)DOS
C)Vim
D)Vi
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
What type of modules can extend the functionality of a graphical text editor such as Gedit?

A)plugins
B)drivers
C)apps
D)user
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
The default mode of the Vim editor is Visual mode.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
To search for more than one word or command in Vim, what type of expressions should you use?

A)normal
B)regular
C)termed
D)variable
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
What syntax would a Vim user choose if they wanted to perform a search-and-replace operation on an entire document?

A):r/"string"/"string"/g
B)%r/"string"/"string"/g
C):s/"string"/"string"/g
D)%s/"string"/"string"/g
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
What Keyboard shortcut will allow a PowerShell ISE user the ability to view context-sensitive Help about the cmdlet they have partially highlighted?

A)F1
B)F2
C)Ctrl+H
D)Ctrl+F
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Highlights in the Vim editor remain from one session to the next, what specific term is used to describe these persistent highlights?

A)permanent
B)gluey
C)continual
D)sticky
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
What key feature in the PowerShell ISE allows a user to insert short sections of PowerShell code into a script?

A)intellisense
B)inserts
C)snippets
D)wildcards
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
PowerShell ISE is an integrated development environment from Microsoft for PowerShell scripts.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
What Vim flag will improve your search-and-replace by using the previous search pattern?

A)[&]
B)[g]
C)[c]
D)[p]
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
You can only use the paste command in PowerShell ISE to place text from the edit buffer after first using the Cut or Copy command.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
What are special characters also know as in the Vim editor?

A)wild
B)super
C)magic
D)known
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
If a Vim user wants to use a command that is similar to the Windows copy command, what command should they use?

A)y
B)copy
C)c
D)x
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
What command can a Vim user type if they want to cut the line of text the cursor is currently positioned in?

A)cc
B)dd
C)aa
D)tt
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A method of operation in which the Vim editor pushes characters to the right of the screen rather than overwriting them
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
Special characters used in the Vim editor as wildcards in search patterns and strings
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
The state in which the Vim editor accepts changes to a file
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A powerful, cross-platform text editor often used for writing programs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
To save a Vim file and quit the editor, what command should the user type?

A):q
B):exit
C):wq
D):quit
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
If a Gedit user wants to paste the text they have copied, what keyboard shortcut can be used?

A)Alt+P
B)Alt+V
C)Ctrl+X
D)Ctrl+V
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
What keyboard shortcut will allow a PowerShell ISE user to create a new document that opens in a new tab?

A)Ctrl+D
B)Ctrl+N
C)Ctrl+Shift+N
D)Ctrl+Shift+D
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
removal of highlighted text from a document
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
What is an alternative phrase used to describe the search-and-replace operation that is used when working with text strings?

A)Find and Replace
B)Find and Use
C)Locate and Release
D)Find and Copy
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
the general name of an application used to edit and revise text files
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A sequence of characters in a file that you can display, print, or process
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
What command would a Vim user enter to undo a text editing mistake?

A)undo
B)s
C)Ctrl+z
D)u
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
An operation that lets you replace a text string with another string throughout a document
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
PowerShell ISE, Gedit, and Vim are all versatile text editors. However, Vim is strictly what type of text editor?

A)mouse-based
B)keyboard-based
C)GUI-based
D)shortcut-based
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
A data storage area for use with copy, cut, and paste functions
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Match each item with a statement below.
a.Vim
b.Text string
c.Edit/Insert mode
d.Command mode
e.PowerShell ISE
f.Clipboard
g.Text editor
h.cut
i.Search-and-replace
j.Magic characters
An integrated scripting environment that includes a text editor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
To cut a highlighted line from a document in Gedit, what keyboard shortcut can be used?

A)Alt+C
B)Ctrl+X
C)Alt+X
D)Ctrl+V
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Describe how the basic cut, copy, and paste operations work in the PowerShell ISE?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
How do you open and begin using the Vim text editor?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Describe two search-and-replace modes used by most text editors.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What is the primary difference between text editors and word processors?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
Explain how the Gedit text editor handles basic cut, copy, and paste operations when using Windows.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Why is the nohighlight command extremely useful when using the Vim text editor?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
How do you select and cut a text line using the Vim editor?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Provide an overview of Vim, and explain how it is different from Gedit and PowerShell ISE.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
What is the basic process of saving your files in PowerShell ISE?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
What is the text string search-and-replace operation?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.