Basic ASP .Net Quiz

Basic ASP .Net Quiz

24 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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.
Question 2 Multiple Choice (Single Answer)

Which layer is exemplified by a web server?

  1. Application
  2. Association
  3. Data
  4. Logical
  5. Presentation
Question 3 Multiple Choice (Single Answer)

Which layer is exemplified by a fat client?

  1. Application
  2. Association
  3. Data
  4. Logical
  5. Presentation
Question 4 Multiple Choice (Single Answer)

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

  1. Application
  2. Association
  3. Data
  4. Logical
  5. Presentation
Question 5 Multiple Choice (Single Answer)

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.
Question 6 Multiple Choice (Single Answer)

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.
Question 7 Multiple Choice (Single Answer)

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.
Question 8 Multiple Choice (Single Answer)

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

  1. 1
  2. 2
  3. 3
  4. 4
Question 9 Multiple Choice (Single Answer)

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.
Question 10 Multiple Choice (Single Answer)

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.
Question 11 Multiple Choice (Single Answer)

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.
Question 12 Multiple Choice (Single Answer)

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.
Question 13 Multiple Choice (Single Answer)

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.
Question 14 Multiple Choice (Single Answer)

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.
Question 15 Multiple Choice (Single Answer)

Where do cookies store information?

  1. HTML source
  2. Text file
  3. URL
  4. Both a and b.
  5. All of the above.
Question 16 Multiple Choice (Single Answer)

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.
Question 17 Multiple Choice (Single Answer)

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.
Question 18 Multiple Choice (Single Answer)

What symbol specifies the beginning of a query string?

  1. @
  2. #
  3. $
  4. %
  5. ?
Question 19 Multiple Choice (Single Answer)

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
Question 20 Multiple Choice (Single Answer)

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.
Question 21 Multiple Choice (Single Answer)

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.
Question 22 Multiple Choice (Single Answer)

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.
Question 23 Multiple Choice (Single Answer)

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
Question 24 Multiple Choice (Single Answer)

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