Quiznetik
Programming in Visual Basic | Set 2
1. In vb variable name cannot be more than --- characters
A. 255
B. 300
C. 355
D. 4000
Correct : A. 255
2. In vb ________ is the extension to represent project file.
A. .frm
B. .vbp
C. .cls
D. .vb
Correct : B. .vbp
3. ___is data type that can be used to declare a text of maximum 10 million.
A. date
B. long
C. numeric
D. string
Correct : D. string
4. The variable that does not change the value during execution of program is______
A. numeric
B. string
C. constant
D. none
Correct : C. constant
5. none of these 36)The data control s used to link _____________
A. oracle
B. ms-excel
C. ms-access
D. none of these
Correct : D. none of these
6. The methods which loads the form into memory _______ it on screen.
A. load
B. show
C. display
D. all of above
Correct : C. display
7. The code in an application can be broken into logical component by ---- process
A. modular
B. procedural
C. partitioning
D. none of these
Correct : B. procedural
8. Vb allows programmers to define a data type before start the program it is called ____
A. explicit
B. implicit
C. dim
D. none of these
Correct : A. explicit
9. VB allows programmers to without the declaring data type before start the program it is called ____
A. explicit
B. implicit
C. dim
D. none of these
Correct : B. implicit
10. Variables are used to temporarily store data during execution of application.
A. true
B. false
C. both
D. none of these
Correct : A. true
11. A variable is scoped to a global or local variable depending on how it is declared.
A. true
B. false
C. both
D. none of these
Correct : A. true
12. .--- is the process of putting two string together.
A. concatenation
B. grouping
C. remove
D. none of these
Correct : A. concatenation
13. The main Property of check box is _______ ___
A. check
B. value
C. stretch
D. load picture
Correct : A. check
14. The main Property of radio button box is ___ _______
A. check
B. value
C. stretch
D. load picture
Correct : B. value
15. ______ property is used set width and height of images .
A. check
B. value
C. stretch
D. load picture
Correct : C. stretch
16. Stretch property is used set_________of images .
A. width and height
B. border
C. color
D. load picture
Correct : A. width and height
17. The main Property of picture box is ___ _______
A. check
B. value
C. caption
D. picture
Correct : D. picture
18. Progress bar is always work with _________control.
A. text box
B. timer
C. menu
D. none of these.
Correct : B. timer
19. To menu editor is available in ___________button of the mouse
A. left
B. right
C. got focus
D. none of these
Correct : A. left
20. ____________menu is open by right button of the mouse .
A. short cut menu
B. popup menu
C. sub menu
D. none of these
Correct : B. popup menu
21. To create menu on MDI form, we have to select _________
A. view code
B. menu editor
C. images
D. lock control
Correct : B. menu editor
22. status bar is display at the _____of the mdi forms.
A. bottom
B. top
C. dim
D. frame
Correct : A. bottom
23. Toolbar is display at the __________ of the mdi form.
A. bottom
B. top
C. dim
D. frame
Correct : B. top
24. To declare the variable in vb _________-this key word is used
A. bottom
B. top
C. dim
D. frame
Correct : C. dim
25. _______ is used to differentiate the one redio button group to another radio button group.
A. bottom
B. top
C. dim
D. frame
Correct : D. frame
26. in ______box & ____ can edit in run time
A. text box & combo box
B. list and combo
C. label and text
D. all of these.
Correct : A. text box & combo box
27. Ms Access is used to ________
A. store data
B. display data
C. create data
D. none of these
Correct : A. store data
28. Following properties is use full to link ms-access in ADODC.
A. data source
B. caption
C. text
D. list
Correct : A. data source
29. VB is the example of____________software .
A. backhand
B. front end
C. o.s
D. none of these.
Correct : B. front end
30. The main property of ADODC control property is ___
A. data source
B. caption
C. text
D. none of these.
Correct : A. data source
31. What is the use of OLE
A. we can link to the other application
B. we can remove the other application
C. we can adjust the application
D. none of these
Correct : A. we can link to the other application
32. MS-access or oracle is the example of ___ _______software.
A. back end
B. front end
C. mathematical
D. none of these
Correct : A. back end
33. The ____ include all widow property, form, project ,form layout .
A. ide
B. adodc
C. msaccess
D. none of these
Correct : A. ide
34. _______is used to differentiate the one redio button group to another radio button group.
A. frame
B. top
C. dim
D. list
Correct : A. frame
35. _______is the process of finding & removing errors.
A. debugging
B. error finding
C. processing
D. none of these
Correct : A. debugging
36. VB is an ______________.
A. object based programming language
B. script language
C. mobile application
D. none of these
Correct : A. object based programming language
37. In _________ The size of the array can be changed at the run time- size changes during the program execution.
A. if ... then ..else
B. do while
C. dynamic array
D. array
Correct : C. dynamic array
38. The _______is show under or below the Project Explorer window
A. properties window
B. project explorer
C. menu bar
D. toolbox
Correct : A. properties window
39. The _________ is used to show quick reference to the various elements of a project namely form, classes and modules
A. mdi
B. project explorer
C. menu bar
D. toolbox
Correct : B. project explorer
40. ____________is insert from component , it is used to load ADO control.
A. microsoft activex data control 6
B. microsoft combo control 6
C. microsoft data grid control.
D. none of these
Correct : A. microsoft activex data control 6
41. ADO is ActiveX-based, it can not work in different platforms and different programming languages.
A. true
B. false
C. both
D. none of these
Correct : B. false
42. in VB , ___ is used to enter the more then one value in a single variable having different data types.
A. dim
B. structure
C. array
D. variable
Correct : C. array
43. In VB , array is divided into 3 types ., the second type is _____
A. single dimension
B. double dimension
C. poly dimension
D. multi dimension
Correct : C. poly dimension
44. in _________ we can edit in run time
A. text box
B. combo
C. label
D. all of these.
Correct : D. all of these.
45. frame is used to differentiate the one radio button group to another radio button group.
A. true
B. false
C. both a and b
D. none of these
Correct : A. true
46. In_________The size of the array can be changed at the run time- size changes during the program execution.
A. true
B. false
C. both
D. none of these
Correct : A. true
47. Microsoft ActiveX Data Control 6 is insert from component , it is used to load ADO control.
A. true
B. false
C. both
D. none of these
Correct : A. true
48. The Project Explorer is used to show quick reference to the various elements of a project namely form, classes and modules
A. true
B. false
C. both
D. none of these
Correct : A. true
49. single dimensional array requires one indexes to identify a particular element.
A. true
B. false
C. both a and b
D. none of these
Correct : A. true
50. The most common event associated with the command button is the Click event,
A. true
B. false
C. both a and b
D. none of these
Correct : A. true
51. The main property of Image Control is stretchable,
A. true
B. false
C. both a and b
D. none of these
Correct : A. true
52. The main property of ____, is LoadPicture and resize the picture .
A. picture
B. text
C. list
D. form
Correct : A. picture
53. Following are not the arithmetic operator .
A. mod
B. <=
C. +
D. /
Correct : B. <=
54. Following are the not condition operator .
A. >
B. <
C. <>
D. mod
Correct : D. mod