Questions · Page 1 of 3

MCQ

🎯

Test yourself on this topic

50 questions · timed · auto-graded

MCQ 21 Mark
Two command can be joined using which symbol ?
  • |$($pipe$)$
  • B
    #$($hash$)$
  • C
    @
  • D
    %
Answer
Correct option: A.
|$($pipe$)$
View full question & answer
MCQ 41 Mark
For a script to be executed it needs to have $……………$ permission.
  • execute 
  • B
    read
  • C
    write
  • D
    all of these
Answer
Correct option: A.
execute 
View full question & answer
MCQ 51 Mark
Which command is used to execute the script use sh or bash command ?
  • A
    sh
  • B
    bash
  • C
    ksh
  • Both $(A)$ and $(B)$
Answer
Correct option: D.
Both $(A)$ and $(B)$
View full question & answer
MCQ 61 Mark
$……………$ in the script is not executed.
  • A
    shell script
  • B
    Variable
  • Comment
  • D
    Block
Answer
Correct option: C.
Comment
View full question & answer
MCQ 81 Mark
In Vim editor which command is used to delete the character under the cursor ?
  • A
    $R$
  • B
    $r$
  • $x$
  • D
    $X$
Answer
Correct option: C.
$x$
View full question & answer
MCQ 91 Mark
What is defined as “set of commands written in plain text file that performs a designated task in a controlled order “
  • shellscript
  • B
    Variable  
  • C
    Comment 
  • D
    Block
Answer
Correct option: A.
shellscript
View full question & answer
MCQ 101 Mark
What allows us to execute more than one command at one go in a better way ?
  • shellscript 
  • B
    Variable
  • C
    Forloop
  • D
    Block
Answer
Correct option: A.
shellscript 
View full question & answer
MCQ 111 Mark
$………….$ The document is one of the most common operations that a user would perform once the document is created .
  • A
    Skipping
  • Editing
  • C
    Compiling
  • D
    inserting
Answer
Correct option: B.
Editing
View full question & answer
MCQ 131 Mark
In Vim editor which command is used to  replace single character ?
  • A
    $R$
  • $r$
  • C
    $x$
  • D
    $X$
Answer
Correct option: B.
$r$
View full question & answer
MCQ 141 Mark
Which of the following syntax is used to substitute all occurances of phrase $1$ with phrase $2$ in the current line ?
  • A
    :%s/phrase1/phrase2/g
  • B
    :%s/phrase1/phrase2/gc
  • :s/phrase1/phrase2/g
  • D
    :s/phrase1/phrase2/gc
Answer
Correct option: C.
:s/phrase1/phrase2/g
View full question & answer
MCQ 151 Mark
In Vim editor which command is used to  replace single character ?
  • A
    $R$
  • B
    $r$
  • $x$
  • D
    $X$
Answer
Correct option: C.
$x$
View full question & answer
MCQ 171 Mark
In Vim editor which command is used to delete N number of word ?
  • A
    cw
  • Ndw
  • C
    dw
  • D
    Ndd
Answer
Correct option: B.
Ndw
View full question & answer
MCQ 191 Mark
In Vim editor which command is used to earch for text in a backward direction ?
  • A
    /
  • ?
  • C
    n
  • D
    SHIFT+n
Answer
Correct option: B.
?
View full question & answer
MCQ 201 Mark
In Vim editor which command is used to overwrite substitute one character under cursor and continue to insert ?
  • $s $
  • B
    $S$
  • C
    $x$
  • D
    $X$
Answer
Correct option: A.
$s $
View full question & answer
MCQ 211 Mark
The Vim editor allows to $……$
  • A
    search text or a regular expression with in the file
  • B
    substitution of a word in place of another word
  • C
    none of these
  • Both $(A)$ and $(B)$
Answer
Correct option: D.
Both $(A)$ and $(B)$
View full question & answer
MCQ 221 Mark
In Vim editor which command is used to overwrite characters from cursor onward ?
  • $R$
  • B
    $r$
  • C
    $x$ 
  • D
    $X$
Answer
Correct option: A.
$R$
View full question & answer
MCQ 231 Mark
In Vim editor which  command is used to delete content of line after cursor and insert new text ?
  • $D$
  • B
    $dd$
  • C
    $C$
  • D
    $Ndd$
Answer
Correct option: A.
$D$
View full question & answer
MCQ 241 Mark
In Vim editor which command is used which to delete number of lines ?
  • $ U$
  • B
    $u$
  • C
    $C$
  • D
    $Ndd$
Answer
Correct option: A.
$ U$
View full question & answer
MCQ 251 Mark
In Vim editor which command is used to copy single line from current cursor position into the buffer ?
  • A
    $p$
  • B
    $yy$
  • C
    $Nyy$
  • $Yy$
