Visual Basic 6 Fundamentals
Test your knowledge of Visual Basic 6 programming basics including forms, modules, datatypes, variables, and IDE components.
Questions
'To' keyword is used in declaration of
- array
- constant
- integer
- double
CLS is an extension of
- class module
- form module
- standard module
- code module
String concatenation operator is
- str1+str2
- str1 ^ str2
- str1&str2
- none of these
Datatype is
- a field that determines what kind of data it can hold
- a large number
- a constant that determines what kind of data it can hold
- none of these
What is the basic building block of a Visual Basic application?
- Menu
- Form
- Tool bar
- File
A variable is made available throughout the program by using the keyword
- private
- public
- static
- dim
Displays a list of all forms making up your application
- Menu bar
- Project Explorer Window
- Tool box
- None of these
Standard module contains extension
- .EXE
- .BAS
- .VBP
- .DOC
Which of the following provides the quick access to commonly used commands in the programming environment?
- Tool bar
- Tool box
- Form designer
- Property window
An user interacts with
- database
- information
- visual basic front end
- none of these
Visual Basic is
- database
- visual programming language
- operating system
- visual art
Property Window is displayed by
- F5
- Alt+V+C
- both (1) and (2)
- F4
Which of the following is not controlled by Tool Box?
- Command button
- Text box
- Option button
- None of these
'Byt' is the prefix for the datatype
- byte
- integer
- long
- none of these
'Dim' is used for
- declaring a variable
- declaring an event
- naming convention
- none of the above
Default datatype of visual basic is
- boolean
- integer
- string
- variant
Module includes
- general procedures
- variable declarations
- constant definitions
- all of these