Microsoft.NET Framework Exam Quiz: Trivia!

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Sarvesh
S
Sarvesh
Community Contributor
Quizzes Created: 9 | Total Attempts: 71,992
Questions: 10 | Attempts: 4,932

SettingsSettingsSettings
Microsoft.NET Framework Exam Quiz: Trivia! - Quiz

Microsoft. NET Framework, often called "dot net," is a software framework developed by Microsoft to design, install, and execute Microsoft Window OS software. The language interoperability exists across all programming languages and consists of an extensive class library called Framework Class Library(FCL). This quiz has been designed to test your knowledge about the different versions of Microsoft. Net Framework and the critical component.


Questions and Answers
  • 1. 

    Which of the following abbreviations is incorrectly expanded?

    • A.

      CTS - Common Type System

    • B.

      CLS - Common Language Specification

    • C.

      CAS - Component Authorization Specification

    • D.

      FCL - Framework Class Library

    Correct Answer
    C. CAS - Component Authorization Specification
    Explanation
    CAS - Code Access Security

    Rate this question:

  • 2. 

    Windows Presentation Foundation - the new user interface system was introduced with:

    • A.

      .NET Framework 1.1

    • B.

      .NET Framework 2.0

    • C.

      .NET Framework 3.0

    • D.

      .NET Framework 3.5

    Correct Answer
    C. .NET Framework 3.0
    Explanation
    Windows Presentation Foundation (WPF) is a user interface system that was introduced with the .NET Framework 3.0. It is a part of the .NET Framework and provides a framework for building visually stunning and interactive user interfaces for Windows applications. WPF introduced a new way of designing and developing user interfaces, using XAML (eXtensible Application Markup Language) to define the UI elements and their behavior. With WPF, developers can create rich and engaging user experiences, taking advantage of features like hardware acceleration, vector graphics, and animation capabilities. Therefore, the correct answer is .NET Framework 3.0.

    Rate this question:

  • 3. 

    The New object Relational Mapping (ORM) framework to be introduced with Microsoft.Net 3.5 SP1 is known as:

    • A.

      ADO.ORM

    • B.

      ADO.NET Entity Framework

    • C.

      ADO.Hibernate

    • D.

      ORM.ADO

    Correct Answer
    B. ADO.NET Entity Framework
    Explanation
    The correct answer is ADO.NET Entity Framework. This is a new object-relational mapping (ORM) framework introduced with Microsoft.Net 3.5 SP1. It allows developers to work with relational data as objects, eliminating the need for tedious and error-prone manual mapping between objects and the database. ADO.ORM, ADO.Hibernate, and ORM.ADO are not valid frameworks and do not exist.

    Rate this question:

  • 4. 

    Which of the following statements is false about the Windows Communication Framework (WCF)?

    • A.

      WCF Service can define Data, Service, fault and Message contract

    • B.

      MSMQ binding, Web Service (WS) binding, Basic binding and TCP binding are part of standard binding supported by WCF

    • C.

      WCF also support authentication using Issued token by secure token service

    • D.

      WCG support Message reliability without ordered delivery

    Correct Answer
    D. WCG support Message reliability without ordered delivery
    Explanation
    WCF does not support message reliability without ordered delivery. This means that if a message is sent, it will be delivered in the order it was sent and will not be lost or duplicated.

    Rate this question:

  • 5. 

    Name the .NET Framework feature that can be used to add a method to pre-compiled classes without using inheritance?

    • A.

      Extension methods

    • B.

      Lambda Expression

    • C.

      Anonymous methods

    • D.

      Expression trees

    Correct Answer
    A. Extension methods
    Explanation
    Extension methods in .NET Framework allow developers to add new methods to existing pre-compiled classes without modifying or inheriting from those classes. This feature provides a way to extend the functionality of classes that are not under our control or cannot be modified. It is a convenient way to add custom methods to existing classes and improve code reusability without the need for inheritance.

    Rate this question:

  • 6. 

    .NET Framework 3.5 Language Integrated Query (LINQ) support all the listed providers except:

    • A.

      LINQ to Objects

    • B.

      LINQ to XML

    • C.

      LINQ to ORACLE

    • D.

      LINQ to SQL

    Correct Answer
    C. LINQ to ORACLE
    Explanation
    The .NET Framework 3.5 includes support for LINQ to Objects, LINQ to XML, and LINQ to SQL. However, it does not include built-in support for LINQ to ORACLE. LINQ to ORACLE is a third-party provider that allows developers to query Oracle databases using LINQ syntax. Therefore, the correct answer is LINQ to ORACLE.

    Rate this question:

  • 7. 

    Windows Card Space support following protocols except:

    • A.

      WS-Security

    • B.

      WS-Encryption

    • C.

      WS-SecurityPolicy

    • D.

      WS-Trust

    Correct Answer
    B. WS-Encryption
    Explanation
    The correct answer is WS-Encryption. Windows Card Space is a technology that provides a secure way to store and manage digital identities. It supports several protocols for securing communication, such as WS-Security, WS-SecurityPolicy, and WS-Trust. However, WS-Encryption is not supported by Windows Card Space. This protocol is used for encrypting and decrypting messages in web services, but it is not included in the list of supported protocols for Windows Card Space.

    Rate this question:

  • 8. 

    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.

    Correct Answer
    D. 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 (Common Language Runtime). This means that the code is designed to be executed within the CLR environment, which provides services such as memory management, security, and exception handling. The CLR compiles the managed code into an intermediate language (IL) that can be executed by the JIT (Just-In-Time) compiler. Therefore, the correct statement about Managed Code is that it is written to target the services of the CLR.

    Rate this question:

  • 9. 

    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

    Correct Answer
    B. Ngen
    Explanation
    The utility that can be used to compile managed assemblies into processor-specific native code is ngen. Ngen stands for Native Image Generator, and it creates native images from managed assemblies, which can improve the performance of the application by eliminating the need for just-in-time (JIT) compilation during runtime. Native images are processor-specific, meaning they are optimized for a particular hardware architecture, resulting in faster execution. Therefore, ngen is the correct choice for compiling managed assemblies into processor-specific native code.

    Rate this question:

  • 10. 

    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

    Correct Answer
    C. Garbage Collector
    Explanation
    The Garbage Collector is responsible for automatically freeing up memory by removing unused objects from the managed heap in .NET. It identifies objects that are no longer referenced by any part of the program and deallocates their memory, making it available for future use. This process helps optimize memory usage and improves the overall performance of the application. The Common Language Infrastructure (CLI) is a specification that defines the runtime environment for executing .NET applications, while the CLR (Common Language Runtime) is the implementation of the CLI. The Class Loader is responsible for loading classes into memory during runtime.

    Rate this question:

Quiz Review Timeline +

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

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 29, 2008
    Quiz Created by
    Sarvesh
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.