On This Page

This set of Visual Basic (VB) Multiple Choice Questions & Answers (MCQs) focuses on Visual Basic VB Set 1

Q1 | ____ icon is not available on a toolbox.
  • form
  • label
  • text box
  • check box
Q2 | Remark statement starts with _____
  • *
  • /
  • `
  • /*
Q3 | Object name can be maximum of _____ characters.
  • 255
  • 30
  • 40
  • 256
Q4 | Prefix used for a Check box is _____
  • chk
  • che
  • chc
  • chb
Q5 | Prefix used for a Command Button is _____
  • com
  • cob
  • cmm
  • cmd
Q6 | Prefix used for a Form is _____
  • for
  • frm
  • fra
  • fom
Q7 | Prefix used for a Frame is _____
  • fra
  • frm
  • fre
  • fam
Q8 | Prefix used for a Text Box is _____
  • txt
  • tex
  • teb
  • tbo
Q9 | Which of the following is not a valid property of a Form?
  • name
  • caption
  • text
  • forecolor
Q10 | Which of the following is not a valid property of a Label?
  • name
  • caption
  • text
  • forecolor
Q11 | Which of the following is not a valid property of a Text Box?
  • name
  • caption
  • text
  • forecolor
Q12 | of the following is not a valid property of a Command Button?
  • name
  • caption
  • text
  • forecolor
Q13 | Which of the following is not a valid property of a Check Box?
  • name
  • caption
  • text
  • enabled
Q14 | Which of the following is not a valid property of an Option Button?
  • name
  • caption
  • text
  • enabled
Q15 | Which of the following is not a valid property of a Command Button?
  • default
  • caption
  • text
  • cancel
Q16 | If ______ property of a Command button is set to True then by pressing ‘Esc’ key fromthe keyboard the Command get selected automatically
  • default
  • caption
  • cancel
  • tabindex
Q17 | If ______ property of a Command button is set to True then by pressing ‘Enter’ key fromthe keyboard the Command get selected automatically
  • default
  • caption
  • cancel
  • tabindex
Q18 | ______ property determines whether the focus stops on a control when a Tab key ispressed.
  • default
  • tabstop
  • cancel
  • tabindex
Q19 | ______ property determines the order of the focus to move as the Tab key is pressed.
  • default
  • tabstop
  • cancel
  • tabindex
Q20 | To define access key, ___ symbol is used before the character you want as access keywhile setting caption property of a Command Button.
  • $
  • %
  • ^
  • &
Q21 | Which arithmetic operator is used for integer division.
  • /
  • \\
  • %
Q22 | Which arithmetic operator is used for exponentiation.
  • /
  • \\
  • %
  • ^
Q23 | What is the result of VAL(“1,234”)?
  • 1
  • 0
  • 1234
  • 123
Q24 | What is the result of VAL(“1234”)?
  • 1
  • 0
  • 123
  • 1234
Q25 | What is the result of VAL(“A123”)?
  • 1
  • 0
  • 1234
  • 123