Quiznetik
Visual Programming | Set 3
1. Date and Time are internally stores as _______ in Visual Basic.
A. strings
B. numbers
C. characters
D. symbols
Correct : B. numbers
2. The ____________ function in VB retrieves the date and time.
A. date
B. now
C. datediff
D. datenow
Correct : B. now
3. The individual elements of an array are identified using an _______.
A. number
B. character
C. index
D. value
Correct : C. index
4. _________ is named storage locations in memory, the value of which does not change during program execution.
A. Constant
B. Variable
C. Static
D. Dynamic
Correct : A. Constant
5. Variables of different data types when combined as a single variable to hold several relation informations are called a __________.
A. user-defined data type
B. user-undefined data type
C. user-declared data type
D. user-undeclared data type
Correct : A. user-defined data type
6. When we want to change the size of the array without losing the previous data we have to use _______keyword with the ReDim statement.
A. preserve
B. static
C. dynamic
D. permanent
Correct : A. preserve
7. A __________ variable is one that is declared inside a procedure.
A. global
B. external
C. intrinsic
D. local
Correct : D. local
8. A _________ variable is available to all the procedures in the module.
A. procedure-level
B. module-level.
C. class-level
D. object-level
Correct : B. module-level.
9. The _______ displays a list of items from which a user can select one.
A. listbox
B. textbox
C. combobox
D. labelbox
Correct : A. listbox
10. _________ is a control used to display message and enter text.
A. ListBox
B. Combobox
C. Labelbox
D. TextBox
Correct : D. TextBox
11. _______ control executes the timer events at specified intervals of time.
A. Timer
B. Clock
C. Frame
D. Digital
Correct : A. Timer
12. _______ control serves as a visual and functional container for controls.
A. ListBox
B. Frame
C. Combobox
D. Labelbox
Correct : B. Frame
13. _______ displays a text that the user cannot modify or interact with.
A. List
B. Combo
C. Label
D. Text
Correct : B. Combo
14. ComboBox contains a ________ and __________.
A. textbox, listbox
B. listbox, labelbox
C. labelbox, textbox
D. listbox, optionbox
Correct : A. textbox, listbox
15. MDI stands for _________.
A. multiple document interface.
B. multiple design interface.
C. manipulated document interface.
D. menu document interface.
Correct : A. multiple document interface.
16. A __________ control is used to create applications that present information in rows and columns.
A. gridflex
B. gridline
C. flexline
D. flexgrid
Correct : D. flexgrid
17. _______ method sets the colour of an individual pixel.
A. PSet
B. LSet
C. SSet
D. RSet
Correct : A. PSet
18. ____________ method paints graphics at arbitrary locations.
A. Picture
B. PaintPicture
C. ImagePicture
D. Image
Correct : B. PaintPicture
19. A __________ array is a group of controls that share the same name and type.
A. control
B. fixed
C. static
D. local
Correct : A. control
20. The ____________ is a commonly used control, which enables the user to select a value by positioning it at the desired location.
A. verticalbar
B. horizonalbar
C. scrollbar
D. menubar
Correct : C. scrollbar
21. Tooltips can be added to a button by setting a text to the __________ property of the command button.
A. tooltip
B. menutip
C. listtip
D. nametip
Correct : A. tooltip
22. The text color of a command button can be set using the ____________ property.
A. backcolor
B. forecolor
C. fillcolor
D. listcolor
Correct : B. forecolor
23. A ___________ is a set of menu items on a menu that share the same name and event procedure.
A. menu control array
B. control array
C. list array
D. static array
Correct : A. menu control array
24. A ________menu is a floating menu that is displayed over a form independent of the menu bar.
A. pop-down
B. pop-right
C. pop-up
D. pop-left
Correct : C. pop-up
25. _________ boxes are used to display information to the user and to prompt the user for the data needed to continue an application.
A. Msgbox
B. Inputbox
C. Listbox
D. Dialog
Correct : D. Dialog
26. A shape control is a visual element that contains several _________shapes.
A. defined
B. predefined
C. lateral
D. formlevel
Correct : B. predefined
27. Child forms are displayed within the _________area of a MDI Form at run time.
A. internal
B. external
C. limited
D. unlimited
Correct : A. internal
28. The _________property of controls collection returns the number of controls on the form.
A. countline
B. count
C. linecount
D. numbercount
Correct : B. count
29. A _______control in visual basic is used to create applications that present information in rows and columns.
A. MSFlexGrid
B. MSGridFlex
C. MSGridLine
D. MSLineGrid
Correct : A. MSFlexGrid
30. _________ method is used to draw and fill boxes.
A. Fill
B. Draw
C. Line
D. Image
Correct : C. Line
31. The ________ and _______ properties specify the current cell in a MSFlexGrid.
A. row, col
B. col, cols
C. row, rows
D. row, cell
Correct : A. row, col
32. A _________ method is used to draw a variety of circular and elliptical shapes.
A. line
B. square
C. circle
D. shape
Correct : C. circle
33. A _________dialog box does not allow the user to continue with other applications unless it is closed or unloaded.
A. modeless
B. modal
C. modalless
D. modalfull
Correct : B. modal
34. The _________ dialog box allows shifting of focus between the dialog box and another form without closing the dialog box.
A. modal
B. modalfull
C. modeless
D. modaladd
Correct : C. modeless
35. ________ occurs when the user releases any mouse button.
A. MouseDown
B. MouseUp
C. MouseLeft
D. MouseRight
Correct : B. MouseUp
36. MSDN Stands for ________
A. microsoft domain network
B. microsoft developer network
C. microsoft Dial netwrok
D. microsoft Dynamic network
Correct : B. microsoft developer network
37. The various properties in property window are arranged in _____ order.
A. Alphabetical
B. Sequential
C. Binary
D. Descending
Correct : A. Alphabetical
38. In date data type the _______ byte is require for storing data.
A. 10
B. 6
C. 8
D. 2
Correct : C. 8
39. The ______ number of characters are allowed for naming the variables.
A. 128
B. 255
C. 64
D. 32
Correct : B. 255
40. Normally declared in the general section of the codes' windows using the ____statement.
A. dim
B. int
C. str
D. val
Correct : A. dim
41. _______allows a procedure to be repeated as many times as long as the processor could support
A. looping
B. reserved words
C. leywrods
D. data type
Correct : A. looping
42. ________indicates that the function is applicable to the whole program
A. private
B. public
C. local
D. global
Correct : B. public
43. ______ are the operations that an object can perform.
A. methods
B. class
C. objects
D. variables
Correct : A. methods
44. Event-driven languages are ____
A. FORTRAN based
B. Are used to write procedural languages
C. OOP
D. Designed to make programming GUI easier
Correct : D. Designed to make programming GUI easier
45. Which of the following is not part of the IDE _____
A. Code editor window
B. General window
C. Form layout window
D. Properties window
Correct : B. General window
46. The application name always appears in the _____
A. Properties window
B. Intermediate window
C. Title bar
D. Code window
Correct : C. Title bar
47. In visual basic controls are also called as ______
A. Objects
B. Rules
C. Part of the menus
D. Code
Correct : A. Objects
48. The location of the form on the desktop during execution is determined by the ____
A. Form Designer window
B. Project Explorer window
C. Context Menu
D. Form Layout window
Correct : D. Form Layout window
49. Visual Basic forms are identified by a _____
A. .frm suffix
B. .mak suffix
C. .for suffix
D. A special icon
Correct : A. .frm suffix
50. The _____ control is used for checking the multiple option in given list
A. radio button
B. check box
C. list box
D. text box
Correct : B. check box