Skip to content

MCQ and Quiz for Exams

  • Home
  • Telangana and Karnataka
  • Bihar
  • Haryana
  • Assam
  • Jammu and kashmir
  • Login

Visual basic

21. What is the correct syntax to designate a default button?

Form.default=button1
Form.defaultButton=button1
Form.AcceptButton=button1
Form.focused=button1
Answer is Right!
Answer is Wrong!

Detailed SolutionWhat is the correct syntax to designate a default button?

Subscribe on YouTube

Join Our Telegram Channel

22. An . . . . . . . . function will display a message box where the user can enter a value.

msgbox()
inputbox()
print
nested
Answer is Right!
Answer is Wrong!

Detailed SolutionAn . . . . . . . . function will display a message box where the user can enter a value.

Subscribe on YouTube

Join Our Telegram Channel

23. . . . . . . . . is used to differentiate the one redio button group to another radio button group.

bottom
top
dim
frame
Answer is Right!
Answer is Wrong!

Detailed Solution. . . . . . . . is used to differentiate the one redio button group to another radio button group.

Subscribe on YouTube

Join Our Telegram Channel

24. Margin lines are . . . . . . . . in colour.

Blue
Red
Green
Black
Answer is Right!
Answer is Wrong!

Detailed SolutionMargin lines are . . . . . . . . in colour.

Join Our Telegram Channel

Subscribe on YouTube

25. In a . . . . . . . . loop the condition is evaluated before the instructions within the loop are processed.

Posttest
Pretest
Conditional loop
Unconditional loop
Answer is Right!
Answer is Wrong!

Detailed SolutionIn a . . . . . . . . loop the condition is evaluated before the instructions within the loop are processed.

Subscribe on YouTube

Join Our Telegram Channel

26. How many times will the MessageBox.Show method in the following code be processed? For count As Integer = 5 to 9 Step 5 MessageBox.Show(“Hi”) Next count

0
1
2
4
Answer is Right!
Answer is Wrong!

Detailed SolutionHow many times will the MessageBox.Show method in the following code be processed? For count As Integer = 5 to 9 Step 5 MessageBox.Show(“Hi”) Next count

Subscribe on YouTube

Join Our Telegram Channel

27. Using array in a program is efficient because . . . . . . . .

It shortens the program.
The program compiles faster
Number of variables are reduced.
Data is accessed faster
Answer is Right!
Answer is Wrong!

Detailed SolutionUsing array in a program is efficient because . . . . . . . .

Join Our Telegram Channel

Subscribe on YouTube

28. A button’s caption is entered using . . . . . . . .

sentence capitalization
book title capitalization
character capitalization
word capitalization
Answer is Right!
Answer is Wrong!

Detailed SolutionA button’s caption is entered using . . . . . . . .

Subscribe on YouTube

Join Our Telegram Channel

29. If you keep a variable undeclared, it is automatically taken as to which of the following data type in Visual Basic?

Char
Int
Object
String
Answer is Right!
Answer is Wrong!

Detailed SolutionIf you keep a variable undeclared, it is automatically taken as to which of the following data type in Visual Basic?

Join Our Telegram Channel

Subscribe on YouTube

30. Designers generally avoid using . . . . . . . . and . . . . . . . . in an interface.

Italics and underline
Underline and bold
Bold and italics
Regular and bold
Answer is Right!
Answer is Wrong!

Detailed SolutionDesigners generally avoid using . . . . . . . . and . . . . . . . . in an interface.

Join Our Telegram Channel

Subscribe on YouTube
Page 1Page 2Page 3Page 4Page 5

Test 1Test 2Test 3Test 4Test 5Test 6Test 7Test 8Test 9Test 10Test 11Test 12
© PSC Notes- Serving since 2015
Scroll back to top
  • Home
  • Telangana and Karnataka
  • Bihar
  • Haryana
  • Assam
  • Jammu and kashmir
  • Login
Go to mobile version