1.
ASP.NET applications can be written in any of the following except _____
Correct Answer
D. Python
Explanation
ASP.NET applications can be written in Visual Basic Net, JavaScript, and J#, but not in Python. Python is not natively supported in ASP.NET framework.
2.
The code that is directly managed by the CLR is called _____
Correct Answer
A. Managed code
Explanation
Managed code refers to the code that is executed by the Common Language Runtime (CLR) in .NET framework. The CLR provides services such as memory management, security, and exception handling for managed code. It compiles the code into an intermediate language (IL) and then just-in-time (JIT) compiles it into native machine code. This allows the CLR to manage the execution and resources of the code, ensuring its safety and reliability. Native code, on the other hand, refers to the code that is directly executed by the operating system without the involvement of the CLR. Script code and main code are not specific terms related to the CLR.
3.
_____ contains a huge library of reusable types
Correct Answer
A. .net framework class library
Explanation
The .NET Framework Class Library contains a vast collection of pre-built types and components that can be reused in various applications. These types provide functionality for tasks such as file input/output, networking, database access, user interface development, and more. Developers can leverage these reusable types to save time and effort in coding common functionalities, resulting in faster development and improved productivity.
4.
_____ contains a graphical representation of any windows displayed in the application
Correct Answer
A. Windows form
Explanation
A Windows form is a graphical user interface (GUI) that allows users to interact with an application. It contains a graphical representation of any windows displayed in the application, such as buttons, text boxes, and menus. The Windows form provides a visual layout for the application and allows users to input data, make selections, and navigate through the application's features. It is an essential component for creating user-friendly and visually appealing applications.
5.
_____ contains the specifications for the .net supported languages
Correct Answer
A. Common language specification
Explanation
The Common Language Specification (CLS) is a set of rules and guidelines that ensure interoperability between different .NET languages. It defines a minimum set of features and types that all .NET languages must support in order to be able to communicate with each other. The CLS helps in creating language-independent libraries and components, allowing developers to use different .NET languages within the same project. Therefore, it contains the specifications for the .NET supported languages.
6.
_____ provides guidelines for declaring, using and managing types at runtime
Correct Answer
A. Common type system
Explanation
The Common Type System (CTS) provides guidelines for declaring, using, and managing types at runtime. It ensures that all types in different programming languages within the .NET framework can be seamlessly integrated and interact with each other. CTS defines a set of common data types and programming constructs that can be used across different languages, allowing for language interoperability. It also defines rules for type safety, inheritance, and method signatures, ensuring consistency and compatibility between different components and languages in the .NET ecosystem.
7.
_____ imparts data querying capabilities to .Net languages using a syntax
Correct Answer
A. LINQ
Explanation
LINQ (Language-Integrated Query) is a feature in .Net languages that provides data querying capabilities using a syntax. It allows developers to query and manipulate data from different data sources such as databases, XML files, and collections using a uniform query syntax. LINQ simplifies the process of querying and manipulating data by integrating the query capabilities directly into the programming language, making it easier for developers to write efficient and readable code. With LINQ, developers can write queries using a familiar syntax, which improves productivity and reduces the amount of code needed to perform complex data operations.
8.
_____ provides safety for accessing resources and sharing personal information on the internet
Correct Answer
A. Windows card space
Explanation
Windows card space provides safety for accessing resources and sharing personal information on the internet. It is a technology developed by Microsoft that allows users to securely store and manage their digital identities and personal information. It provides a secure environment for accessing online services and protects sensitive data from unauthorized access or identity theft. With Windows card space, users can have more control over their personal information and confidently engage in online activities without compromising their privacy and security.
9.
____ is the content of various input fields in the web form stored by ASP.NET forever
Correct Answer
A. Page State
Explanation
Page State refers to the content of various input fields in a web form that is stored by ASP.NET forever. This means that the values entered by the user in the input fields will persist even if the page is refreshed or navigated away from. This is useful when the user needs to retain the entered data for future reference or when navigating back to the page.
10.
_____ is the collective information obtained from various pages the user visited and worked with
Correct Answer
A. Session state
Explanation
Session state refers to the collective information obtained from various pages the user visited and worked with. It includes data such as user preferences, session variables, and any other information that needs to be maintained throughout the user's session on a website or application. This allows the application to remember and personalize the user's experience across different pages and interactions.