CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs Set B

Refer to CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs Set B provided below available for download in Pdf. The MCQ Questions for Class 11 Computer Science with answers are aligned as per the latest syllabus and exam pattern suggested by CBSE, NCERT and KVS. Multiple Choice Questions for Vim Editor and Basic Scripting are an important part of exams for Class 11 Computer Science and if practiced properly can help you to improve your understanding and get higher marks. Refer to more Chapter-wise MCQs for CBSE Class 11 Computer Science and also download more latest study material for all subjects

MCQ for Class 11 Computer Science Vim Editor and Basic Scripting

Class 11 Computer Science students should refer to the following multiple-choice questions with answers for Vim Editor and Basic Scripting in Class 11.

Vim Editor and Basic Scripting MCQ Questions Class 11 Computer Science with Answers

 

Question : In Vim editor which command moves cursor to the end of line ?

a) M

b) H

c) L

d) $

Answer : $

 

Question : In Vim editor which command moves cursor to the beginning of next sentence ?

a) )

b) (

c) G

d) W

Answer : )

 

Question : In Vim editor which command moves cursor to the beginning of current sentence ?

a) )

b) (

c) G

d) W

Answer : (

 

Question : In Vim editor which command moves cursor to end of file ?

a) )

b) (

c) G

d) W

Answer : G

 

Question : In Vim editor which command moves cursor one word at a time?

a) )

b) (

c) G

d) W

Answer : W

 

Question : In Vim editor which command moves cursor back a word at a time.?

a) Nb

b) e

c) c

d) B

Answer : B

 

Question : In Vim editor which command moves cursor back a word at a time ?

a) Nb

b) e

c) b

d) c

Answer : b

 

Question : In Vim editor which command moves cursor back a word at a time ?

a) b

b) B

c) e

d) Both (A) and C

Answer : Both (A) and C

 

Question : In Vim editor which command moves cursor back by N number of words ?

a) Nb

b) e

c) b

d) B

Answer : Nb

 

Question : In Vim editor which command moves to line of file ?

a) Nb

b) gg

c) b

d) B

Answer : gg

 

Question : In Vim editor which command moves to beginning of the line ?

a) Nb

b) gg

c) b

d) 0

Answer : 0

 

Question : In Vim editor which command moves cursor back to end of word ?

a) Nb

b) E

c) b

d) B

Answer : E

 

Question : A user needs to toggle between the ____ and the ______ mode when we edit a document.

a) Command, Insert

b) Edit, Delete

c) Command, Last line

d) Insert, Delete

Answer : Command, Insert

 

Question : ______ the document is one of the most common operations that a user would perform once the document is created.

a) Skipping

b) Editing

c) Compiling

d) Inserting

Answer : Editing

 

Question : In Vim editor which command is used to undo last change ?

a) U

b) u

c) C

d) dd

Answer : u

 

Question : In Vim editor which command is used to undo all changes to entire line ?

a) U

b) u

c) C

d) dd

Answer : U

 

Question : In Vim editor which command is used to Delete single line ?

a) U

b) u

c) C

d) dd

Answer : dd

 

Question : In Vim editor which command is used to delete N number of lines ?

a) U

b) u

c) C

d) Ndd

Answer : Ndd

 

Question : In Vim editor which command is used to delete contents of line after cursor ?

a) D

b) dd

c) C

d) Ndd

Answer : D

 

Question : In Vim editor which command is used to delete contents of line after cursor and insert new text ?

a) D

b) dd

c) C

d) Ndd

Answer : C

 

Question : In Vim editor which command is used to delete one word ?

a) cw

b) Ndw

c) dw

d) Ndd

Answer : dw

 

Question : In Vim editor which command is used to delete N number of words ?

a) cw

b) Ndw

c) dw

d) Ndd

Answer : Ndw

 

Question : In Vim editor which command is used to change word ?

a) cw

b) Ndw

c) dw

d) Ndd

Answer : cw

 

Question : In Vim editor which command is used to delete the character under the cursor ?

a) R

b) r

c) x

d) X

Answer : x

 

Question : In Vim editor which command is used to delete the character before the cursor ?

a) R

b) r

c) x

d) X

Answer : X

 

Question : In Vim editor which command is used to replace single character ?

a) R

b) r

c) x

d) X

Answer : r

 

Question : In Vim editor which command is used to overwrite characters from cursor onward ?

a) R

b) r

c) x

d) X

Answer : R

 

Question : In Vim editor which command is used to overwrite substitute one character under cursor and continue to insert ?

a) s

b) S

c) x

d) X

Answer : s

 

Question : In Vim editor which command is used to overwrite substitute entire line and begin to insert at beginning of line ?

a) s

b) S

c) x

d) X

Answer : S

 

Question : In Vim editor which command is used to change case of individual character ?

