Monday, August 12, 2013

VB.NET MCQ Questions with Answers

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

13 comments:

  1. A memory location with some data that will change in a

    ReplyDelete
  2. Actually, very nice block with many questions and answers

    ReplyDelete
  3. V B is a language provides an proper information ..
    I have one more information related with fashion..Visit here free fashion online

    ReplyDelete
  4. I’m impressed, I must say. Seldom do I come across a blog that’s both educative and interesting, and without a doubt, you have hit the nail on the head.
    Any one eed one more information related with roblox..Visit here

    ReplyDelete
  5. Great article. Your blogs are unique and simple that are understood by anyone - Buy Rajasthani Jewellery online.

    ReplyDelete