Expert Answers

1. (TCO 1) In order to design Web forms in Visual Studio.NET, we use the _______. (Points : 5)        Design Plus feature
Web Forms Designer
Cascading Style Sheets
XML Style
outside tools
Question 2. 2. (TCO 1) Many of the Web server controls have a _______ menu, which allows developers options to perform common tasks and settings. (Points : 5)
Smart tags
Web Style
Page Style
Format Creator
Edit

Question 3. 3. (TCO 1) The starting page for the website can be changed by (Points : 5)
changing the setting in the global.asax.
changing the setting in the web.config.
right-clicking on the Web page in the Solution Explorer then left-clicking on “Set As Start Up.”
setting the “Start up” setting in the Web page to “True.”
None of the above

Question 4. 4. (TCO 2) _______ allow users to select controls by keyboard shortcuts. (Points : 5)
Alternative keys
Alternative options
Attributes
Focus controls
Access keys

Question 5. 5. (TCO 2) You can use the _________ to specify the maximum amount of characters that can be entered in a textbox. (Points : 5)
Web.config file
Validatation setting
Global.asax file
Size attribute
MaxLength property

Question 6. 6. (TCO 2) The CheckedChanged Event for a radio button occurs _________. (Points : 5)
only when the radio option has a check mark
only when the radio option does not have a check mark
whenever the radio option is checked or unchecked
only when the radio button has focus
None of the above

Question 7. 7. (TCO 3) You can use _________ to track the state of each user in the application. (Points : 5)
application state
session state
browser cache
Web.config
Global.asax

Question 8. 8. (TCO 3) The ________ control displays the navigation as menu options. (Points : 5)
Master Page
Tree View
Menu
Listbox
Directory

Question 9. 9. (TCO 3) _________ variables are maintained while the browser is opened. (Points : 5)
Application level
Class level
Session level
Form level
All of the above

Question 10. 10. (TCO 4) To create anSQLDataSource from the Designer, developers can _______. (Points : 5)
drag and drop it from the Toolbox
drag and drop it from the Solution Explorer
drag and drop it from the Properties
open the SQLServer Wizard
open the DataConnection Wizard

Question 11. 11. (TCO 5) ________ is the ability for the GridView to display data one page at a time. (Points : 5)
Paging
Instantiating
Object Oriented
Locking
Late data binding

Question 12. 12. (TCO 5) The ________ layer is used to contain the data for the application. (Points : 5)
Middle/Business
Presentation
Solution
Server
Database

Question 13. 13. (TCO 6) Transaction objects in .NET contain methods to _______. (Points : 5)
only roll back or revert the transaction back to the original state of the database
only initiate a transaction
only commit the transaction
roll back (revert) or commit, but not initiate, a transaction
initiate, commit, and roll back (revert) a transaction

Question 14. 14. (TCO 6) _________ starts the transaction process. (Points : 5)
Rollback Transaction
Set Transaction
Process Transaction
Begin Transaction
Commit Transaction

Question 15. 15. (TCO 6) _________ reverts the changes in the database. (Points : 5)
Instantiate Transaction
Process Transaction
Begin Transaction
Commit Transaction
Rollback Transaction

Question 16. 16. (TCO 6) _________, in transaction processing, means that managed resources survive failures. (Points : 5)
Atomicity
Consistency
Isolation
Durability
None of the above

1. (TCO 7) You need ________ in order to add one or more Views to a control. (Points : 5)        a View class
the View property set to True
a MultiView control
the MultiView property set to True
the ViewOn property set to True
Question 2. 2. (TCO 7) A _________ control can be implemented to allow users to step through a process. (Points : 5)
Wizard
GridView
Command
Transaction
MutliView

Question 3. 3. (TCO 7) The _________ part of ASP.NET Web pages can contain a combination of Web controls, user controls, and HTML syntax. (Points : 5)
Code dialog
Object
Executable
Signal
HTML

Question 4. 4. (TCO 9) SMTP sends e-mails in _______ format. (Points : 5)
either text or binary
text
binary
FTP
telnet

Question 5. 5. (TCO 9) A _______ is a web page that can be easily customized by users. (Points : 5)
web form
dataset
portal
user control
master page

Question 6. 6. (TCO 9) The ________ file controls the configuration of the ASP.Net Web application. (Points : 5)
Solution Explorer
Project ini
Server Explorer
Options log
Web.config

Question 7. 7. (TCO 1) An absolute URL is _______. (Points : 5)
the file name on the current site
the complete URL including the domain of the site
the path located on the current site’s system
the path displayed in the system.ini
None of the above

Question 8. 8. (TCO 1)When you bind a dropdown list to a data grid, the system will _______. (Points : 5)
automatically display the data retrieved by the data source
prevent data from being displayed
prevent data from being overwritten
lock the data source from intruders
None of the above

Question 9. 9. (TCO 1) A _________ is a website that is located on your local computer. (Points : 5)
virtual website
local hard drive
local IIS website
fully qualified website
local qualified website

Question 10. 10. (TCO 2) You can use the _________ to specify the maximum amount of characters that can be entered in a textbox. (Points : 5)
Web.config file
Validatation setting
Global.asax file
Size attribute
MaxLength property

Question 11. 11. (TCO 2) The CheckedChanged Event for a radio button occurs _________. (Points : 5)
only when the radio option becomes unchecked
whenever the radio option is checked or unchecked
only when the radio option becomes checked
only when the radio button has focus
None of the above

Question 12. 12. (TCO 2) The Rows and SelectionMode properties apply to _______. (Points : 5)
listboxes
dropdowns
GridViews
calendars
validators

Question 13. 13. (TCO 3) You can use ________ to track the state of each user in the application. (Points : 5)
Application State
Session state
Local variables
Web.config
Global.asax

Question 14. 14. (TCO 3) ________ values are stored in the memory of the ASP.NET process. (Points : 5)
InProc
StateServer
SQL Server
Cookie
All of the above

Question 15. 15. (TCO 9) In IIS, you can create a _____ directory, which points to a location other then the directory you create for the project. (Points : 5)
temporary
virtual
permanent
local
standard

1. (TCO 5) Describe the three primary classes (not namespaces but classes which are instantiated) used to retrieve data from a database through .NET. (Points : 15)
2. (TCO 2) Describe one method for addressing security issues when designing web forms for the Presentation Layer of an N-Tier Architecture. (Points : 15)

3. (TCO 3) Describe the ASP.NET session state object and give one example of what it can be used for in a web application. (Points : 15)

4. (TCO 4) Explain why it is preferred to use typed rather than untyped datasets. (Points : 15)