Title | |
---|---|
Which of the following statements are TRUEWhich of the following statements are TRUE about the .NET CLR? 1. It provides a language-neutral development & execution environment. 2. It ensures that an application would not be able to access memory that it is not authorized to access. 3. It provides services to run "managed" applications. 4. The resources are garbage collected. 5. It provides services to run "unmanaged" applications.
The answer is:
C. 1,2,3,4
|
|
Which of the following are valid .NET CLR JIT performance counters?Which of the following are valid .NET CLR JIT performance counters? 1. Total memory used for JIT compilation 2. Average memory used for JIT compilation 3. Number of methods that failed to compile with the standard JIT 4. Percentage of processor time spent performing JIT compilation 5. Percentage of memory currently dedicated for JIT compilation
The answer is:
B. 3,4
|
|
Which of the following statements is correct about Managed Code?Which of the following statements is correct about Managed Code?
The answer is:
D. Managed code is the code that is written to target the services of the CLR.
|
|
Which of the following are NOT true about .NET Framework?Which of the following are NOT true about .NET Framework? 1. It provides a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely. 2. It provides a code-execution environment that minimizes software deployment and versioning conflicts. 3. It provides a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party. 4. It provides different programming models for Windows-based applications and Web-based applications. 5. It provides an event driven programming model for building Windows Device Drivers.
The answer is:
B. 4,5
|
|
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?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?
The answer is:
A. NET class libraries
|
|
Which of the following .NET components can be used to remove unused references from the managed heap?Which of the following .NET components can be used to remove unused references from the managed heap?
The answer is:
C. Garbage Collector
|
|
Which of the following statements correctly define .NET Framework?Which of the following statements correctly define .NET Framework?
The answer is:
A. It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services
|
|
Which of the following constitutes the .NET Framework? 1. ASP.NET Applications 2. CLR 3. Framework Class Library 4. WinForm Applications 5. Windows ServicesWhich of the following constitutes the .NET Framework? 1. ASP.NET Applications 2. CLR 3. Framework Class Library 4. WinForm Applications 5. Windows Services
The answer is:
B. 2,3
|
|
Which of the following assemblies can be stored in Global Assembly Cache?Which of the following assemblies can be stored in Global Assembly Cache?
The answer is:
C. Shared Assemblies
|
|
Code that targets the Common Language Runtime is known asCode that targets the Common Language Runtime is known as
The answer is:
D. Managed code
|
|
Which of the following statements is correct about the .NET Framework?Which of the following statements is correct about the .NET Framework?
The answer is:
C. NET Framework uses DCOM for making transition between managed and unmanaged code.
|
|
Which of the following benefits do we get on running managed code under CLR?Which of the following benefits do we get on running managed code under CLR? 1. Type safety of the code running under CLR is assured. 2. It is ensured that an application would not access the memory that it is not authorized to access. 3. It launches separate process for every application running under it. 4. The resources are Garbage collected.
The answer is:
D. All of the above
|
|
Which of the following jobs are done by Common Language Runtime?Which of the following jobs are done by Common Language Runtime? 1. It provides core services such as memory management, thread management, and remoting. 2. It enforces strict type safety. 3. It provides Code Access Security. 4. It provides Garbage Collection Services.
The answer is:
D. All of the above
|
|
The character pair?: is an________________available in C#The character pair?: is an________________available in C#.
The answer is:
B. Ternary operator
|
|
In C#, all binary operators are ______In C#, all binary operators are ______.
The answer is:
C. Left-associative
|
|
An _______ is a symbol that tells the computer to perform certain mathematical orlogical manipulationsAn _______ is a symbol that tells the computer to perform certain mathematical orlogical manipulations.
The answer is:
A. Operator
|
|
A _____ is any valid C# variable ending with a colonA _____ is any valid C# variable ending with a colon.
The answer is:
B. Label
|
|
C# has _______ operator, useful for making two way decisionsC# has _______ operator, useful for making two way decisions.
The answer is:
D. Conditional
|
|
________causes the loop to continue with the next iteration after skipping any statementsin between________causes the loop to continue with the next iteration after skipping any statementsin between.
The answer is:
D. Continue
|
|
An ____ is a group of contiguous or related data items that share a common nameAn ____ is a group of contiguous or related data items that share a common name.
The answer is:
D. Array
|
MCQs
Views
Best Answers
Points