Visual Basic Exam

cedti4
cedti5
cedti3
cedti6
cedti1
cedti4 cedti5 cedti3 cedti6 cedti1

Welcome Online Computer Education Assessment Portal

Basic Instructions for Online Examinations:

  1. The examination will comprise of Objective type Multiple Choice Questions (MCQs)
  2. All questions are compulsory and each carries two marks.
  3. The total number of questions is 40 and Duration of examination, is 2 Hrs.
  4. There will be NO NEGATIVE MARKING for the wrong answers.
  5. The examination does not require using any paper, pen, pencil and calculator.
  6. Every student will take the examination on a Laptop/Desktop/Smart Phone.
  7. Use Full Screen Before the Click Start Button.


0%

Dear Student Before Start Examination Click Above Square Button 

 


Visual Basic

Fill The Detail Before Start The Examination

1 / 40

1. If A, A+2 and A+4 are prime numbers, then how many possible solutions do A have?

2 / 40

2. Which of the following section is used to make text appear around the image?

3 / 40

3. If l, m and n are prime numbers, such that l<m<n<13. In how many cases (l + m + n) is also a prime number?

4 / 40

4. In Visual Basic, which of the following is used for coding single-alternative and dual-alternative selection structures?

5 / 40

5. Who developed Visual Basic?

6 / 40

6. Which of the following forces a literal constant to assume a data type other than the one its form indicates?

7 / 40

7. Which of the following toolbox is used to include an image on the Visual Basic form?

8 / 40

8. Which of the following statement is used to define a class in visual basic?

9 / 40

9. What will be the output of the following Visual Basic code?

Dim intScores As Integer = {78, 83, 75, 90}
Array.Sort(intScores)

 

10 / 40

10. Which of the following extension is used to represent the project file in Visual Basic?

11 / 40

11. Which of the following is the caption part for the following Visual Basic command?

MessageBox.Show("Delete Visual Basic?","VB.Net",MessageBoxButtons.YesNo,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button2).

12 / 40

12. Which of the following applications can be developed using Visual Basic tool?

13 / 40

13. Which of the following type of constant is ControlChars.NewLine constant?

14 / 40

14. Which of the following is used to convert a number from one data type to another in visual studio?

15 / 40

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

16 / 40

16. In Visual Basic, which of the following method converts a string to a number?

17 / 40

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

18 / 40

18. Who developed Visual Basic?

19 / 40

19. Which of the following is commonly used to perform an immediate action when clicked in Visual Studio?

20 / 40

20. In the following Visual Basic code, what will be in msg, if str contains “visual basic”?

Dim str as String
Dim  msg as String
If str.toUpper=”VISUAL BASIC” 
   msg=”VB.Net”
Else
   msg=”Not Visual Basic”
EndIf

 

21 / 40

21. Which of the following is the default name assigned to the label control in Visual Basic?

22 / 40

22. In visual basic language what are the rules of a programming language called?

23 / 40

23. The position of an item in a list box depends on which of the following property of the value stored in the list box’s?

24 / 40

24. Which of the following is used to display a message box in Visual Basic?

25 / 40

25. Which of the following method is used to sort an array in visual basic?

26 / 40

26. In the Visual Basic application, which of the following are listed in a properties window?

27 / 40

27. Which of the following extension is used to represent the project file in Visual Basic?

28 / 40

28. Which of the following instruction tells the computer to close the current form in Visual Basic?

29 / 40

29. In Visual Basic, which of the following keyword tells the computer to pass the variable’s address rather than its contents?

30 / 40

30. Which of the following applications can be developed using Visual Basic tool?

31 / 40

31. Which of the following returns a value after performing its specific task in Visual Basic?

32 / 40

32. Which of the following displays the list of projects contained in the Visual Basic current solution?

33 / 40

33. Which of the following statement is used to define a class in visual basic?

34 / 40

34. In the Visual Basic application, which of the following are listed in a properties window?

35 / 40

35. What will be the output of the following Visual Basic expression?

Financial.Pmt (0.05, 3, 9000)

 

36 / 40

36. In Visual Basic, which of the following is used for coding single-alternative and dual-alternative selection structures?

37 / 40

37. What will be the output of the following Visual Basic code, If the intnumber variable is 110?

If intnumber<=100 Then
   Intnumber=intnumber*2;
Else
   Intnumber=intnumber*3;
EndIf

38 / 40

38. What is the value of len in the following Visual Basic code?

Dim strVB() As String = {"Sanfoundry", "Visual Basic", "VB.Net", "Visual Studio"}
Dim len As Integer
len = strVB.Length()

 

39 / 40

39. What happens when both the minimize box and maximize box property are set to false in Visual Basic?

40 / 40

40. Which of the following property is used to specify a combo box’s style in Visual Basic?

0%

Please rate this Exam