Home / Engineering / DotNet Technology MCQs / Page 1

DotNet Technology MCQs | Page - 1

Dear candidates you will find MCQ questions of DotNet Technology here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

M

Mr. Dubey • 51.32K Points
Coach

Q. 1) A variable which is declared inside a method is called?

(A) Serial
(B) Local
(C) Private
(D) Static
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 2) Feature of a local variable?

(A) It can be used anywhere in the program
(B) It must accept a class
(C) It must be declared within a metho
(D) D It represent a class object
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 3) Two methods with the same name but with different parameters?

(A) Overloading
(B) Loading
(C) Multiplexing
(D) Duplexing
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 4) What is the output of the code public class B: A { }?

(A) Errors
(B) It defines a class that inherits the public methods of A only
(C) It defines a class that inherits all the methods of A but the private members cannot be accesse
(D) D Both b and c
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 5) Which of the following statements is correct about Managed Code?

(A) Managed code is the code that is compiled by the JIT compilers.
(B) Managed code is the code where resources are Garbage Collected.
(C) Managed code is the code that runs on top of Windows.
(D) Managed code is the code that is written to target the services of the CLR.
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 6) Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?

(A) .NET class libraries
(B) Common Language Runtime
(C) Common Language Infrastructure
(D) Common Type System
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 7) Which of the following .NET components can be used to remove unused references from the managed heap?

(A) Common Language Infrastructure
(B) CLR
(C) Garbage Collector
(D) CTS
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 8) Which of the following assemblies can be stored in Global Assembly Cache?

(A) Private Assemblies
(B) Public Assemblies
(C) Shared Assemblies
(D) Protected Assemblies
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 9) Code that targets the Common Language Runtime is known as

(A) Unmanaged
(B) Distributed
(C) Native Code
(D) Managed Code
View Answer Discuss Share

M

Mr. Dubey • 51.32K Points
Coach

Q. 10) Which of the following is the root of the .NET type hierarchy?

(A) System.Object
(B) System.Type
(C) System.Base
(D) System.Root
View Answer Discuss Share