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. CBSE Class 11 Computer Science MCQs with answers available in Pdf for free download. The MCQ Questions for Class 11 Computer Science with answers have been prepared as per the latest syllabus, CBSE books and examination pattern suggested in Class 11 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 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. These MCQ questions with answers for Class 11 Computer Science will come in exams and help you to score good marks

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

More Study Material

CBSE Class 11 Computer Science Vim Editor and Basic Scripting MCQs

We hope students liked the above MCQs for Vim Editor and Basic Scripting designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Students of Class 11 should download the Multiple Choice Questions and Answers in Pdf format and practice the questions and solutions given in above Class 11 Computer Science MCQs Questions on daily basis. All latest MCQs with answers have been developed for Computer Science by referring to the most important and regularly asked topics which the students should learn and practice to get better score in school tests and examinations. Studiestoday is the best portal for Class 11 students to get all latest study material free of cost.

MCQs for Computer Science CBSE Class 11 Vim Editor and Basic Scripting

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 daily, 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 and its study material will help students to have stronger understanding of all concepts and also make them expert on all critical topics. You can easily download and save all MCQs for Class 11 Computer Science also from www.studiestoday.com without paying anything in Pdf format. After solving the questions given in the MCQs which have been developed as per latest course books also refer to the NCERT solutions for Class 11 Computer Science designed by our teachers

Vim Editor and Basic Scripting MCQs Computer Science CBSE Class 11

All MCQs given above for Class 11 Computer Science have been made as per the latest syllabus and books issued for the current academic year. The students of Class 11 can refer to the answers which have been also provided by our teachers for all MCQs of Computer Science so that you are able to solve the questions and then compare your answers with the solutions provided by us. 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. All study material for Class 11 Computer Science students have been given on studiestoday.

Vim Editor and Basic Scripting CBSE Class 11 MCQs Computer Science

Regular MCQs practice helps to gain more practice in solving questions to obtain a more comprehensive understanding of Vim Editor and Basic Scripting concepts. MCQs play an important role in developing understanding of Vim Editor and Basic Scripting in CBSE Class 11. Students can download and save or print all the MCQs, printable assignments, practice sheets of the above chapter in Class 11 Computer Science in Pdf format from studiestoday. You can print or read them online on your computer or mobile or any other device. After solving these you should also refer to Class 11 Computer Science MCQ Test for the same chapter

CBSE MCQs Computer Science Class 11 Vim Editor and Basic Scripting

CBSE Class 11 Computer Science best textbooks have been used for writing the problems given in the above MCQs. If you have tests coming up then you should revise all concepts relating to Vim Editor and Basic Scripting and then take out print of the above MCQs and attempt all problems. We have also provided a lot of other MCQs for Class 11 Computer Science which you can use to further make yourself better in Computer Science

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

Can I download the MCQs of Vim Editor and Basic Scripting Class 11 Computer Science in Pdf

Yes, you can click on the links above and download topic wise MCQs Questions PDFs for Vim Editor and Basic Scripting Class 11 for Computer Science

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

How can I download the Vim Editor and Basic Scripting Class 11 Computer Science MCQs

You can easily access the links above and download the Vim Editor and Basic Scripting Class 11 MCQs Computer Science for each topic

Is there any charge for the MCQs with answers for Class 11 Computer Science Vim Editor and Basic Scripting

There is no charge for the MCQs and their answers for Class 11 CBSE Computer Science Vim Editor and Basic Scripting you can download everything free

How can I improve my MCQs in Class 11 Computer Science Vim Editor and Basic Scripting

Regular revision of MCQs given on studiestoday for Class 11 subject Computer Science Vim Editor and Basic Scripting can help you to score better marks in exams

What are MCQs for Class 11 Computer Science Vim Editor and Basic Scripting

Multiple Choice Questions (MCQs) for Vim Editor and Basic Scripting Class 11 Computer Science are objective-based questions which provide multiple answer options, and students are required to choose the correct answer from the given choices.