Question
devry cis407a week 2 quiz latest 2016 july
1. Question : (TCO 2) The _____ is generated automatically by ASP.NET.
SSL
HTTP
HTML
FTP
Question 2. Question : (TCO 2) Ensuring that a Web page is compatible with as many browsers as possible is called _____ .
IE
cross-browser compatibility
HTML5
workarounds
Question 3. Question : (TCO 2) A(n) _____ style is created by coding a style attribute for an HTML element.
rule
self-closing
extra
inline
Question 4. Question : (TCO 2) The number of pixels between cells in a table can be specified by _____.
cell spacing
width
colspan
rowspan
Question 5. Question : (TCO 2) As you enter code in Visual Studio, the _____ feature provides drop-down lists of coding options that you can enter by selecting and pressing the Tab key.
IntelliSense
Comment
Event
Toolbox
Question 6. Question : (TCO 2) The difference between check box and radio button controls is that _____.
only one check box in a group can be checked at the same time
only one radio button in a group can be checked at the same time
you can only use the Checked property to check whether a check box is checked
you can’t have just one radio button on a form
Question 7. Question : (TCO 2) The CheckedChanged event is raised for a radio button whenever the checked property of _____.
the button changes to checked
the button changes
any button in the group changes to checked
any button in the group changes
Question 8. Question : (TCO 2) The Rows and Selection Mode properties apply to _______.
all controls
textboxes
listboxes
dropdown boxes
Question 9. Question : (TCO 2) The hyperlink control provides an easy way to _____ to another page.
group
link
check
stick
Question 10. Question : (TCO 2) The ________ displays a text box and button for users to browse, select, and upload a file.
Text box control
Upload text box control
Upload file control
File menu
devry cis407a week 3 quiz latest 2016 july
Question 1. Question : (TCO 3) By default, session state objects are tracked by the use of _____.
query strings
brownies
applications
cookies
Question 2. Question : (TCO 3) The Application_Start event is typically used to _____.
initialize the values of session state items
initialize the values of application state items
retrieve application statistics from ASP.NET
add components to the global.asax file
Question 3. Question : (TCO 3) A global.asax file for a website provides _____.
event handlers for application events
application properties and methods
the attributes for an application
the options for an application
Question 4. Question : (TCO 3) Master page events are like content page events, but the master page events occur _____ the content page events.
before
after
at the same time
master page events do not occur
Question 5. Question : (TCO 3) Which of the following is true for friendly URLs?
They mirror the directory structure of the website.
They don’t include the file names of the pages that are being requested.
They can include query strings.
They often improve browser performance.
Question 6. Question : (TCO 3) Before you can use a navigation control, you must _____.
configure the web.config
configure the global.asax
configure the web.sitemap
configure the security settings
Question 7. Question : (TCO 3) The _____ control displays the navigation as menu options.
Master page
TreeView
Menu
Listbox
Question 8. Question : (TCO 3) Application-state variables are _____.
global variables for each ASP.NET application
local variables for a file
not useful for data connections
not able to be modified in ASP.NET pages
Question 9. Question : (TCO 3) _____ variables are maintained while the browser is opened.
Session
Application
Class
Cookie
Question 10. Question : (TCO 3) _____ values are a mode of session state that stores values in the memory space of a standalone Microsoft Windows Service. This service runs outside of the IIS or ASP.NET application server process and memory space.
StateServer variable level
InProc server
Database
Global.asax
devry cis407a week 4 quiz latest 2016 july
1. Question : (TCO 4) What does a relational database use to relate tables in the database to each other?
Foreign key
Trigger key
View key
Host key
Question 2. Question : (TCO 4) If a row in one table is related to one or more rows in another table, the tables are said to have (a) _____.
no relationship
many-to-many relationships
one-to-one relationship
one-to-many relationship
Question 3. Question : (TCO 4) Which of the following SQL statements can be generated automatically by the Configure Data Source wizard?
Insert
Update
Delete
All of the above
Question 4. Question : (TCO 4) When should you place the text and controls that define a template for a data list within a table?
When the data list contains two or more columns
When you need to align the columns in two or more templates
When you need to apply formatting to the template
A and B only
Question 5. Question : (TCO 5) Which of the following can you not do from the Fields dialog box for a GridView control?
Add a bound control
Add a Command button
Add a validation control
Convert a bound field to a template field
Question 6. Question : (TCO 5) You can use the PagerSettings element of a GridView control to do all but one of the following. Which one is it?
Control what buttons appear in the pager area.
Control the number of rows that is displayed on a page.
Control whether text or images appear on the page buttons.
Control where the pager area appears.
Question 7. Question : (TCO 5) Which of the following statements sets the value of an insert parameter named ParentName for a data source named SqlDataSource1 to the value of the Text property of a control named txtParentName?
SqlDataSource1=txtParentName.Text;
SqlDataSource1.InsertParameters[“ParentName”].DefaultValue = txtParentName.Text;
Sql.InsertParameters[“ParentName”].DefaultValue = txtParentName.Text;
SqlDataSource1.InsertParameters[“ParentName”] = txtParentName.Text;
Question 8. Question : When you develop an application using a 3-layer architecture, the layer that provides the user interface is called the _____ layer.
Presentation
Middle/Business
Data
Solution
Question 9. Question : (TCO 5) Which of the following methods do you use to read the next row from a SqlDataReader object?
Next
ReadNext
Read
NextRow
Question 10. Question : (TCO 5) Displaying data in .NET requires what three objects?
Connection, query, dataset
Connection, query, data field
Server, client, application
Connection, adapter, dataset
devry cis407a week 5 quiz latest 2016 july
devry cis407a week 5 quiz
1. Question : (TCO 6) Web applications can implement transactions by using methods that _____.
initiate a transaction
commit the transaction
revert the transaction back to the original state of the database
All of the above
Question 2. Question : (TCO 6) _____ starts the transaction process.
Instantiate Transaction
Process Transaction
Begin Transaction
Commit Transaction
Question 3. Question : (TCO 6) Validation is done when when you click a button whose _____ property is set to True.
InitialSetting
CommitTransaction
ProcessValidation
CausesValidation
Question 4. Question : What does the following SQL statement add to the Times table?
Insert Into Times (TimesDueDays)
Values (500)
A row with a value of 500 for the TimesDueDays column
500 rows with a column of TimesDueDays
All rows where the TimesDueDays column has a value of 500
A TimesDueDays column with a default value of 500
Question 5. Question : (TCO 6) Which of the following templates are you most likely to use with a DetailsView control?
Item
EditItem
InsertItem
All of the above
Question 6. Question : (TCO 6) A _____ in a database relates a row from one table to one or more rows from another table.
one-to-one relationship
one-to-many relationship
many-to-many relationship
mutually exclusive JOIN
Question 7. Question : TCO 6) What button is removed when you click the Edit button for a row in a GridView control?
The Update and Cancel buttons are removed.
All data are removed.
The Delete button is removed.
No button is removed.
Question 8. Question : (TCO 6) The result set retrieved by the following Select statement contains rows that have _____.
Select Balance, Number
From Accounts
Where Balance < 200
all of the columns from all of the rows in the Accounts table
two of the columns from all of the rows in the Account table
all of the columns from the Accounts table from all of the rows where Balance is less than 200
two of the columns from the Accounts table from all of the rows where Balance is less than 200
Question 9. Question : (TCO 6) Concurrency occurs when _____.
an update or delete operation is refused
two or more users retrieve and then try to update data in the same row of a table at the same time
an update or delete operation is resubmitted to the database
a program checks if a row has changed before updating or deleting ite. xml
Question 10. Question : (TCO 6) Which of the following templates are you most likely to use with a DetailsView control?
Item
EditItem
InsertItem
All of the above
devry cis407a week 6 quiz latest 2016 july
1. Question : (TCO 7) The definition for an ObjectDataSource control requires all but one of the following attributes. Which one is it?
ID
TypeName
SelectMethod
UpdateMethod
Question 2. Question : (TCO 8) The process of validating the identity of a user is called _____.
authorization
authentication
controls
responses
Question 3. Question : (TCO 7) Which of the following is not a benefit of user controls?
Decreased development time
Reduced maintenance time
Consistency throughout application
Increased test time
Question 4. Question : (TCO 7) The ASP.NET Ajax client-side framework is loaded on the _____ for an ASP.NET Web application.
browser
panel
trigger
JavaScript
Question 5. Question : (TCO 8) A login page should always be named _____.
Login.docx
Security.aspx
Login.aspx
Form.aspx
Question 6. Question : (TCO 8) To determine whether you’re transmitting data over a secure connection, you can _____.
check the appSettings section of the web.config file
refer to the URL in the browser’s address bar
check for a Lock icon in the browser’s title bar
watch for the security alert that’s displayed whenever you’re about to establish a secure connection
Question 7. Question : (TCO 7) By default, the controls in a/an _____ are updated whenever the page is posted back to the server.
ScriptManager control
Page_Load method
UpdatePanel control
ScriptManagerProxy control
Question 8. Question : (TCO 7) Which of the following SQL statements will search for a given last name in the tblEmployees table based on a search variable name’s strSearch?
“select * from tblEmployees = ‘” + strSearch”’”
“select * from tblEmployees where FirstName = ‘” + strSearch”’”
“select * from tblEmployees where LastName = ‘” + strSearch+”’”
“select * from tblEmployees where LastName = + strSearch
Question 9. Question : (TCO 7) The _____ part of ASP.NET Web pages can contain a combination of Web controls.
HTML
Code Behind
Source
Design
Question 10. Question : (TCO 7) For which of the following purposes is a digital secure certificate not used?
To establish the identity of the client
To establish the identity of the server
To determine if a security alert is displayed before a secure connection is established
To provide information needed to encrypt data
devry cis407a week 7 quiz latest 2016 july
devry cis407a week 7 quiz
1. Question : (TCO 9) A SQL data source is a control that can be used to get data from a SQL _____ file such as a Microsoft SQL Server file.
cookie
database
row
session
Question 2. Question : (TCO 9) A(n) _____ is a point in code that developers can set where the system will stop to allow time for examining code and using other debug options.
Set Point
Break Point
Debug Point
Debug Mode
Question 3. Question : (TCO 9) To test a website in two or more browsers using IIS Express, you need to run the website in your default browser from Visual Studio and then _____.
start the other browsers and copy the URL from the default browser to the other browsers
find the website in the Windows Explorer and double-click on the aspx file for the starting page
start the other browsers and enter the location of the aspx file for the starting page
find the website in the Windows Explorer and double-click on the aspx.cs file for the starting page
Question 4. Question : (TCO 9) To send an e-mail message, you use the Send method of the _____ class.
Pop
SmtpClient
LoginClient
MyClient
Question 5. Question : (TCO 9) SMTP sends e-mails in _____ format.
either text or binary
text
binary
hexadecimal
Question 6. Question : (TCO 9) In the code-behind file for a Web page, you can catch exceptions that occur at the _____.
procedure level only
page level only
procedure and page levels
procedure, page, and application levels
Question 7. Question : (TCO 9) The _____ file controls the configuration of the ASP.Net Web application.
Solution
Project
Web.config
Error handler.err
Question 8. Question : (TCO 9) Which statement best describes the operation of the following code?
if (!IsPostBack)
ddlProducts.DataBind();
If the page is being requested for the first time, bind a drop-down list to a data source.
If the page isn’t being requested for the first time, bind a drop-down list to a data source.
If the page is being requested for the first time, bind a data source to a drop-down list.
If the page isn’t being requested for the first time, bind a data source to a drop-down list.
Question 9. Question : (TCO 9) Which of the following is a benefit of statements that use the Redirect method of the HttpResponse class to send the user a new Web page named Inventory.aspx?
Response.Session(“Inventory.aspx”);
Response.Redirect(“Inventory.aspx”);
Response (“Inventory.aspx”);
(“Inventory.aspx”);
Question 10. Question : (TCO 9) A generic IP for the SMTPServer setting in e-mail is _____.
127.0.0.1
1.1.1.1
100.0.0.0
“local”