a) . (dot)

b) -

c) @

d) %

Answer : -

 

Question : In Vim editor which command is used to repeat last command action ?

a) . (dot)

b) -

c) @

d) %

Answer : . (dot)

 

Question : Vim editor allows to copy text ______

a) From file into temporary buffer

b) From temporary buffer into file

c) From file into processor

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : Buffer which acts like temporary memory is known as ______.

a) Clipboard

b) Hard disk

c) Smart memory

d) Pen drive

Answer : Clipboard

 

Question : In Vim editor which command is used to place (paste) contents of buffer after current line defined by current cursor position ?

a) p

b) yy

c) Nyy

d) x

Answer : p

 

Question : In Vim editor which command is used to copy N lines from current cursor position into the buffer ?

a) p

b) yy

c) Nyy

d) x

Answer : Nyy

 

Question : In Vim editor which command is used copy single line (defined by current cursor position) into the buffer ?

a) p

b) yy

c) Nyy

d) x

Answer : yy

 

Question : 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

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : In Vim editor which command is used to search for text in a forward direction ?

a) /

b) ?

c) n

d) SHIFT + n

Answer : /

 

Question : Which task should be done using the shell scripts ?

a) Repetitive

b) Non Repetitive

c) Sequential

d) Non - Sequential

Answer : Repetitive

 

Question : Which type of values can be assigned to a variable ?

a) Strings

b) Numeric

c) Shell script

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : What is the full form of expr ?

a) Exception

b) Expresso

c) Express

d) Expression

Answer : Expression

 

Question : What are the contents written after expr are assumed to be ?

a) Operands of an expression

b) Operators of an expression

c) Boolean expression

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : While writing a numerical expression in Linux should there be one space between operator and operands ?

a) Yes

b) No

c) None of these

d) All of these

Answer : Yes

 

Question : While writing a numerical expression in Linux should there be no space between operator and operands ?

a) Yes

b) No

c) None of these

d) All of these

Answer : No

 

Question : While writing a numerical expression in Linux should there be no space before and after the assignment operator (=) ?

a) Yes

b) No

c) None of these

d) All of these

Answer : Yes

 

Question : While writing a numerical expression in Linux should there be one space before and after the assignment operator(=) ?

a) Yes

b) No

c) None of these

d) All of these

Answer : No

 

Question : Which operator is used for addition in Linux?

a) +

b) ++

c) =+

d) All of these

Answer : +

 

Question : Which operator is used for subtraction in Linux ?

a) -

b) %-

c) = -

d) All of these

Answer : -

 

Question : Which operator is used for multiplication Linux ?

a) *

b) **

c) =*

d) All of these

Answer : *

 

Question : Which operator is used for division in Linux

a) /

b) \

c) = \

d) All of these

Answer : /

 

Question : Which operator is used for modular divisive in Linux ?

a) /

b) \

c) %

d) All of these

Answer : %

 

Question : The numerical expressions are evaluated « per the general norms of..........

a) Mathematics

b) Science

c) Commerce

d) None of these

Answer : Mathematics

 

Question : In case of tie between operators of sam priority, preference is given to the operate which occurs ......

a) Last

b) Third

c) Second

d) First

Answer : First

 

Question : To force one operation to be perform earlier than the other, we can enclose the operation in ......

a) Curly braces

b) Rectangular brackets

c) Parenthesis

d) Angular brackets

Answer : Parenthesis

 

Question : Which operator in Linux has to be prefixes with \ (backslash) character ?

a) +

b) -

c) *

d) %

Answer : *

 

Question : Multiplication operator has to be prefixes using .... character .

a) \ (forward slash)

b) \ (backslash)

c) %

d) _(underscore)

Answer : \ (backslash)

 

Question : Which column of date command displays year?

a) 3

b) 4

c) 5

d) 6

Answer : 6

 

Question : Which command is used to display the year from date command?

a) date| tr –s’ ‘ |cut ― ― - f 6

b) date| tr –s‟ „|cut “ “ - f 4

c) date| tr –s‟ „|cut “ “-f 5

d) date| tr –s‟ „|cut “ “ - f 3

Answer : date| tr –s’ ‘ |cut ― ― - f 6

 

Question : Which command is used to assign value to variables defined in the shell script ?

a) Read

b) Echo

c) Clear

d) None of these

Answer : Read

 

Question : Which command expects the user to key in the data on the standard input device ?

a) Read

b) Echo

c) Clear

d) None of these

Answer : Read

 

Question : In case we press Enter key without typing anything the script will assign ______ value to the variable

a) ELEVEN

b) ONE

c) ZERO

d) NULL

Answer : NULL

 

Question : Which option instructs the echo command not to print a new line after the message is displayed ?

a) -o

b) -s