Answer
Correct option: D.
$Yy$
View full question & answer
MCQ 261 Mark
In Vim editor which command is used to place  contents of buffer after current line defined by current cursor position ?
  • $p$ 
  • B
    $yy$
  • C
    $Nyy $
  • D
    $x$
Answer
Correct option: A.
$p$ 
View full question & answer
MCQ 271 Mark
In Vim editor which command  moves the cursor back by N number of words ?
  • $Nb$
  • B
    $e$
  • C
    $b$
  • D
    $B$
Answer
Correct option: A.
$Nb$
View full question & answer
MCQ 281 Mark
Buffer Which acts like temporary memory is known as $….$
  • clipboard
  • B
    harddisk       
  • C
    smartmemory 
  • D
    pendrive
Answer
Correct option: A.
clipboard
View full question & answer
MCQ 291 Mark
In Vim editor which command is used to search again in the opposite direction ?
  • A
    /
  • B
    ?
  • C
    n
  • SHIFT+n
Answer
Correct option: D.
SHIFT+n
View full question & answer
MCQ 301 Mark
In Vim editor which command   moves the cursor to  end of file ?
  • A
    $) $
  • B
    $($
  • $G$
  • D
    $W$
Answer
Correct option: C.
$G$
View full question & answer
MCQ 311 Mark
$…………$ in the script is not executed; they are messeges that help user understand the usage or meaning of the script.
  • A
    shellscript
  • B
    Variable
  • Comment
  • D
    Block
Answer
Correct option: C.
Comment
View full question & answer
MCQ 321 Mark
In Vim editor which command   moves the cursor to the beginmng of current sentence   ?
  • A
    $)$
  • $($
  • C
    $G$
  • D
    $W$
Answer
Correct option: B.
$($
View full question & answer
MCQ 331 Mark
In Vim editor which command is used to change case of individual character ?
  • A
    $.(dot)$
  •  ~
  • C
    @
  • D
    %
Answer
Correct option: B.
 ~
View full question & answer
MCQ 351 Mark
To execute the Linux commands from within the Vim editor type$ ……$ symbol before the command.
  • A
    %
  • !
  • C
    ?
  • D
    #
Answer
Correct option: B.
!
View full question & answer
MCQ 361 Mark
In Vim editor which command   moves the cursor to the beginmng of next sentence   ?
  • $)$
  • B
    $($
  • C
    $G $
  • D
    $W$
Answer
Correct option: A.
$)$
View full question & answer
MCQ 371 Mark
In Vim editor which command   moves the cursor back a word at a time ?
  • A
    $Nb$
  • B
    $e$
  • C
    $c$
  • $B$
Answer
Correct option: D.
$B$
View full question & answer
MCQ 391 Mark
In Vim editor which command   moves the cursor to the bottom of the page ?
  • A
    $M$
  • B
    $H$
  • $L$
  • D
    $\$$
Answer
Correct option: C.
$L$
View full question & answer
MCQ 401 Mark
When Vim editor is opened without typing file name initially , the text will be directly stored in the $……….$
  • system buffer 
  • B
    hard disk
  • C
    register  
  • D
    bus
Answer
Correct option: A.
system buffer 
View full question & answer
MCQ 411 Mark
In Vim editor which command   moves the cursor to the middle of the page ?
  • $M$
  • B
    $H$
  • C
    $L$
  • D
    $\$$
Answer
Correct option: A.
$M$
View full question & answer
MCQ 421 Mark
In Vim editor which command scrolls forward one page ?
  • A
    CTRL+d
  • B
    CTRL+u
  • Ctrl+f     
  • D
     CTRL+b
Answer
Correct option: C.
Ctrl+f     
View full question & answer
MCQ 431 Mark
In Vim editor which command is used to repeat last command action ?
  • .(dot)         
  • B
    ~
  • C
    @
  • D
    %
Answer
Correct option: A.
.(dot)         
View full question & answer
MCQ 441 Mark
In Vim editor which command scrolls down one half of a page ?
  • CTRL+d
  • B
    CTRL+u
  • C
    Ctrl+f     
  • D
     CTRL+b
Answer
Correct option: A.
CTRL+d
View full question & answer
MCQ 451 Mark
In file in Vim editor which command moves curser to down?
  • A
    h
  • B
    I           
  • J
  • D
    k
Answer
Correct option: C.
J
View full question & answer
MCQ 461 Mark
In Vim editor which command   moves the cursor to the top of the page ?
  • A
    $M$
  • $H$
  • C
    $L$
  • D
    $\$$
Answer
Correct option: B.
$H$
View full question & answer
MCQ 471 Mark
Which command is used to quit editing mode without saving changes made in the file in Vim editor ?
  • A
    $:w$
  • B
    $:wq$
  • C
    $:q$
  • $:Q!$
Answer
Correct option: D.
$:Q!$
View full question & answer
MCQ - Computer STD 11 Arts Questions - Vidyadip