50+ MCQ’s On Visual Basic | Computer Systems and Applications
21. ______ property determines whether the focus stops on a control when a Tab key is pressed.
(a) Default
(b) TabStop
(c) Cancel
(d) TabIndex
22. ______ property determines the order of the focus to move as the Tab key is pressed.
(a) Default
(b) TabStop
(c) Cancel
(d) TabIndex
23. To define access key, ___ symbol is used before the character you want as access keywhile setting caption property of a Command Button.
(a) $
(b) %
(c) ^
(d) &
24. Which arithmetic operator is used for integer division.
(a) /
(b) \
(c) %
(d)
25. Which arithmetic operator is used for exponentiation.
(a) /
(b) \
(c) %
(d) ^
26. What is the result of VAL(“1,234”)?
(a) 1
(b) 0
(c) 1234
(d) 123
27. What is the result of VAL(“1234”)?
(a) 1
(b) 0
(c) 123
(d) 1234
28. What is the result of VAL(“A123”)?
(a) 1
(b) 0
(c) 1234
(d) 123
29. What is the result of VAL(“15.08.2020”)?
(a) 15
(b) 15.08
(c) 0
(d) 15.08.2020
30. What is the result of VAL(“15/08/2020”)?
(a) 15
(b) 15/08
(c) 0
(d) 15/08/2020
Answers: 21-b, 22-d, 23-d, 24-b, 25-d, 26-a, 27-d, 28-b, 29-b, 30-a |