General Questions
1. Which of the following statements are TRUE about the .NET CLR?
- It provides a language-neutral development & execution environment.
- It ensures that an application would not be able to access memory that it is not authorized to access.
- It provides services to run "managed" applications.
- The resources are garbage collected.
- It provides services to run "unmanaged" applications.
A. Only 1 and 2
B. Only 1, 2 and 4
C. 1, 2, 3, 4
D. Only 4 and 5
E. Only 3 and 4
Answer: Option C
2. Which of the following are valid .NET CLR JIT performance counters?
- Total memory used for JIT compilation
- Average memory used for JIT compilation
- Number of methods that failed to compile with the standard JIT
- Percentage of processor time spent performing JIT compilation
- Percentage of memory currently dedicated for JIT compilation
A. 1, 5
B. 3, 4
C. 1, 2
D. 4, 5
Answer: Option B
3. 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.
E. Managed code is the code that can run on top of Linux.
Answer: Option D
4. Which of the following utilities can be used to compile managed assemblies into processor-specific native code?
A. gacutil B. ngen
C. sn D. dumpbin
E. ildasm
Answer: Option B
5. Which of the following are NOT true about .NET Framework?
- It provides a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.
- It provides a code-execution environment that minimizes software deployment and versioning conflicts.
- It provides a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.
- It provides different programming models for Windows-based applications and Web-based applications.
- It provides an event driven programming model for building Windows Device Drivers.
A. 1, 2
B. 2, 4
C. 4, 5
D. 1, 2, 4
Answer: Option C
Comments
Post a Comment