Chapter1_ Introduction To Net Framework

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Atsi
A
Atsi
Community Contributor
Quizzes Created: 1 | Total Attempts: 394
| Attempts: 394
SettingsSettings
Please wait...
  • 1/10 Questions

    1)Which of the following is not a .NET compatible language?

    • C#, J#
    • VB.NET
    • Managed C++
    • Java
    • COBOL.NET, Perl.NET
Please wait...
Programming Quizzes & Trivia
About This Quiz

Explore the fundamentals of. NET Framework with this introductory quiz. Assess your knowledge on. NET compatible languages, CLR services, and more. Perfect for learners aiming to understand. NET structure and coding standards.


Quiz Preview

  • 2. 

    Common language specification (CLS)

    • Is an execution engine for all .NET

    • Is similar to JVM as in Java.

    • Defines standard rules for defining .NET compliant languages.

    • Is a compiler.

    Correct Answer
    A. Defines standard rules for defining .NET compliant languages.
    Explanation
    The correct answer is "defines standard rules for defining .NET compliant languages." The Common Language Specification (CLS) is a set of rules and guidelines that ensure interoperability between different .NET languages. It defines a common set of language features and data types that all .NET compliant languages must support in order to be able to interact with each other. By adhering to the CLS, developers can write code in one .NET language and use it in another without any issues.

    Rate this question:

  • 3. 

    Which of the following statements is correct about Managed Code?

    • Managed code is the code that is compiled by the JIT compilers.

    • Managed code is the code where resources are Garbage Collected.

    • Managed code is the code that runs on top of Windows.

    • Managed code is the code that is written to target the services of the CLR.

    • Managed code is the code that can run on top of Linux.

    Correct Answer
    A. Managed code is the code that is written to target the services of the CLR.
    Explanation
    Managed code is the code that is written to target the services of the CLR. This means that it is designed to run within the Common Language Runtime (CLR) environment, which provides services such as memory management, exception handling, and security. The CLR is responsible for compiling the managed code into machine code at runtime, and it also manages resources and performs garbage collection. Therefore, the correct statement is that managed code is written to target the services of the CLR.

    Rate this question:

  • 4. 

    Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

    • Gacutil

    • Ngen

    • Sn

    • Dumpbin

    • Ildasm

    Correct Answer
    A. Ngen
    Explanation
    Ngen (Native Image Generator) is a utility that can be used to compile managed assemblies into processor-specific native code. It creates native images, which are files containing compiled processor-specific machine code that can be executed directly by the operating system. This improves the performance of the application by eliminating the need for just-in-time (JIT) compilation at runtime.

    Rate this question:

  • 5. 

    Which of the following statement is not correct?

    • CLR is an execution engine of .NET.

    • Assembly is a logical unit of deployment.

    • CLR executes managed code.

    • .NET provides cross language interoperability using code access security.

    Correct Answer
    A. .NET provides cross language interoperability using code access security.
    Explanation
    The statement " .NET provides cross language interoperability using code access security" is not correct. While .NET does provide cross language interoperability, it is achieved through the Common Language Runtime (CLR), not code access security. Code access security is a mechanism in .NET that helps protect resources and restricts the actions that code can perform, but it is not directly related to cross language interoperability.

    Rate this question:

  • 6. 

    Which is the base class of all classes in .NET Framework

    • System.Object

    • System

    • System.Net

    • System.Drawing

    Correct Answer
    A. System.Object
    Explanation
    The base class of all classes in the .NET Framework is System.Object. This class is the root of the .NET type hierarchy and provides basic functionality that is inherited by all other classes. It defines methods such as ToString(), Equals(), and GetHashCode() which can be overridden and customized by derived classes. By having all classes inherit from System.Object, it allows for a consistent and unified approach to working with objects in the .NET Framework.

    Rate this question:

  • 7. 

    Econo-JIT is an example

    • Compiler

    • Assembler

    • Interpretor

    • Dis-Assembler

    Correct Answer
    A. Compiler
    Explanation
    Econo-JIT is an example of a compiler. Compilers are software programs that translate source code written in a high-level programming language into machine code or bytecode that can be executed by a computer. Econo-JIT is likely a specific compiler that is designed to optimize code execution and minimize memory usage, hence the term "Econo" in its name. It is important to note that compilers are different from assemblers, interpreters, and dis-assemblers, which have different functions in the software development process.

    Rate this question:

  • 8. 

    Which of .NET component defines standard rules that all .NET-Aware languages must follow in order to interact with each other using their objects

    • CLS

    • CLR

    • CTS

    • FCL

    Correct Answer
    A. CTS
    Explanation
    The correct answer is CTS (Common Type System). CTS defines the rules that all .NET-Aware languages must follow in order to interact with each other using their objects. It ensures that objects created in one language can be used seamlessly in another language, promoting interoperability between different .NET languages.

    Rate this question:

  • 9. 

    Member definitions (i.e naming conventions, parameters and return types) of any language must confirm to the types available in Common Language Specification(CLS).

    • True

    • False

    Correct Answer
    A. True
    Explanation
    The statement is true because the Common Language Specification (CLS) is a set of rules and guidelines that programming languages must adhere to in order to ensure interoperability and compatibility between different languages within the .NET framework. This includes naming conventions, parameter types, and return types. By conforming to the types available in the CLS, member definitions in any language can be used and accessed by other languages in a consistent and standardized manner.

    Rate this question:

  • 10. 

    Common Language Runtime (CLR physical represented by a library named MSCOREE.dll (Microsoft Common Runtime Execution Engine).

    • True

    • False

    Correct Answer
    A. True
    Explanation
    The given statement is true. The Common Language Runtime (CLR) is indeed physically represented by a library named MSCOREE.dll, which stands for Microsoft Common Runtime Execution Engine. The CLR is a key component of the .NET framework and provides various services such as memory management, exception handling, and security. MSCOREE.dll is responsible for loading and initializing the CLR when a .NET application is executed. Therefore, the correct answer is true.

    Rate this question:

Quiz Review Timeline (Updated): Mar 19, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 17, 2013
    Quiz Created by
    Atsi
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.