Programming MCQs

MCQ Questions On Fundamentals of Visual Basic .Net Set-2

Pinterest LinkedIn Tumblr
This set of MCQ questions on fundamentals of visual basic .net includes multiple-choice questions on .Net Framework Class Library (FCL), different namespaces and extensions used in vb.net along with different classes used in vb.net.

1. Using a ……………………….variable does not enable us to create read-only properties that are often required by a class.
A. public
B. private
C. protected
D. friend

2. A ……………………………….performs invisible tasks even if you write no code.
A. destructor
B. private method
C. constructor
D. function

3. The ………………………………..does not describe inherited member functions, inherited operators, and overridden virtual member functions.
A. Class Library Reference
B. Library
C. Objects
D. Classes

4. The …………………………. group classes according to their common services.
A. objects
B. inheritance
C. Namespaces
D. programs

5. Whenever an application is created, a ………………………. is added.
A. Form
B. Class
C. Property
D. Object

6. ………………………. are interactive objects that you place in dialog boxes or other windows to carry out user actions.
A. Controls
B. Objects
C. Classes
D. Forms

7. The …………………………… class provides static methods to start, stop, or filter Windows messages in an application.
A. Forms
B. Windows
C. Application
D. Control

8. The ……………………… is a systematic class framework used for the development of system tools and utilities.
A. .Net Framework Class Library (FCL)
B. .Net tools
C. Visual Basic 2005
D. Visual Basic 6

9. The …………………………….. method converts the value of this instance to a double representing the OLE automation date.
A. From OA Date
B.TO OA Date
C. Today
D. Now

10. The ………………………….. enable us to pass data between a program and a class.
A. Functions
B. Properties
C. Procedures
D. Variables

11. ……………… namespace in vb.net includes essential classes and base classes that define commonly used data types, events and event handlers, interfaces, attributes, exceptions and so on. A) System
B) System.collections
C) System.NET
D) System.ReflectionK

12. The file extension …………….. in vb.net represents a global application class, used to handle global application class, used to handle global ASP.NET application level events.
A) .asp
B) .asmx
C) .aspx
D) .asax

13. The file extension ……………… in vb.net represents a web form.
A) .asp
B) .asmx
C) .aspx
D) .asax

14. When you save a solution, it’s give the file extension .sln and all the projects in the solution are saved with the extension ……………
A) .vbproj
B) .vbdisco
C) .vbs
D) .vb

15.  The .NET platform and the .NET framework class library were developed in an effort to address these weakness of ………………….
A) XML
B) HTML
C) COM
D) DCOM

16.  …………………. are virtual base classes; that is they consist of members; methods, properties and events that have no implementations.
A) Enumerations
B) Interfaces
C) Delegates
D) Structures

17. A …………… is a reference type that represents a strongly typed function pointer.
A) Enumeration
B) Interface
C) Delegate
D) Structure

18. Most of the primitive data types; Boolean, Byte, Char etc. defined in FCL are implemented as …………
A) Enumeration
B) Interface
C) Delegate
D) Structure

19. Specialized classes include the stack class, a last-in-first-out structure, the queue class, first-in, first-out structure in the …………………… namespace.
A) System
B) System.collections
C) System.NET
D) System.Reflection

20.  ………………….. allow custom items of information about a program element to be stored with an assembly’s metadata.
A) Attributes
B) Structures
C) Exception
D) Data type 

Answers:

1. A. public
2. C. constructor
3. A. Class Library Reference
4. C. Namespaces
5. A. Form
6. A. Controls
7. C. Application
8. A. .Net Framework…. (FCL)
9. B.TO OA Date
10. B. Properties
11. A) System
12. D) .asax
13. C) .aspx
14.  A) .vbproj
15. C) COM
16. B) Interfaces
17. C) Delegate
18. D) Structure
19. B) System.collections
20. A) Attributes

Read Next:MCQ On VB.Net Data Types, Operators, Conditions And Loops

Please follow and like us:
RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
linkedIn | MCQ Questions On Fundamentals of Visual Basic .Net Set-2
Share

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.

RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
Share