0

web technology Online Quiz - 163

Description: web technology Online Quiz - 163
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Is it possible to load mapping file programmatically?

  1. True

  2. False


Correct Option: A

You are developing a web application that is retrieving historical library information from a database server and displays it to the users of your application. What cache strategy will give you the best performance?

  1. Use the output cache.

  2. Use the cache object.

  3. Use the ASP.NET central cache.

  4. Use the client cache


Correct Option: B

What control is used to validate that two fields are equal?

  1. RequiredFieldValidator

  2. RegularExpressionValidator

  3. CompareValidator

  4. The equals() method of the field.


Correct Option: C

Which of the following does the actual .NET code execute ?

  1. MSIL

  2. CLS

  3. CLR

  4. CTS


Correct Option: C

AI Explanation

To answer this question, you need to understand the components of the .NET framework.

Option A) MSIL (Microsoft Intermediate Language) - This option is incorrect. MSIL is a low-level programming language that is generated by the .NET compiler. It is not the code that the .NET framework executes directly.

Option B) CLS (Common Language Specification) - This option is incorrect. CLS is a set of rules and guidelines that defines how .NET languages should interact with each other. It is not the code that the .NET framework executes directly.

Option C) CLR (Common Language Runtime) - This option is correct. The CLR is the execution engine of the .NET framework. It is responsible for loading and executing .NET code. When .NET code is compiled, it is transformed into a platform-neutral bytecode called MSIL. The CLR then takes this MSIL and compiles it into machine code that can be executed by the underlying hardware.

Option D) CTS (Common Type System) - This option is incorrect. The CTS is a set of rules that defines how types are declared, used, and managed in the .NET framework. It is not the code that the .NET framework executes directly.

The correct answer is C) CLR. This option is correct because the CLR is the component of the .NET framework that executes the actual code.

What is a DiffGram?

  1. XML file containing both the original and current values for the data.

  2. XML file containing the difference between original and current data.

  3. DataSet loaded with two XML files, resulting in the difference being current.

  4. DataSet loaded with an XML file and the original values from the data source.


Correct Option: A

Which one of the following is a limitation of XML serialization?

  1. In classes that implement IEnumerable, the collection is not serialized

  2. You cannot serialize an object's public fields.

  3. You cannot serialize XmlNode object

  4. It does not serialize type information.


Correct Option: D

internal class Piston {} internal class Engine { private Piston[] myPistons = new Piston[4]; public bool Ignition() { //some code } }public class Car { private Engine myEngine = new Engine(); public void Start() { //put in keys etc.. if (myEngine.Ignition()) { //some more code507 } } What concept does the above sample code demonstrate?

  1. Delegation

  2. Composition

  3. Polymorphism

  4. Inheritance


Correct Option: B

Garbage collector runs ?

  1. When Application is running for more than 30 minutes.

  2. Every 1/4th Milli Second.

  3. When application is running low of memory.

  4. Its very random and takes random time from the CPU clock.


Correct Option: C

What ASP.NET object encapsulates the state of the client and the browser?

  1. Application object.

  2. Session object.

  3. Response object.

  4. Request object.


Correct Option: B

Which object can help you maintain data across users?

  1. Application object.

  2. Session object.

  3. Response object.

  4. Request object.


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of maintaining data across users in web applications.

Option A) Application object - This option is correct because the Application object in web applications allows you to store data that can be accessed and shared across all users of the application. This object is typically used to store global variables or data that needs to be shared among multiple users.

Option B) Session object - This option is incorrect because the Session object is used to maintain state and store data specific to an individual user's session. It is not meant to store data that needs to be shared across multiple users.

Option C) Response object - This option is incorrect because the Response object is used to send a response from the server to the client. It is not used for maintaining data across users.

Option D) Request object - This option is incorrect because the Request object is used to encapsulate the information sent from the client to the server. It is not used for maintaining data across users.

The correct answer is A) Application object. This option is correct because the Application object allows you to store data that can be accessed and shared across all users of the application.

What namespace must be used in order to use the DOM for XML support?

  1. System.Data.Xml

  2. System.Xml

  3. System.DOM.Xml

  4. System.DOM


Correct Option: B

What namespace must be used in order to use the DOM for XML support?

  1. System.Data.Xml

  2. System.XML

  3. System.DOM.Xml

  4. System.DOM


Correct Option: B

You want to send Personalized Messages to a group of people. Which SQL Server 2005 services would you use?

  1. Database Mirroring

  2. Integration Services

  3. Notification Services

  4. All of the above


Correct Option: C

You have currently installed SQL Server 7.0 Standard Edition SP4 and wish to upgrade to SQL Server 2005. Which versions of SQL Server 2005 can you upgrade to?

  1. SQL Server 2005 Developer Edition

  2. SQL Server 2005 Enterprise Edition

  3. SQL Server 2005 Express Edition

  4. SQL Server 2005 Standard Edition


Correct Option: D
  1. Developer Edition

  2. Express Edition

  3. Integration Edition

  4. Standard Edition


Correct Option: A

It is possible to rename a database and database objects in SQL Server 2005

  1. True

  2. False


Correct Option: B

You are planning for a new installation of SQL Server 2005. You need to select the protocols that client computers might use to connect to the server. Which two protocols will you use to achieve this goal?

  1. Named Pipes

  2. Shared Memory

  3. Virtual Interface Adapter

  4. TCP/IP


Correct Option: D

Which are the System Databases in SQL Server 2005?

  1. Model database

  2. Master Database

  3. msdb

  4. Temporary database


Correct Option: A

What are the different recovery models in SQL Server 2005?

  1. Simple

  2. Bulk Logged

  3. Full

  4. All of the above


Correct Option: D
- Hide questions