1. Which language is not a true object-oriented programming language?
a.)  VB.NET
b.)  VB 6
c.)  C++
d.)  C#
e.)  Java

Answer:  b

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.
e.)  All of the above.

Answer:   d




3. Visual Studio .NET provides which feature:
a.)  debugging.
b.)  application deployment.
c.)  syntax checking.
d.)  Both a and b.
e.)  All of the above.

Answer:  e

4.What does IDE stand for?                                 
a.)  Integrated Development Environment
b.)  Integrated Design Environment
c.)  Interior Development Environment
d.)  Interior Design Environment
e.)  None of the above.

Answer:  a

5. Which type of project can a developer choose in the New Project dialog box?
a.)  Visual Basic Projects
b.)  Visual C# Projects
c.)  Visual C++ Projects
d.)  Both a and b.
e.)  All of the above.

Answer:  e

6.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

Answer:  c




7. 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.

Answer:  a

8.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.
e.)  They are not allowed to be the same and an error will occur if they are.

Answer:  a

9.For which task does the IDE provide multiple ways to accomplish the task?                                 
a.)  Putting a control on the form
b.)  Running the program
c.)  Activating the property window for a control
d.)  Both a and b.
e.)  All of the above.

Answer:  e

10. Which are the standard prefixes for the Button and Combo box controls respectively?
a.)  btn and chb
b.)  btn and cbo
c.)  bto and chb
d.)  bto and cbo
e.)  cmd and cbo

Answer:  b

11. Which are the standard prefixes for the text box and label controls respectively?
a.)  tex and lbl
b.)  tex and lab
c.)  txb and lbl
d.)  txb and lab
e.)  txt and lab

Answer:  c

12.Which task is accomplished in the Code editor?
a.)  Adding forms to the project
b.)  Adding controls to the form
c.)  Adding event procedures to the form
d.)  Both a and b.
e.)  All of the above.

Answer:  c

13.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

Answer:  d




14.An object is composed of:                                 
a.)  properties.
b.)  methods.
c.)  events.
d.)  Both a and b.
e.)  All of the above.

Answer:   e

15. Which statement about objects is true?
a.)  One object is used to create one class. 
b.)  One class is used to create one object.
c.)  One object can create many classes.
d.)  One class can create many objects.
e.)  There is no relationship between objects and classes.

Answer:  d

16. Which is not true about forms and controls in Visual Basic?
a.)  They are pre-built.
b.)  They are graphical objects.
c.)  New versions of the classes must be created with each project.
d.)  Buttons can be created with the drag and drop method.
e.)  All of the above are true.

Answer:  c

17. Which is an example of Visual Basic Objects?
a.)  Control objects
b.)  ASP.NET
c.)  ADO.NET
d.)  Both a and b.
e.)  All of the above.

Answer:  e

18. The .Net class library:
a.)  contains over 25,000 classes.
b.)  uses namespaces to manage all of the classes.
c.)  has the System.Form namespace for classes used in the Windows-based application.
d.)  Both a and b.
e.)  All of the above.

Answer:  d

19. Which is not a property of the Common control class?
a.)  Show
b.)  BackColor
c.)  Font
d.)  ForeColor
e.)  Name

Answer: a




20. Which property determines whether a control is displayed to the user?
a.)  Hide
b.)  Show
c.)  Visible
d.)  Enabled
e.)  Cursor

Answer:  c

21. The Button control can be activated:
a.)  programmatically through the click event.
b.)  by clicking the button with the mouse.
c.)  with the form’s DefaultButton property.
d.)  Both a and b.
e.)  All of the above.

Answer:  d

22.The CancelButton property belongs to which object?
a.)  Button
b.)  Form
c.)  Label
d.)  TextBox
e.)  Timer

Answer: b

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.)  Both a and b.
e.)  All of the above.

Answer:  e

24. In event-driven programming, an event is generated by:                                 
a.)  the system.
b.)  a user’s action.
c.)  the program itself.
d.)  Both a and b.
e.)  All of the above.

Answer:  e




25. Which is not a common control event?
a.)  Click
b.)  SingleClick
c.)  DoubleClick
d.)  MouseMove
e.)  MouseDown
  
Answer:  b
Mukesh Rajput

Mukesh Rajput

I am a Computer Engineer, a small amount of the programming tips as it’s my hobby, I love to travel and meet people so little about travel, a fashion lover and love to eat food, I am investing a good time to keep the body fit so little about fitness also..

Post A Comment:

0 comments: