0
Alien head

Basic ASP .Net Quiz

Description: Basic ASP .Net Quiz
Number of Questions: 24
Created by:
Tags: .net asp

Which is not a fundamental service identified in a three-tier architecture?

  1. Association layer

  2. Connection layer

  3. Logical layer

  4. Both a and b.

  5. All of the above.

Answer: 5

Which layer is exemplified by a web server?

  1. Application

  2. Association

  3. Data

  4. Logical

  5. Presentation

Answer: 1

Which layer is exemplified by a fat client?

  1. Application

  2. Association

  3. Data

  4. Logical

  5. Presentation

Answer: 5

Which layer is exemplified by the use of ADO.NET?

  1. Application

  2. Association

  3. Data

  4. Logical

  5. Presentation

Answer: 1

How will using a middle tier typically affect the number of connections to a database?

  1. Increase the number

  2. Have no effect on the number

  3. Decrease the number

  4. It depends on the type of client.

  5. It depends on the type of database.

Answer: 3

An application layer:

  1. will contain business logic.

  2. manage connections to the database.

  3. can be distributed over many computers.

  4. Both a and b.

  5. All of the above.

Answer: 5

A data layer is responsible for:

  1. retrieving information from a database.

  2. updating information in a database.

  3. deleting information in a database.

  4. Both a and b.

  5. All of the above.

Answer: 5

What is the minimum number of computers in a three-tier architecture?

  1. 1

  2. 2

  3. 3

  4. 4

Answer: 1

A server farm is:

  1. an example of a distributed application.

  2. makes it easy to add new computers if demand increases.

  3. applies only to web servers.

  4. Both a and b.

  5. All of the above.

Answer: 4

Which is a valid type of state management for the creation of web pages?

  1. Client side

  2. Server side

  3. Data side

  4. Both a and b.

  5. All of the above.

Answer: 4

The stateless HTTP protocol refers to web pages created:

  1. on a web server.

  2. without information from a database.

  3. without knowledge of previous web pages.

  4. before a request from a client.

  5. on a client machine.

Answer: 3

Client-side state management techniques are appropriate when using:

  1. sensitive information.

  2. critical applications.

  3. an intranet.

  4. Both a and b.

  5. All of the above.

Answer: 3

Where does the view state store information?

  1. HTML source

  2. Text file

  3. URL

  4. Both a and b.

  5. All of the above.

Answer: 1

Where does the query string store information?

  1. HTML source

  2. Text file

  3. URL

  4. Both a and b.

  5. All of the above.

Answer: 3

Where do cookies store information?

  1. HTML source

  2. Text file

  3. URL

  4. Both a and b.

  5. All of the above.

Answer: 2

Which client-side technique is specific to ASP.NET?

  1. Cookies

  2. Query string

  3. View state

  4. Both a and b.

  5. All of the above.

Answer: 3

Which client-side technique can be disabled by the end-user?

  1. Cookies

  2. Query string

  3. View state

  4. Both a and b.

  5. All of the above.

Answer: 1

What symbol specifies the beginning of a query string?

  1. @

  2. #

  3. $

  4. %

  5. ?

Answer: 5

What is the syntax for creating and using an application variable?

  1. Application.VariableName = Value

  2. Application.VariableName = (Value)

  3. Application(VariableName) = Value

  4. Application(VariableName) = (Value)

  5. Application("VariableName") = Value

Answer: 5

Which server-side technique is available in ASP.NET?

  1. Application states

  2. Session states

  3. Database support

  4. Both a and b.

  5. All of the above.

Answer: 4

An Application variable is created:

  1. when the application is first placed on a web server.

  2. when the web server is first started.

  3. when the first client requests a URL resource.

  4. every time a client requests a URL resource.

  5. every time a new client interacts with the web application.

Answer: 3

A Session variable is created:

  1. when the application is first placed on a web server.

  2. when the web server is first started.

  3. when the first client requests a URL resource.

  4. every time a client requests a URL resource.

  5. every time a new client interacts with the web application.

Answer: 5

If there is no activity from a browser, how long will a session variable last?

  1. 10 minutes

  2. 20 minutes

  3. 60 minutes

  4. 100 minutes

  5. 200 minutes

Answer: 2

Which is not a reason for using a database to store state information?

  1. The capacity to store high volumes of information

  2. The ability to use data mining techniques on the stored information

  3. The ability to use application and session variables

  4. Security from unauthorized use

  5. The power to easily query for specific information

Answer: 3
+ View questions