Microsoft .NET Fundamentals
This test is useful for GATE and other competitive exams as well as academic students. Test contains the conceptual phase of .NET programming.
Questions
Which of the following is not a function of Common Type System (CTS)?
- It defines the interoperability of the languages.
- It also specifies the rules for type visibility and access to the members of a type.
- It defines the inheritance and virtual methods.
- It establishes a framework that helps enable cross-language integration, type safety, and high performance code execution.
- It defines the execution environment to the code.
Which of the following features are included in Reference types categories in Common Type System (CTS)?
- These store the memory address values in the heap.
- These types have self describing types.
- These directly contain their data, and instances of value types are either allocated on the stack or allocated inline in a structure.
- These types can be built-in (implemented by the runtime), user-defined, or enumerations.
- Options 1 and 2
Which of the following information does Metadata contain?
- It is used to store the information for the CLI specific.
- It is used to provide the application specific features to the assembly.
- It has the data attributes in the application.
- It allows the creator of the class, the ability to adorn it with extra information that consumers of the class can use in various meaningful ways depending on the application domain.
- All of these
What does Common Intermediate Language (CLI) do in application programming?
- CLI provides the runtime specific code format and specification.
- It translates the native code to be executable by a virtual machine.
- CIL is an object-oriented assembly language.
- The source code is CLI's equivalent to assembly language for a CPU.
- All of these
What is the role of 'Register' directive in Asp .NET?
- It defines page-specific attributes for the ASP.NET page.
- This directive makes functionality that has been defined elsewhere available in a given page.
- It allows to register a user control for use on the page.
- It allows to register the server controls.
- Options 3 and 4
What does Active Server Pages (ASP) contain in their functionality?
- It is used to provide a reusable combination of different server components.
- It provides support to IIS specific languages.
- It is used to create dynamic and powerful Web-based business solutions.
- It is a mixture of text and HTML tags.
- All of these
Which of the following is known as 'OnDisposed' event in Asp .NET page?
- This event is fired when the button is released from memory.
- This subroutine will run when the control is unloaded from memory.
- This attribute is called for the Click event, which occurs when the user clicks the button.
- When the button is initialised, any subroutine given in this attribute will be called.
- Options 1 and 4
Which of the following is/are correct about Server Side Includes (SSI)?
- SSI is limited to some extent.
- These files has information about storage of application specific functions and procedures.
- It has the properties to store any of the object's attributes.
- It defines the execution environment in networking medium.
- Options 1 and 2
Which of the following scripting context is used to control the Internet Information Server in the Object model?
- Request
- Response
- Server
- Session
- Option 2 and 3
Which of the following best explains the page_preRender event?
- This event is called when the page is about to be initialise with its basic settings.
- This event is fired before any response has been sent to the browser.
- This is called once the browser request has been processed.
- This event provides the updation of the values.
- Options 1 and 2
Which of the following Server variables provides the Unique ID of the client certificate?
- CERT_COOKIE
- CERT_FLAGS
- INSTANCE_ID
- SERVER_PORT
- REQUEST_METHOD
What information does 'Virtual directory' contain in Internet Information Server (IIS)?
- It has directory-level properties.
- It configures a default page that displays when the user types is a full URL.
- It provides security configuration settings for other directory.
- It gives the ability to forcefully control page caching on the server.
- Option 1 and 3
What are the functionalities of 'Namespace' in .Net?
- The classes in .Net are organised in a hierarchy of namespaces.
- The database specific page can be accessed from the classes of such namespace.
- Importing the namespace is necessary to use the class.
- Options 1 and 2
- All of these
Which of the following is the role of Virtual Execution System (VES)?
- It is used to represents the executable files in the CLR.
- It is used to provide type compatibility for user defines reference types.
- It is used to execute CLI-compatible programs.
- It is used to provide the language interoperability.
- Options 1 and 3
Which of the following is/are false about Just-in-time compilation?
- It specifies and converts the byte code into executable format.
- It is responsible for the runtime type safety and assembly verification.
- It provides the assembly metadata for any illegal accesses and handles violations appropriately.
- It handles reading the metadata by reflection.
- Options 3 and 4