4 PDF Visual Basic MCQ
4 PDF Visual Basic MCQ
2. The _____ model does not offer a model for source code reuse.
A. COM+
B. DCOM
C. COM
D. .Net
5. The member "clear" of the Array class that sets a range of array elements
to zero, false or null reference is a _____________ method.
A. Shared
B. Method
C. Class
D. Object
6. The ___________ method converts an OLE automation date value to a
DateTime Instance.
A. Today
B. TimeOfDay
C. Now
D. FromOADate
(a.) VB.NET
(b.) VB 6
(c.) C++
(d.) JAVA
2A GUI
(a.) debugging
(b.) application deployment
(c.) syntax checking
(d.) All of the above
5Which type of project can a developer choose in the New Project dialog box?
(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.
9For which task does the IDE provide multiple ways to accomplish the task?
10Which are the standard prefixes for the Button and Combo box controls respectively?
11Which are the standard prefixes for the text box and label controls respectively?
13Which is not a feature of a GUI that makes learning a program easy for users?
(a.) show
(b.) BackColor
(c.) Font
(d.) ForeColor
(a.) Hide
(b.) Show
(c.) Visible
(d.) Enabled
(a.) Button
(b.) Form
(c.) Label
(d.) TextBox
23A click event procedure stud for the label control can be created by:
(a.) selecting the object and event from the code editor window’s drop-down boxes.
(b.) typing the code in the code editor window.
(c.) by double clicking the control.
(d.) All of the above.
(a.) Click
(b.) SingleClick
(c.) DoubleClick
(d.) MouseMove
(a.) Form
(b.) Button
(c.) TextBox
(d.) Timer
(a.) Form
(b.) Button
(c.) TextBox
(d.) Label
(a.) collecting the requirements about what the program will accomplish.
(b.) creating a detailed plan on how the program will accomplish the requirements.
(c.) writing the software with a program such as VB.NET.
(d.) Both a and b.
(a.) Analysis
(b.) Design
(c.) Implementation
(d.) Maintenance
(a.) Single
(b.) Byte
(c.) Short
(d.) Integer
(a.) a, A, z, Z
(b.) a, z, A, Z
(c.) A, a, Z, z
(d.) A, Z, a, z
34The Date data type does not hold which type of information.
(a.) Seconds
(b.) Hours
(c.) Days
(d.) Quarters
(a.) is unsigned.
(b.) has two states.
(c.) is displayed by the program as yes or no.
(d.) Both a and b.
37VB.Net identifiers:
(a.) does not have to begin with a letter but must be all upper case.
(b.) can begin with an underscore.
(c.) must begin with a letter but can be upper or lower case.
(d.) does not have to begin with a letter and be either upper or lower case.
(a.) A OR A
(b.) A OR B
(c.) B OR A
(d.) B OR B
(a.) NOT
(b.) AND
(c.) XOR
(d.) OR
(a.) a variable.
(b.) an object property.
(c.) an expression.
(d.) Both a and b.