0
Alien head

Basic ASP .Net Quiz

Description: Basic ASP .Net Quiz
Number of Questions: 24
Created by:
Tags: .net asp
Attempted 0/24 Correct 0 Score 0

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.


Correct Option: E

Which layer is exemplified by a web server?

  1. Application

  2. Association

  3. Data

  4. Logical

  5. Presentation


Correct Option: A

Which layer is exemplified by a fat client?

  1. Application

  2. Association

  3. Data

  4. Logical

  5. Presentation


Correct Option: E

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

  1. Application

  2. Association

  3. Data

  4. Logical

  5. Presentation


Correct Option: A

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.


Correct Option: C

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.


Correct Option: E

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.


Correct Option: E

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

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: A

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.


Correct Option: D

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.


Correct Option: D

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.


Correct Option: C

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.


Correct Option: C

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.


Correct Option: A

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.


Correct Option: C

Where do cookies store information?

  1. HTML source

  2. Text file

  3. URL

  4. Both a and b.

  5. All of the above.


Correct Option: B

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.


Correct Option: C

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.


Correct Option: A

What symbol specifies the beginning of a query string?

  1. @

  2. #

  3. $

  4. %

  5. ?


Correct Option: E

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


Correct Option: E

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.


Correct Option: D

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.


Correct Option: C

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.


Correct Option: E

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


Correct Option: B

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


Correct Option: C
+ View questions