CS/IT MCQ Collections

Top 20 MCQs on the Fundamentals of .Net Framework

Google+ Pinterest LinkedIn Tumblr

This set of MCQ questions on fundamentals of the .Net framework includes the collections of top 20 multiple-choice questions on fundamentals of .Net framework architecture. It includes MCQ questions on different layers of .NET framework architecture, Common Language Runtime (CLR), Framework Class Library (FCL), managed and unmanaged code, Common Language Specification (CLS), and the namespaces in .NET FCL.

Read Also: Solved MCQ On Fundamentals Of Visual Basic.Net Set-1

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)

2. The .NET Framework Class Library (FCL) is also known as …
A) Base Class Library (BCL)
B) Common Class Library (CCL)
C) Global Class Library (GCL)
D) Public Class Library (PCL)

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

13. The … is responsible for allocating, freeing, and compacting memory.
A) garbage collector
B) type checker
C) code manager
D) memory manager

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

Read Also: MCQ Questions On Windows Forms In VB.Net Part-2

Answers;

  1. B) Common Language Runtime (CLR)
  2. A) Base Class Library (BCL)
  3. C) i-True, ii-True
  4. D) Framework Class Library (FCL)
  5. A) Common Language Specifications (CLS)
  6. C) Common Type System (CTS)
  7. B) ii and iii only
  8. D) MSIL
  9. C) i-True, ii-True
  10. A) CLR
  11. D) All i, ii and iii
  12. B) Type checker
  13. A) garbage collector
  14. A) CLR
  15. C) i-True, ii-False, iii-True
  16. B) CLS
  17. C) i and iii only
  18. A) system.collection
  19. C) system.diagnostics
  20. D) system.reflection

Read Next: Top 20 Multiple Choice Questions on .NET Fundamentals

Avatar for Shuseel Baral

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Write A Comment