Questions · Page 1 of 3

MCQ . (1 Marks)

🎯

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)
 | (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 
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)
Both $(A)$ and $(B)$
View full question & answer
MCQ 61 Mark
…………… in the script is not executed.
  • A
    shellscript
  • B
    Variable
  • Comment
  • D
    Block
Answer
Correct option: C.
Comment
Comment
View full question & answer
MCQ 71 Mark
A comment in Ubuntu Linux is begins with which symbol ?
  • $ \#$
  • B
    $?$
  • C
    $ \$$
  • D
    $@$
Answer
Correct option: A.
$ \#$
A. #
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$
$ 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
 shell script
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 
 shell script
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
 Editing
View full question & answer
MCQ 121 Mark
In Vim editor which command moves to first line of file $?$
  • A
    $Nb$
  • $gg$
  • C
    $b$
  • D
    $B$
Answer
Correct option: B.
$gg$
$ gg$
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$
$ 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
    $\text{:\%s/phrase1/phrase2/g}$
  • B
    $\text{:\%s/phrase1/phrase2/gc}$
  • $\text{:s/phrase1/phrase2/g}$
  • D
    $\text{:s/phrase1/phrase2/gc}$
Answer
Correct option: C.
$\text{:s/phrase1/phrase2/g}$
$\text{: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$
$ x$
View full question & answer
MCQ 161 Mark
In Vim editor which command is used to Delete single line ?
  • A
    $U$
  • $u$
  • C
    $C$
  • D
    $dd$
Answer
Correct option: B.
$u$
$ u$
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$
$Ndw$
View full question & answer
MCQ 181 Mark
In Vim editor which command is used to delete one word $?$
  • A
    $cw$
  • B
    $Ndw$
  • $dw$
  • D
    $Ndd$
Answer
Correct option: C.
$dw$
$dw$
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 $
$s$
View full question & answer
MCQ 211 Mark
The Vim editor allows to ……
  • A
    search text or a regular expression within 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)$
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$
$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$
$ 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$
$ 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$
$  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 $
$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$
$ Nb$
View full question & answer
MCQ 281 Mark
Buffer Which acts like temporary memory is known as ….
  • clipboard
  • B
    hard disk       
  • C
    smart memory 
  • D
    pendrive
Answer
Correct option: A.
clipboard
 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$
$ 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$
$ 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
 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 341 Mark
In Vim editor which command is used to undo last change ?
  • A
    $U$
  • $u$
  • C
    $C$
  • D
    $dd$
Answer
Correct option: B.
$u$
$ u$
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$
$ 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$
$ 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 
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$
$  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     $
$  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)         
 (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$
$ 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$
$ 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$
$ 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!$
$ :Q!$
View full question & answer
MCQ 491 Mark
In file in Vim editor which command moves curser to left?
  • $h$
  • B
    $I$
  • C
    $J$
  • D
    $k$
Answer
Correct option: A.
$h$
$ h$
View full question & answer
MCQ 501 Mark
In file in Vim editor which command moves curser to right ?
  • $h$
  • B
    $I$
  • C
    $J$
  • D
    $k$
Answer
Correct option: A.
$h$
$ h$
View full question & answer
MCQ . (1 Marks) - COMPUTER STD 11 Commerce Questions - Vidyadip