IV Sem - Visual Programming Techniques
IV Sem - Visual Programming Techniques
BCA
IV Sem
Multiple choice questions
1. Visual Basic is a tool that allows you to develop application in…………
a. Real time
b. Graphical User Interface
c. Menu Driven
d. None Of These
2. IDE stands for…………..
a. Internet Development Environment
b. Integrated Dual Environment
c. Integrated Development Environment
d. Integrated Desktop Environment
3. Which windows displays a list of all forms and modules making up your application
a. Project window
b. Properties window
c. Form layout window
d. All of the above
4. Properties can be viewed in two ways
a. Alphabetic and Categorized
b. Alphabetic and Numeric
c. Numeric and Alphanumeric
d. None of these
5. Which of the following windows is the central to the development of Visual Basic
applications
a. Project window
b. Form window
c. Properties window
d. All of the above
6. Which of the following provides quick access to commonly used commands in the
programming environment
a. Toolbox
b. Object browser
c. Toolbar
d. None of these
7. In ……………… window we can write code
a. Immediate window
b. Locals window
c. Code editor window
d. None of these
8. ………… is used for finding out about objects, properties and methods.
a. Object browser
b. Property window
c. Form layout window
d. Code editor window
9. The form module has file extension….
a. .frb
b. .fra
c. .frm
d. .fru
10. A text box can hold as many as ……. Characters for a single line text.
a. 2052
b. 2048
c. 2058
d. 2047
11. A text box can hold as many as ……… characters for a multi-line text
a. 42000
b. 48000
c. 23000
d. 32000
12. ……….. control is used to provide an identifiable grouping for other controls
a. Frame
b. Label
c. List box
d. Command button
13. ………. Property is used to set the maximum length of a text, a textbox can hold.
a. Length
b. Multiline
c. Maxlength
d. None of these
14. …………. Control is used to display text, but user cannot change it directly.
a. Textbox
b. Labelbox
c. Listbox
d. Commandbutton
15. The default datatype for Visual Basic is ………………
a. Integer
b. Boolean
c. Variant
d. String
16. In Visual Basic, a variable name cannot be more than ……… characters
a. 450
b. 255
c. 355
d. 500
17. We can preserve the value of a local variable by making the variable……….
a. Private
b. Public
c. Static
d. Implicit
18. ……….. cannot be declared in a form or class module
a. Public constants
b. Private constants
c. Static constants
d. None of these
19. ………. Arrays can be resized at anytime
a. Dynamic
b. Fixed
c. Multidimensional
d. Control array
20. …………. Is a block of code that is executed in response to an event.
a. Function procedure
b. Sub procedure
c. property procedures
d. All of the above
21. …………. Function is used to return a copy of a string without leading spaces.
a. Ltrim
b. Rtrim
c. Trim
d. Chr
22. All the following statements are true about variable scope except
a. Module
b. Global
c. Static
d. Local
23. The variables that does not change the value during execution of program is……
a. Numeric
b. Constant
c. String
d. All of the above
88. When the form is first referenced in any manner by program,the triggered event is …….
a. Load
b. Initialize
c. Activate
d. None of these
89. What properties are required to be specified for a menu item
a. Name
b. Caption
c. Both a and b
d. None of these
90. ………… present a list of choices to the user.
a. Combo box
b. Rich text box
c. List box
d. None of these
91. …………. Displays the current drive and allows the user to select a different drive by
using a drop down arrow.
a. DirListBox
b. DriveListBox
c. FileListBox
d. All of these
92. ………… displays current directory with any subdirectories and allows the user to
change directory.
a. FileListBox
b. DirListBox
c. DriveListBox
d. Al of these
93. ………. Displays a list of the files in the current directory or sudirectory.
a. DriveListBox
b. FileListBox
c. DirListBox
d. None Of these
94. The TypeOf statement is used to find out……..
a. Type of picture displayed
b. Type of object accessed in control collection
c. Type of button clicked
d. All of the above
95. To attach a scroll bar to the textbox , the property of textbox should be set to:
a. Multiline=True
b. Scrollbar=True
c. SingleLine=False
d. None of these
136. Which is true about the name and text property of a control?
a.) They are the same when the control is first created.
b.) The text property changes to match any changes in the name property.
c.) The name property changes to match any changes in the text property.
d.) They are never the same unless the programmer makes it that way.