Question 60

Key words in Visual Basic are words that :

  1. AHave specific meaning in Visual Basic that cannot be used for naming variables
  2. BCan be used for naming variables
  3. CAre used to be prefixed for control names such as txt, btn, lbl and lst
  4. DAre used as names of controls
Show answerHide answer

Correct answer: (A) Have specific meaning in Visual Basic that cannot be used for naming variables

Explanation

Keywords (reserved words) such as If, Dim and Loop have a predefined meaning in Visual Basic, so they cannot be used as variable names.

From DSSSB TGT Computer Science Practice Set 3

This is question 60 of DSSSB TGT Computer Science Practice Set 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.