Visual Basic.Net MCQ Quiz with Answers
Candidates who are preparing for the exams based on VB.Net can use this post and collect the VB.Net Questions and Answers. The aspirants can score good marks in the examinations easily by practising the VB.NET MCQ quiz.
It has important thirty basic questions about .Net language. Let’s start with the Visual Basic.Net MCQ quiz.
Question 1: A ___________ performs invisible tasks even if you write no code.
(A) Private method
Question 2: _____ allow custom items of information about a program element to be stored with an assembly’s metadata.
Question 3: Microsoft Windows uses a GUI environment. GUI (pronounced “gooey”) stands for _______.
(A) Graphical User Interface
(B) Geometrical Upper Intelligence
(C) Grammatical User Incorporation
(D) Geographical User Interchange
Question 4: The ________ enable us to pass data between a program and a class.
Question 5: Which modifier specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that declares them?
Question 6: Visual Studio .NET provides which feature:
(A) Application Deployment
(B) Syntax checking
(D) All of the above
Question 7: Which is not a main component of the Visual Studio IDE?
(A) Designer window
(B) Start menu
(C) Solution Explorer
Question 8: Which task is accomplished in the Code editor?
(A) Adding controls to the title
(B) Adding controls to the form
(C) Adding event procedures to the form
(D) Adding forms to the project
Question 9: An object is composed of:
(D) All of the above
Question 10: The .Net class library:
(A) Uses namespaces to manage all of the classes.
(B) Contains over 25,000 classes.
(C) Both (A) and (B)
(D) Has the System.Form namespace for classes used in Windows-based application.
Question 11: Which is not a property of the Common control class?
Question 12: Which property determines whether a control is displayed to the user?
Question 13: The Java and Visual Basic .NET belong to which type of programming language?
(A) High-level programming language
(B) Machine language
(C) Object-oriented programming language
(D) Assembly language
Question 14: It is a comprehensive, object-oriented collection of reusable types that you can use to develop applications.
(A) Properties Window
(B) Windows Form Designer
(C) Class Library
(D) Solution Explorer
Question 15: It translates all high-level instructions into machine code first before running the program.
Question 16: VB.Net is _____.
(A) Forward compatible
(B) Backward compatible
(C) Platform Independent
(D) Compiler Language
Question 17: VB.Net supports _____.
(A) Unstructured error handling
(B) Structured error handling
Question 18: New keyword is used with the_____.
Question 19: Out of the following, which is NOT a type of Authentication?
(A) Passport Authentication
(B) Windows Authentication
(C) Forms Authentication
(D) Web Authentication
Question 20: Language which is NOT supported by VB.Net
Question 21: What is used to store decimal data in .NET?
Question 22: Which Loop structure does not support by VB.Net?
(A) For ………………. Next
(B) Do ……………. Loop
(C) Do ……………. While
(D) For Each ………… While
Question 23: The _____ model does not offer a model for source code reuse.
Question 24: The corresponding .Net FCL type for Short is ___________.
Question 25: The member “clear” of the Array class that sets a range of array elements to zero, false or null reference is a _____________ method.
Question 26: The ___________ method converts an OLE automation date value to a DateTime Instance.
Question 27: Every optional argument in the procedure definition must specify a _________ value which must be a constant expression.
Question 28: The ______ group classes according to their common services.
Question 29: The ________ is a systematic class framework used for the development of system tools and utilities.
(A) .Net tools
(B) .Net Framework Class Library (FCL)
(C) Visual Basic 6
(D) Visual Basic 2005
Question 30: Which of the following directive defines conditional compiler constants?