adplus-dvertising

Welcome to the Vi Editor MCQs Page

Dive deep into the fascinating world of Vi Editor with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Vi Editor, a crucial aspect of UNIX. In this section, you will encounter a diverse range of MCQs that cover various aspects of Vi Editor, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within UNIX.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Vi Editor. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of UNIX.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Vi Editor. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Vi Editor MCQs | Page 14 of 18

Q131.
Which of the following commands of ex-mode is equivalent to ‘G’ command in command mode?
Discuss
Answer: (b).: $
Q132.
Copying is referred to as yanking in vi editor.
Discuss
Answer: (a).True
Q133.
Which key is used for deleting text?

a.

d

b.

y

c.

k

d.

f

Discuss
Answer: (a).d
Q134.
Which command is used for deleting a single character?

a.

d

b.

dd

c.

x

d.

w

Discuss
Answer: (c).x
Q135.
Which command is used for deleting the character on the left of the cursor?

a.

x

b.

X

c.

dd

d.

d

Discuss
Answer: (b).X
Q136.
Which of the following command is used to delete a single line?

a.

dd

b.

x

c.

X

d.

d

Discuss
Answer: (a).dd
Q137.
Which of the following commands will be used to delete 6 lines from the current cursor location?
Discuss
Answer: (c).6dd
Q138.
Which command is used for putting deleted lines or part of lines at a different location?
Discuss
Answer: (a).p and P
Q139.
Both ‘p’ and ‘P’ command puts text right/left or above/below on the basis of line deleted.
Discuss
Answer: (a).True
Q140.
To copy (yank) lines in vi editor, we use ______ command.
Discuss
Answer: (d).yy

Suggested Topics

Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!