.NET
.NET
Que
no
1 Which language is not a true object-oriented programming language?
(a.) VB.NET
(b.) VB 6
(c.) C++
(d.) JAVA
2 A GUI
(a.) debugging
(b.) application deployment
(c.) syntax checking
(d.) All of the above
4 What does IDE stand for?
(a.) Form Properties
(b.) Reference Folder
(c.) Form File
(d.) Assemble File
8 Which is true about the name and text property of a control?
(a.) show
(b.) BackColor
(c.) Font
(d.) ForeColor
20 Which property determines whether a control is displayed to the user?
(a.) Hide
(b.) Show
(c.) Visible
(d.) Enabled
21 The Button control can be activated:
(a.) Button
(b.) Form
(c.) Label
(d.) TextBox
23 A 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.
24 In event-driven programming an event is generated by:
(a.) Click
(b.) SingleClick
(c.) DoubleClick
(d.) MouseMove
26 The Tick event is found only in which object?
(a.) Form
(b.) Button
(c.) TextBox
(d.) Timer
27 The Activated event is found only in which object?
(a.) Form
(b.) Button
(c.) TextBox
(d.) Label
28 The Rnd statement will generate a(n):
(a.) Analysis
(b.) Design
(c.) Implementation
(d.) Maintenance
31 Which is not an integer data type?
(a.) Single
(b.) Byte
(c.) Short
(d.) Integer
32 Which is a numeric data type?
(a.) a, A, z, Z
(b.) a, z, A, Z
(c.) A, a, Z, z
(d.) A, Z, a, z
34 The Date data type does not hold which type of information.
(a.) Seconds
(b.) Hours
(c.) Days
(d.) Quarters
35 The Boolean data type:
(a.) is unsigned.
(b.) has two states.
(c.) is displayed by the program as yes or no.
(d.) Both a and b.
36 Which is a valid statement for declaring a variable?
(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.
39 The proper operator precedence, from first to last, is:
(a.) A AND A
(b.) A AND B
(c.) B AND A
(d.) B AND B
41 With A = False and B = True, which statement evaluates as False?
(a.) A OR A
(b.) A OR B
(c.) B OR A
(d.) B OR B
42 Which operator is evaluated first?
(a.) NOT
(b.) AND
(c.) XOR
(d.) OR
43 The left side of an assignment statement will hold:
(a.) a variable.
(b.) an object property.
(c.) an expression.
(d.) Both a and b.
MCQ 1
1. What version of Visual Basic have you been working with in your labs on this course?
[a] The Enterprise Edition
[b] The Learning Edition
[c] The Licensed Edition
[d] None of the above
2. A GUI:
[a] uses buttons, menus, and icons.
[b] should be easy for a user to manipulate.
[c] stands for Graphic Use Interaction.
[d] Both a and b.
3. What does IDE stand for?
[a] Integrated Development Environment
[b] Integrated Design Environment
[c] Interior Development Environment
[d] Interior Design Environment
4. Which is not a main component of the Visual Studio IDE?
[a] Solution Explorer
[b] Tool Box
[c] Start Menu
[d] Designer Window
[e] Properties Window
5. Which does the solution explorer not display?
[a] Form Properties
[b] Reference Folder
[c] Form File
[d] Assemble File
[e] All are part of the solution explorer.
6. Which is not a feature of a GUI that makes learning a program easy for users?
[a] Online help
[b] WYSIWYG formatting
[c] Dialog boxes
[d] Detailed key strokes and commands
[e] Icons
7. An object is composed of:
[a] properties.
[b] methods.
[c] events.
[d] Both a and b.
[e] All of the above.
Mcq 2
1.
o A.
VB.NET
o B.
VB 6
o C.
C++
o D.
C#
o E.
Java
2.
A GUI:
o A.
o B.
o C.
o D.
Both a and b.
o E.
3.
o A.
Debugging.
o B.
Application deployment.
o C.
Syntax checking.
o D.
Both a and b.
o E.
4.
o A.
o B.
o C.
o D.
o E.
5.
Which type of project can a developer choose in the New Project dialog box?
o A.
o B.
Visual C# Projects
o C.
o D.
Both a and b.
o E.
6.
o A.
Solution Explorer
o B.
Tool Box
o C.
Start Menu
o D.
Designer Window
o E.
Properties Window
7.
o A.
Form Properties
o B.
Reference Folder
o C.
Form File
o D.
Assemble File
o E.
All are part of the solution explorer.
8.
o A.
o B.
The text property changes to match any changes in the name property.
o C.
The name property changes to match any changes in the text property.
o D.
They are never the same unless the programmer makes it that way.
o E.
They are not allowed to be the same and an error will occur if they are.
9.
For which task does the IDE provide multiple ways to accomplish the task?
o A.
o B.
o C.
o D.
Both a and b.
o E.
10.
Which are the standard prefixes for the Button and Combo box controls respectively?
o A.
o B.
o C.
o D.
o E.
11.
Which are the standard prefixes for the text box and label controls respectively?
o A.
o B.
o C.
o D.
o E.
12.
o A.
Adding forms to the project
o B.
o C.
o D.
Both a and b.
o E.
13.
Which is not a feature of a GUI that makes learning a program easy for users?
o A.
Online help
o B.
WYSIWYG formatting
o C.
Dialog boxes
o D.
o E.
Icons
14.
o A.
Properties.
o B.
Methods.
o C.
Events.
o D.
Both a and b.
o E.
15.
o A.
o B.
o C.
o D.
o E.
16.
o A.
o B.
o C.
New versions of the classes must be created with each project.
o D.
o E.
17.
o A.
Control objects
o B.
ASP.NET
o C.
ADO.NET
o D.
Both a and b.
o E.
18.
o A.
o B.
o C.
o D.
Both a and b.
o E.
19.
o A.
Show
o B.
BackColor
o C.
Font
o D.
ForeColor
o E.
Name
20.
o A.
Hide
o B.
Show
o C.
Visible
o D.
Enabled
o E.
Cursor
21.
o A.
o B.
o C.
o D.
o E.
22.
o A.
A.) Button
o B.
B.) Form
o C.
C.) Label
o D.
D.) TextBox
o E.
E.) Timer
23.
A click event procedure stud for the label control can be created by:
o A.
A.) selecting the object and event from the code editor window’s drop-down boxes.
o B.
o C.
o D.
o E.
24.
o A.
o B.
o C.
o D.
o E.
25.
o A.
A.) Click
o B.
B.) SingleClick
o C.
C.) DoubleClick
o D.
D.) MouseMoveMove
o E.
E.) MouseDown
26.
o A.
A.) Form
o B.
B.) Button
o C.
C.) TextBox
o D.
D.) Label
o E.
E.) Timer
27.
o A.
A.) Form
o B.
B.) Button
o C.
C.) TextBox
o D.
D.) Label
o E.
E.) Timer
28.
o A.
o B.
o C.
o D.
o E.
E.) decimal value between 0.0 and up to 1.0, but not including 1.0
29.
o A.
A.) collecting the requirements about what the program will accomplish.
o B.
B.) creating a detailed plan on how the program will accomplish the requirements.
o C.
C.) writing the software with a program such as VB.NET.
o D.
o E.
30.
o A.
A.) Analysis
o B.
B.) Design
o C.
C.) Implementation
o D.
D.) Maintenance
o E.
E.) Documentation