Deck 4: Creating and Editing Files With Text Editors
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/49
العب
ملء الشاشة (f)
Deck 4: Creating and Editing Files With Text Editors
1
The main purpose of a text editor is to create a file that can be used by another program.
True
2
You must be in command mode to type text.
False
3
In vim, you modify text by using the keyboard instead of the mouse.
True
4
Yank commands delete text.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
5
You can undo changes you made to a file by typing u.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which word processor is included with the GNOME desktop environment?
A) Microsoft Word
B) OpenOffice.org Writer
C) Corel WordPerfect X5
D) LibreOffice Writer
A) Microsoft Word
B) OpenOffice.org Writer
C) Corel WordPerfect X5
D) LibreOffice Writer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
7
Within KWrite, you can select syntax highlighting from the Tools menu after enabling ____ mode.
A) super user
B) root user
C) administrator
D) power user
A) super user
B) root user
C) administrator
D) power user
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which GUI text editor is included with GNOME?
A) Gedit
B) TextPad
C) vi
D) Emacs
A) Gedit
B) TextPad
C) vi
D) Emacs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
9
Vim is a ____ editor meaning it can run in different operating modes.
A) multi-operational
B) hierarchal
C) modular
D) virtual
A) multi-operational
B) hierarchal
C) modular
D) virtual
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
10
When you start vim, you are in ____ mode automatically.
A) extended
B) insert
C) line
D) command
A) extended
B) insert
C) line
D) command
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
11
You type ____ in vim command mode to move the cursor one space to the left.
A) h
B) j
C) k
D) l
A) h
B) j
C) k
D) l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
12
You type ____ in vim command mode to move the cursor one space up.
A) h
B) j
C) k
D) l
A) h
B) j
C) k
D) l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
13
You type ____ in vim command mode to repeat a search in the opposite direction.
A) n
B) N
C) u
D) U
A) n
B) N
C) u
D) U
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
14
After you finish entering text in vim insert mode, you can press the ____ key to change back to command mode.
A) ESC
B) Back
C) Shift
D) Del
A) ESC
B) Back
C) Shift
D) Del
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which vim command allows text to be entered at the cursor?
A) a
B) A
C) i
D) I
A) a
B) A
C) i
D) I
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which vim command replaces a single character and returns to command mode automatically?
A) r
B) R
C) s
D) S
A) r
B) R
C) s
D) S
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which vim command deletes the entire line and switches to insert mode?
A) r
B) R
C) s
D) S
A) r
B) R
C) s
D) S
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which vim command deletes the entire line the cursor is on?
A) x
B) X
C) dd
D) del
A) x
B) X
C) dd
D) del
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which vim command allows you to copy the word the cursor is on?
A) yank
B) yy
C) cp
D) cpy
A) yank
B) yy
C) cp
D) cpy
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
20
What does the symbol indicate in the following command: #yy?
A) It indicates that the command must be executed starting at the root.
B) It represents the number of times to repeat the command automatically.
C) It represents the number of lines you want to yank.
D) It indicates that the editor should save and close upon command completion.
A) It indicates that the command must be executed starting at the root.
B) It represents the number of times to repeat the command automatically.
C) It represents the number of lines you want to yank.
D) It indicates that the editor should save and close upon command completion.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
21
How many times can you use the vim undo command?
A) One time
B) Ten times
C) It varies and is based on the size of the undo buffer
D) Until you have reached your oldest change
A) One time
B) Ten times
C) It varies and is based on the size of the undo buffer
D) Until you have reached your oldest change
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
22
Typing ____ at the extended mode prompt saves the file and exits the vim text editor.
A) wq
B) wx
C) ws
D) sx
A) wq
B) wx
C) ws
D) sx
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
23
Typing ____ at the extended mode prompt quits vim without saving the file and ignores warnings that changes haven't been saved.
A) wq!
B) q!
C) qq
D) qq!
A) wq!
B) q!
C) qq
D) qq!
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which command searches the line the cursor is on for the first occurrence of the string old and replaces it with the string new?
A) :s/old/new
B) :s/new/old
C) :3,15s/old/new/g
D) :%s/old/new/g
A) :s/old/new
B) :s/new/old
C) :3,15s/old/new/g
D) :%s/old/new/g
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which vim command shows line numbers?
A) :set num
B) :set nu
C) :show num
D) :show nu
A) :set num
B) :set nu
C) :show num
D) :show nu
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
26
A(n) ____________________ is a program used to create and edit plain text files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n) ____________________ is a text file containing a sequence of commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
28
KWrite has an advanced feature known as ____________________, to display text in different colors and fonts for programming languages such as C, C++, Java, HTML, and Perl.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
29
KWrite has an advanced feature known as ____________________, which are markers placed on certain lines to help navigate through a text file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n) ____________________ is an area of RAM used for temporary storage.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
31
Match each statement with an item
-An advanced vim navigational command that moves the cursor to the top of the screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor to the top of the screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
32
Match each statement with an item
-An advanced vim navigational command that moves the cursor to the last line of the screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor to the last line of the screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
33
Match each statement with an item
-An advanced vim navigational command that moves the display down a full screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the display down a full screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
34
Match each statement with an item
-An advanced vim navigational command that moves the cursor one space to the right.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor one space to the right.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
35
Match each statement with an item
-An advanced vim navigational command that moves the cursor to the last line of the file.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor to the last line of the file.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
36
Match each statement with an item
-An advanced vim navigational command that moves the cursor to the end of the current line.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor to the end of the current line.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
37
Match each statement with an item
-An advanced vim navigational command that moves the cursor to the middle of the screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor to the middle of the screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
38
Match each statement with an item
-An advanced vim navigational command that moves the display up a full screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the display up a full screen.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
39
Match each statement with an item
-An advanced vim navigational command that moves the cursor to the beginning of the next line.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
-An advanced vim navigational command that moves the cursor to the beginning of the next line.
A) Spacebar
B) Enter
C) $
D) H
E) M
F) L
G) G
H) Ctrl+F
I) Ctrl+B
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
40
Compare word processors and text editors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
41
Compare a Linux GUI text editor to Windows Notepad.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
42
Describe two ways to start KWrite.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
43
Explain three options of the Gedit syntax highlighting feature.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
44
Describe the autosave Gedit feature and explain the advantage of using it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
45
Provide a brief history of the vi command-line text editor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
46
Describe two ways to start the vim editor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
47
Explain why navigational keys are programmed as letters on the keyboard and identify the four keys.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
48
What does the /text command option do and why is it important to know?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck
49
Explain the difference between a string of text and a word.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 49 في هذه المجموعة.
فتح الحزمة
k this deck