Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

We can use ‘yy’ command for copy and paste operation.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
2.

Using ‘e’ command we can _____________

A. move back to the beginning of the word
B. move forward to the end of the word
C. move forward to the beginning of the word
D. move back to the end of the word
Answer» C. move forward to the beginning of the word
3.

‘:w’ command can be used to write selected lines.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
4.

Using ‘w’ command we can _____________

A. move back to the beginning of the word
B. move forward to the end of the word
C. move forward to the beginning of the word
D. move back to the end of the word
Answer» D. move back to the end of the word
5.

Quit (:q) command doesn’t work if the buffer is unsaved.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
6.

In ex-mode, last line is represented by ___

A. :
B. $
C. >
D. .
Answer» C. >
7.

____ key is used for switching to command mode from input mode.

A. i
B. A
C. :
D. esc
Answer» E.
8.

The following command will save the contents of the buffer and overwrites the contents of existing file.:w! File003

A. True
B. False
C. May be
D. Can't say
Answer» B. False
9.

An operator can’t perform any function without being combined with a command or itself.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
10.

We can prefix repeat factor with word navigation commands.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
11.

vi automatically switches from command mode to input mode when we press ‘r’.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
12.

In Emacs, where are the most recent commands stored?

A. The mode line
B. The status line
C. The mini-buffer
D. Cache memory
Answer» E.
13.

Which of the following is not true about Emacs?

A. Complicated
B. Powerful
C. Relatively large program
D. Easy to learn
Answer» E.
14.

To end insert mode and get to edit mode press

A. Control-C
B. Control-D
C. Escape key
D. Delete key
Answer» D. Delete key
15.

The Vi editor has 2 separate modes

A. Input and output
B. Insert and edit
C. Edit and command
D. Input and command
Answer» C. Edit and command
16.

Which is not a feature of the Pico editor?

A. Difficult to learn
B. Easy to use
C. Easy on system resources
D. Good for simple text files.
Answer» B. Easy to use
17.

vi editor stores most of its information in a hidden swap file.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
18.

ex-mode is used to save our work.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
19.

Which application software includes a word processor for Unix?

A. Ms-Office
B. StarOffice
C. WordPerfect for Linux
D. Both b and c
Answer» E.
20.

The Joe editor is like a cross between

A. Vi and Emacs
B. Pico and Emacs
C. Vi and Pico
D. Nedit and Pico
Answer» C. Vi and Pico
21.

All Pico editor commands use which special key?

A. Esc
B. Alt
C. Ctrl
D. Shift
Answer» D. Shift
22.

vi editor has ____ named buffers.

A. 2
B. 4
C. 26
D. 5
Answer» D. 5
23.

Use the following command to save and exit from Vi.

A. ZZ
B. :wq
C. :q!
D. Both a and b
Answer» E.
24.

Both ‘p’ and ‘P’ command puts text right/left or above/below on the basis of line deleted.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
25.

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
Answer» C. Exactly the same screen as in Microsoft Word
26.

The run control file in Vi is called

A. .cshrc
B. .virc
C. .bashrc
D. .exrc
Answer» E.
27.

Hexadecimal is a number system to the base

A. 6
B. 10
C. 16
D. 60
Answer» D. 60
28.

Which of the following statement is not true?

A. f and t commands are used for searching a character
B. y and yy are same
C. vi has 26 named buffers
D. :e# is used for toggling between files
Answer» C. vi has 26 named buffers
29.

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
Answer» C. Slower
30.

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
Answer» D. Both b and c
31.

Which is not a characteristic of Nedit?

A. GUI interface
B. Has a menu bar
C. Can use the mouse for selecting text
D. Uses the ALT key in combination with other keys.
Answer» E.
32.

____ searches for a first instance of a pattern in the backward direction.

A. /
B. %
C. &
D. ?
Answer» E.
33.

We cannot leave the flag field empty while performing the substitution.

A. True
B. False
C. May be
D. Can't say
Answer» C. May be
34.

The first Unix editor was

A. Vi
B. Ed
C. Ex
D. Emacs
Answer» C. Ex
35.

‘10u’ command will reverse our 10 last editing actions.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
36.

The letter "A" (upper case) in ASCII code is

A. 61 hex
B. 41 hex
C. 40 hex
D. 65 hex
Answer» C. 40 hex
37.

When using Emacs, you can have

A. Several buffers at the same time
B. Only one buffer
C. Only two buffers
D. None of the above
Answer» B. Only one buffer
38.

To restore a number of recent deletions, numbered buffers are used.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
39.

The technique of restoring line deletions from numbered buffers is applicable only to entire lines.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
40.

Which of the following key is used to enter in ex-mode?

A. ESC
B. i
C. :
D. ;
Answer» D. ;
41.

The following command will_________!! tr ‘[a-z]’ ‘[A-Z]’

A. throw an error
B. undefined behaviour
C. changes the case of current line from lower to uppercase
D. changes the case of current line from upper to lowercase
Answer» D. changes the case of current line from upper to lowercase
42.

To save the editing performed on a file, we have to switch to ______ mode.

A. command
B. input
C. ex
D. insert
Answer» D. insert
43.

After pressing ‘:w’, we can normally resume our editing work.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
44.

We can specify the filename with ‘:w’ command.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
45.

The editor that is nearly as important as the Vi editor is

A. Pico
B. Emacs
C. Nedit
D. Ed
Answer» C. Nedit
46.

After using ‘s’ or ‘S’, we are automatically left in insert mode.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
47.

To create a space for entering a new line of text above the current cursor location, ‘O’ command is used.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
48.

What 2 keys are commonly used by Emacs in combination with other keys to perform Emacs functions?

A. Escape and Alt
B. Alt and Cntl
C. Shift and Alt
D. Shift and Cntl
Answer» C. Shift and Alt
49.

Which command is used for mapping keys of keyboard?

A. set
B. map
C. abbr
D. autowrite
Answer» C. abbr
50.

To copy 10 lines from the current cursor location, we can use _____

A. 10y
B. 10yy
C. yy10
D. 10x
Answer» C. yy10
Previous Next