Visual Basic Programming Fundamentals
Questions covering Visual Basic programming concepts including functions, procedures, controls, forms, properties, events, and IDE features
Questions
Sqr() returns
- a string
- a variable
- square root of a number
- square of a number
Which procedure does not return a value?
- Private procedure
- Form procedure
- Sub procedure
- Property procedure
Event is related to
- intelligence
- request
- response
- none of these
AddItem is the method of
- command button
- list
- image box
- label
The statements executed before the condition are tested in
- Do While……..loop
- Do loop While…………
- For……….Next loop
- For Each …………Next Loop
In CmdSave_Click()
- CmdSave() is the procedure
- CmdSave_Click() is the procedure
- Press is an event
- None of these
The flow of a code can be controlled by
- conditional statements
- loop structures
- methods
- procedures
A set of instructions that work as a unit is known as
- procedure
- event
- statement
- none of these
Which of the following procedures returns a value?
- Sub procedure
- General procedure
- Function procedure
- Event procedure
Function key F5 is used for
- debugging
- running
- exiting
- none of the above
' indicates the
- code line
- comment line
- loop statement
- none of these
Which of the following is not a forms method?
- Point
- Refresh
- Pset
- Open
Which of the following is not a type of a border?
- Fixed single
- Sizable
- Fixed Tool window
- Double border
For displaying 'code window', use keys
- Alt+C
- Alt+C+D
- Alt+V+C
- Ctrl+C+S
What event is triggered when a form is resized?
- Size
- Resize
- Sizechange
- Resizewindows
Which of the following is not a property of Text Box?
- Alignment
- Appearance
- Container
- Background colour
Which one of the following is not a working mode of Visual Basic?
- Help mode
- Design mode
- Break mode
- Run mode
Which of the following is the default form which Visual Basic includes initially with any project?
- Form10
- Forms
- Form1
- Form0
Which of the following properties is used to fill the back ground colour of the form?
- Background Color
- Back Color
- BehindColor
- None of these
An EXE is created with
- project name
- form name
- control name
- event name