97
79.6k

250+ Visual Programming Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Science in Computer Science (BSc CS) .

201.

Date and Time are internally stores as _______ in Visual Basic.

A. strings
B. numbers
C. characters
D. symbols
Answer» B. numbers
202.

The ____________ function in VB retrieves the date and time.

A. date
B. now
C. datediff
D. datenow
Answer» B. now
203.

The individual elements of an array are identified using an _______.

A. number
B. character
C. index
D. value
Answer» C. index
204.

_________ is named storage locations in memory, the value of which does not change during program execution.

A. Constant
B. Variable
C. Static
D. Dynamic
Answer» A. Constant
205.

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
Answer» A. user-defined data type
206.

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
Answer» A. preserve
207.

A __________ variable is one that is declared inside a procedure.

A. global
B. external
C. intrinsic
D. local
Answer» D. local
208.

A _________ variable is available to all the procedures in the module.

A. procedure-level
B. module-level.
C. class-level
D. object-level
Answer» B. module-level.
209.

The _______ displays a list of items from which a user can select one.

A. listbox
B. textbox
C. combobox
D. labelbox
Answer» A. listbox
210.

_________ is a control used to display message and enter text.

A. ListBox
B. Combobox
C. Labelbox
D. TextBox
Answer» D. TextBox
211.

_______ control executes the timer events at specified intervals of time.

A. Timer
B. Clock
C. Frame
D. Digital
Answer» A. Timer
212.

_______ control serves as a visual and functional container for controls.

A. ListBox
B. Frame
C. Combobox
D. Labelbox
Answer» B. Frame
213.

_______ displays a text that the user cannot modify or interact with.

A. List
B. Combo
C. Label
D. Text
Answer» B. Combo
214.

ComboBox contains a ________ and __________.

A. textbox, listbox
B. listbox, labelbox
C. labelbox, textbox
D. listbox, optionbox
Answer» A. textbox, listbox
215.

MDI stands for _________.

A. multiple document interface.
B. multiple design interface.
C. manipulated document interface.
D. menu document interface.
Answer» A. multiple document interface.
216.

A __________ control is used to create applications that present information in rows and columns.

A. gridflex
B. gridline
C. flexline
D. flexgrid
Answer» D. flexgrid
217.

_______ method sets the colour of an individual pixel.

A. PSet
B. LSet
C. SSet
D. RSet
Answer» A. PSet
218.

____________ method paints graphics at arbitrary locations.

A. Picture
B. PaintPicture
C. ImagePicture
D. Image
Answer» B. PaintPicture
219.

A __________ array is a group of controls that share the same name and type.

A. control
B. fixed
C. static
D. local
Answer» A. control
220.

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
Answer» C. scrollbar
221.

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
Answer» A. tooltip
222.

The text color of a command button can be set using the ____________ property.

A. backcolor
B. forecolor
C. fillcolor
D. listcolor
Answer» B. forecolor
223.

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
Answer» A. menu control array
224.

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
Answer» C. pop-up
225.

_________ 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
Answer» D. Dialog
226.

A shape control is a visual element that contains several _________shapes.

A. defined
B. predefined
C. lateral
D. formlevel
Answer» B. predefined
227.

Child forms are displayed within the _________area of a MDI Form at run time.

A. internal
B. external
C. limited
D. unlimited
Answer» A. internal
228.

The _________property of controls collection returns the number of controls on the form.

A. countline
B. count
C. linecount
D. numbercount
Answer» B. count
229.

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
Answer» A. MSFlexGrid
230.

_________ method is used to draw and fill boxes.

A. Fill
B. Draw
C. Line
D. Image
Answer» C. Line
231.

The ________ and _______ properties specify the current cell in a MSFlexGrid.

A. row, col
B. col, cols
C. row, rows
D. row, cell
Answer» A. row, col
232.

A _________ method is used to draw a variety of circular and elliptical shapes.

A. line
B. square
C. circle
D. shape
Answer» C. circle
233.

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
Answer» B. modal
234.

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
Answer» C. modeless
235.

________ occurs when the user releases any mouse button.

A. MouseDown
B. MouseUp
C. MouseLeft
D. MouseRight
Answer» B. MouseUp
236.

MSDN Stands for ________

A. microsoft domain network
B. microsoft developer network
C. microsoft Dial netwrok
D. microsoft Dynamic network
Answer» B. microsoft developer network
237.

The various properties in property window are arranged in _____ order.

A. Alphabetical
B. Sequential
C. Binary
D. Descending
Answer» A. Alphabetical
238.

In date data type the _______ byte is require for storing data.

A. 10
B. 6
C. 8
D. 2
Answer» C. 8
239.

The ______ number of characters are allowed for naming the variables.

A. 128
B. 255
C. 64
D. 32
Answer» B. 255
240.

Normally declared in the general section of the codes' windows using the ____statement.

A. dim
B. int
C. str
D. val
Answer» A. dim
241.

_______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
Answer» A. looping
242.

________indicates that the function is applicable to the whole program

A. private
B. public
C. local
D. global
Answer» B. public
243.

______ are the operations that an object can perform.

A. methods
B. class
C. objects
D. variables
Answer» A. methods
244.

Event-driven languages are ____

A. FORTRAN based
B. Are used to write procedural languages
C. OOP
D. Designed to make programming GUI easier
Answer» D. Designed to make programming GUI easier
245.

Which of the following is not part of the IDE _____

A. Code editor window
B. General window
C. Form layout window
D. Properties window
Answer» B. General window
246.

The application name always appears in the _____

A. Properties window
B. Intermediate window
C. Title bar
D. Code window
Answer» C. Title bar
247.

In visual basic controls are also called as ______

A. Objects
B. Rules
C. Part of the menus
D. Code
Answer» A. Objects
248.

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
Answer» D. Form Layout window
249.

Visual Basic forms are identified by a _____

A. .frm suffix
B. .mak suffix
C. .for suffix
D. A special icon
Answer» A. .frm suffix
250.

The _____ control is used for checking the multiple option in given list

A. radio button
B. check box
C. list box
D. text box
Answer» B. check box

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.