c) -n

d) -d

Answer : -n

 

Question : What is the default action of the echo command after displaying the message passed to it as an argument ?

a) Does not insert a new line

b) Inserts a new line

c) Inserts a null character

d) Inserts zero

Answer : Inserts a null character

 

Question : Which command is used to display the total number of lines in that file ?

a) Filename | wc -1

b) Filename | wc

c) Filename | wc -w

d) Filename | wc -c

Answer : Filename | wc -1

 

Question : A variable name can consist of.........

a) Alphabets

b) Digits

c) an Underscore

d) All of these

Answer : All of these

 

Question : Which special character is allowed as part of variable name ?

a) Backslash

b) Percentage

c) Dollar

d) Underscore

Answer : Underscore

 

Question : The first character of a variable name must be ______.

a) an alphabet

b) an underscore

c) a dollar

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : If the shell is unable to understand a word as a variable it will interpret it as a Linux ______

a) Command

b) Expression

c) Environment variable

d) None of these

Answer : Command

 

Question : _______ are entities wherein we can store or edit a value in Linux .

a) Variables

b) Shell script

c) Shell arithmetic

d) None of these

Answer : Variables

 

Question : The value stored in the variable can also be ______ as per users need.

a) Reused

b) Changed

c) None of these

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : A variable when used in a shell script allows us to _______ .

a) Assign a value to it

b) Accept its value from the user

c) None of these

d) Both (A) and (B)

Answer : Both (A) and (B)

 

Question : Which command is used to display the value assigned to the variable ?

a) Display

b) Read

c) Clear

d) Echo

Answer : Echo

 

Question : Should there be no space on either side of the equal to (=) symbol at the time of assigning a value to a variable.

a) Yes

b) No

c) None of these

d) All of these

Answer : Yes

 

Question : Which symbol preceding the variable name instructs the shell to extract the value stored or assigned in the variable ?

a) $

b) #

c) @

d) %

Answer : $

 

Question : If due to some reasons a space occurs at either side of the equal to (=) symbol, we would get.....output

a) Correct

b) Unexpected

c) Null

d) Zero

Answer : Unexpected

 

Question : If due to some reasons a space occurs at either side of the equal to (=) symbol, the shell will interpret the string after the space as a _____

a) Null

b) Command

c) String

d) Expression

Answer : Command

 

Question : If we reuse this variable again, the old value stored in it will be ________

a) Old value

b) Zero

c) Overwritten

d) Null

Answer : Overwritten

 

Question : _______ the document is one of the most common operations that a user would perform once the document is created.

a) Skipping

b) Editing

c) Compiling

d) Inserting

Answer : Editing

 

Question : Which character switches to the visual mode allowing to manipulate lines ?

a) v

b) V

c) CTRL + v

d) d

Answer : V

 

Question : When was Vim publicly released ?

a) 1992

b) 1994

c) 1995

d) 1991

Answer : 1991

MCQs for Vim Editor and Basic Scripting Computer Science Class 11

Expert teachers of studiestoday have referred to NCERT book for Class 11 Computer Science to develop the Computer Science Class 11 MCQs. If you download MCQs with answers for the above chapter you will get higher and better marks in Class 11 test and exams in the current year as you will be able to have stronger understanding of all concepts. Daily Multiple Choice Questions practice of Computer Science will help students to have stronger understanding of all concepts and also make them expert on all critical topics. After solving the questions given in the MCQs which have been developed as per latest books also refer to the NCERT solutions for Class 11 Computer Science. We have also provided lot of MCQ questions for Class 11 Computer Science so that you can solve questions relating to all topics given in each chapter. After solving these you should also refer to Class 11 Computer Science MCQ Test for the same chapter.

Where can I download latest CBSE MCQs for Class 11 Computer Science Vim Editor and Basic Scripting

You can download the CBSE MCQs for Class 11 Computer Science Vim Editor and Basic Scripting for latest session from StudiesToday.com

Are the Class 11 Computer Science Vim Editor and Basic Scripting MCQs available for the latest session

Yes, the MCQs issued by CBSE for Class 11 Computer Science Vim Editor and Basic Scripting have been made available here for latest academic session

Where can I find CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs online?

You can find CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs on educational websites like studiestoday.com, online tutoring platforms, and in sample question papers provided on this website.

How can I prepare for Vim Editor and Basic Scripting Class 11 MCQs?

To prepare for Vim Editor and Basic Scripting MCQs, refer to the concepts links provided by our teachers and download sample papers for free.

Are there any online resources for CBSE Class 11 Computer Science Vim Editor and Basic Scripting?

Yes, there are many online resources that we have provided on studiestoday.com available such as practice worksheets, question papers, and online tests for learning MCQs for Class 11 Computer Science Vim Editor and Basic Scripting