A - B - C - D - E.: Answer: Explanation
A - B - C - D - E.: Answer: Explanation
A - B - C - D - E.: Answer: Explanation
Home
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
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
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
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
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.
.
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
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
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.
11. Which of the following assemblies can be stored in Global Assembly Cache?
A
Private Assemblies
.
B
Friend Assemblies
.
C
Shared Assemblies
.
D
Public Assemblies
.
E. Protected Assemblies
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
B
Distributed
.
C
Legacy
.
D
Managed Code
.
E. Native Code
Answer: Option D
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
13. Which of the following statements is correct about the .NET Framework?
A
.NET Framework uses DCOM for achieving language interoperability.
.
B
.NET Framework is built on the DCOM technology.
.
C .NET Framework uses DCOM for making transition between managed and unmanaged
. code.
D
.NET Framework uses DCOM for creating unmanaged applications.
.
14. Which of the following is the root of the .NET type hierarchy?
A System.Object
.
B System.Type
.
C System.Base
.
D System.Parent
.
E. System.Root
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
15. Which of the following benefits do we get on running managed code under CLR?
Type safety of the code running under CLR is assured.
It is ensured that an application would not access the memory that it is not authorized to
access.
It launches separate process for every application running under it.
The resources are Garbage collected.
A
Only 1 and 2
.
B
Only 2, 3 and 4
.
C
Only 1, 2 and 4
.
D
Only 4
.
E. All of the above
Answer: Option E
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
A
1, 2
.
B
2, 4
.
C
4, 5
.
D
1, 2, 4
.
Answer: Option C
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
Component Object Model
.
7. Which of the following jobs are NOT performed by Garbage Collector?
Freeing memory on the stack.
Avoiding memory leaks.
Freeing memory occupied by unreferenced objects.
Closing unclosed database collections.
Closing unclosed files.
A
1, 2, 3
.
B
3, 5
.
C
1, 4, 5
.
D
3, 4
.
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
8. 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
Class Loader
.
E. CTS
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
D
It is an environment for developing, building, deploying and executing Web Services.
.
B
2, 3
.
C
3, 4
.
D
2, 5
.
Answer: Option B
HomeAptitudeLogicalVerbalCurrent AffairsGKEngineeringInterviewOnline TestsPuzzles
16. Which of the following security features can .NET applications avail?
PIN Security
Code Access Security
Role Based Security
Authentication Security
Biorhythm Security
A 1, 4, 5
.
B
2, 5
.
C
2, 3
.
D
3, 4
.
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
17. Which of the following jobs are done by Common Language Runtime?
It provides core services such as memory management, thread management, and
remoting.
It enforces strict type safety.
It provides Code Access Security.
It provides Garbage Collection Services.
A
Only 1 and 2
.
B
Only 3, 4
.
C
Only 1, 3 and 4
.
D
Only 2, 3 and 4
.
18. Which of the following statements are correct about a .NET Assembly?
It is the smallest deployable unit.
Each assembly has only one entry point - Main(), WinMain() or DLLMain().
An assembly can be a Shared assembly or a Private assembly.
An assembly can contain only code and data.
An assembly is always in the form of an EXE file.
A
1, 2, 3
.
B
2, 4, 5
.
C
1, 3, 5
.
D
1, 2
.
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
B
2, 4
.
C
3, 4, 5
.
D
1, 2
.
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
View Answer Discuss in Forum Workspace Report
B
Only 1, 2
.
C
Only 1, 2, 4
.
D
Only 4, 5
.
1. The … is the execution engine for .NET applications and servers as the interface between
.NET applications and the operating system.
A)Common Language Specifications (CLS)
B)Common Language Runtime (CLR)
C)Common Type System (CTS)
D) Framework Class Library (FCL)
3. State whether the following statements about .NET Frameworks are TRUE or FALSE.
i)The .NET FCL Is object-oriented.
ii) The CLR is the platform on which applications hosted and executed.
A)i-True, ii-False
B)i-False, ii-True
C)i-True, ii-True
D) i-False, ii-False
4. The .NET … is a collection of reusable types that are integrated with the CLR.
A) Common Language Specifications (CLS)
B) Common Language Runtime (CLR)
C) Common Type System (CTS)
D) Framework Class Library (FCL)
5. … is an agreement among language designers and class library designers to use a common
subset of basic language features that all languages have to follow.
A)Common Language Specifications (CLS)
B)Common Language Runtime (CLR)
C)Common Type System (CTS)
D) Framework Class Library (FCL)
6. … describes how types are declared, used, and managed in the runtime.
A)Common Language Specifications (CLS)
B)Common Language Runtime (CLR)
C) Common Type System (CTS)
D) Framework Class Library (FCL)
7. State which of the following statements about the .NET framework are TRUE.
i) CTS helps developers to develop applications in a single language.
ii) Data and XML classes extend the FCL to support data management and XML
manipulation.
iii) XML classes support various operations on XML data like searching, translations,
modifying, etc.
A) i and ii only
B) ii and iii only
C) I and iii only
D) All i, ii and iii
8. … is a code that consists of CPU and platform-independent set of instructions, which can
be easily converted to native code.
A) JIT
B) FCL
C) DLL
D) MSIL
9. State whether the following statements about the Microsoft Intermediate Language (MSIL)
are TRUE or FALSE.
i) The MSIL code includes instructions to load, initialize and invoke methods on objects.
ii) The MSIL code is collected and assembled in the form of byte codes and is converted to
a .NET assembly.
A) i-True, ii-False
B) i-False ii-True
C) i-True, ii-True
D) i-False, ii-False
10. The main function of … is to convert the managed code into native code and then execute
the code.
A) CLR
B) CTS
C) CLS
D) FCL
11. Which of the following is/are the modules of Common Language Runtime(CLR).
i) Thread Support
ii) Type Checker
iii) Security Engine
A) I and ii only
B) ii and iii only
C) I and iii only
D) All i, ii and iii
12. … will verify types used in the application with CTS or CLS standards supported by CLR.
A) Exception manager
B) Type checker
C) Code manager
D) Class loader
14. The … compiles the applications to Microsoft Intermediate Language (MSIL) and not the
machine code.
A) CLR
B) CTS
C) CLS
D) FCL
15. State whether the following statements about the managed and unmanaged code are
TRUE or FALSE.
i) Managed code is the code that is executed directly by the CLR.
ii) Managed code directly compiles to the machine code and runs on the machine where it has
to be compiled.
iii) Unmanaged code does not have services such as security or memory management.
A) i-True, ii-False, iii-False
B) i-False, ii-True, iii-False
C) i-True, ii-False, iii-True
D) i-False, ii-False, iii-True
16. … ensures complete interoperability among applications, regardless of the language used
to create the application.
A) CLR
B) CLS
C) CTS
D) FCL
17. State which of the following statements about the Namespace are TRUE.
i) All the classes and types of .NET FCL are organized in the namespace.
ii) Namespaces correspond to file or directory names.
iii) It is the grouping of logically related identifiers or classes.
A) I and ii only
B) ii and iii only
C) I and iii only
D) All i, ii and iii
18. The … namespace includes classes and interfaces that define the various collections of
objects such as lists, queues, hash tables, arrays, etc.
A) system.collection
B) system
C) system.data
D) system.drawing
19. The … namespace includes classes that allow us to debug our application and to step
through our code.
A) system.collection
B) system.security
C) system.diagnostics
D) system.threading
20. The … namespace includes classes and interfaces that return information about types,
methods, and fields.
A) system
B) system.security
C) system.data
D) system.reflection
1. The … is the execution engine for .NET applications and servers as the interface between
.NET applications and the operating system.
A) Common Language Specifications (CLS)
B) Common Language Runtime (CLR)
C) Common Type System (CTS)
D) Framework Class Library (FCL)
3. State whether the following statements about .NET Frameworks are TRUE or FALSE.
i) The .NET FCL is object-oriented.
ii) The CLR is the platform on which applications hosted and executed.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
4. The .NET … is a collection of reusable types that are integrated with the CLR.
A) Common Language Specifications (CLS)
B) Common Language Runtime (CLR)
C) Common Type System (CTS)
D) Framework Class Library (FCL)
5. … is an agreement among language designers and class library designers to use a common
subset of basic language features that all languages have to follow.
A) Common Language Specifications (CLS)
B) Common Language Runtime (CLR)
C) Common Type System (CTS)
D) Framework Class Library (FCL)
6. … describes how types are declared, used, and managed in the runtime.
A) Common Language Specifications (CLS)
B) Common Language Runtime (CLR)
C) Common Type System (CTS)
D) Framework Class Library (FCL)
7. State which of the following statements about the .NET framework are TRUE.
i) CTS helps developers to develop applications in a single language.
ii) Data and XML classes extend the FCL to support data management and XML
manipulation.
iii) XML classes support various operations on XML data like searching, translations,
modifying, etc.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii
8. … is a code that consists of CPU and platform-independent set of instructions, which can
be easily converted to native code.
A) JIT
B) FCL
C) DLL
D) MSIL
9. State whether the following statements about the Microsoft Intermediate Language (MSIL)
are TRUE or FALSE.
i) The MSIL code includes instructions to load, initialize and invoke methods on objects.
ii) The MSIL code is collected and assembled in the form of byte codes and is converted to
a .NET assembly.
A) i-True, ii-False
B) i-False, ii-True
C) i-True, ii-True
D) i-False, ii-False
10. The main function of … is to convert the managed code into native code and then execute
the code.
A) CLR
B) CTS
C) CLS
D) FCL
11. Which of the following is/are the modules of Common Language Runtime(CLR).
i) Thread Support
ii) Type Checker
iii) Security Engine
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii
12. … will verify types used in the application with CTS or CLS standards supported by CLR.
A) Exception manager
B) Type checker
C) Code manager
D) Class loader
14. The … compiles the applications to Microsoft Intermediate Language (MSIL) and not the
machine code.
A) CLR
B) CTS
C) CLS
D) FCL
15. State whether the following statements about the managed and unmanaged code are
TRUE or FALSE.
i) Managed code is the code that is executed directly by the CLR.
ii) Managed code directly compiles to the machine code and runs on the machine where it has
to be compiled.
iii) Unmanaged code does not have services such as security or memory management.
A) i-True, ii-False, iii-False
B) i-False, ii-True, iii-False
C) i-True, ii-False, iii-True
D) i-False, ii-False, iii-True
16. … ensures complete interoperability among applications, regardless of the language used
to create the application.
A) CLR
B) CLS
C) CTS
D) FCL
17. State which of the following statements about the Namespace are TRUE.
i) All the classes and types of .NET FCL are organized in the namespace.
ii) Namespaces correspond to file or directory names.
iii) It is the grouping of logically related identifiers or classes.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii
18. The … namespace includes classes and interfaces that define the various collections of
objects such as lists, queues, hash tables, arrays, etc.
A) system.collection
B) system
C) system.data
D) system.drawing
19. The … namespace includes classes that allow us to debug our application and to step
through our code.
A) system.collection
B) system.security
C) system.diagnostics
D) system.threading
20. The … namespace includes classes and interfaces that return information about types,
methods, and fields.
A) system
B) system.security
C) system.data
D) system.reflection