Home
Browse
Create
Search
Log in
Sign up
Upgrade to remove ads
Only $2.99/month
Raul BCIS Exam
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (60)
A web application consists of one or more _____________.
Web Pages
To start a web application, you enter its URL into your ___________.
Web Browser
A URL consists of the protocol, domain name, _________, and file name.
Path
A local area network that connects computers that are near each other is called a/an ____________.
...
If the file name is omitted in a URL, Internet Information Services will look for a file named __________________ or default with an extension of .html or .htm.
...
A web page or HTML document that's the same each time it is requested is called a/an ____________ web page
static
When you develop an ASP.NET application, the C# code for a web page is stored in a/an ______________.
code-behind file
Which part of the following URL identifies the server that's hosting the website? http://localhost/MainStore/Hours.aspx
localhost
Which of the following statements describes the Internet?
...
The protocol that's used by a web browser and a web server to communicate in a web application is
HTTP
Unlike a static web page, a dynamic web page
...
To add a control to a web page, you use the _______________ of the Web Forms Designer
toolbox
To modify the properties of a control with the Web Forms Designer, you use the ___________________.
properties window
You can use a feature of Visual Studio called ________________ to help you enter common blocks of code.
...
As you enter code in Visual Studio, the _________________ feature provides lists of coding options that you can enter by selecting and pressing the Tab key.
IntelliSense
If you want the compiler to ignore a portion of aspx or C# code without deleting it, you can select the code and make it a/an ___________________.
comment
A validation control is used to validate the user entry for another control when the focus leaves the control or when a button is clicked that has its __________________ property set to True.
CausesValidation
If you want to initialize the values in a drop-down list, you can do that in a method for the _____________ event of the page.
load
To test an ASP.NET application with IIS Express, you can click on the browser name in the Standard toolbar or press the __________ key
F5
When you design a form, you use the
Web Forms Designer, Toolbox, and Properties window
You can work with a form in the Web Forms Designer in all but one of the following views. Which one is it?
HTML
The IntelliSense feature of Visual Studio can help you enter all but one of the following. Which one is it?
comments
The Load event of a page occurs
every time the page is loaded
When an unhandled exception occurs during the execution of an application
the application is interrupted and the statement that caused the error is displayed in Visual Studio
A tag that defines an HTML element that has no content and no end tag is called a/an ________________ tag.
...
When an HTML document is displayed in a browser, HTML _______________ elements flow to the right of the elements that precede them.
inline
When you use an external style sheet, you code a/an _______________ element in the head section of the HTML to identify the style sheet.
link
One benefit of using external style sheets is that you separate the _______________ of the content from the content.
formatting
To define a CSS rule set, you code one or more ________________ within the braces of the rule set
declarations
To apply a CSS rule set with a class selector to an ASP.NET server control, you code the class name in the ____________ attribute of the control
CssClass
A web application that uses ________________ web design adapts to every screen size.
Responsive
To code an element selector for a CSS rule set, you code
the element name
To code a class selector for a CSS rule set, you code
the value of the class attribute preceded by a period
Unlike a relative URL, an absolute URL includes the ________________ of the website.
domain name
When you use the tilde operator (~) in a URL for the attribute of a server control, it represents the ____________ directory of the web application.
root
A relative URL uses a URL that's relative to the ___________________ directory.
current
Session state is typically used for all but one of the following purposes. Which one is it?
To keep track of the last web page that was requested
Which statement best describes the operation of the following code? if (!IsPostBack) ddlProducts.DataBind();
...
Which statement best describes the operation of the following code? DataView dv = (DataView) SqlDataSource1.Select(DataSourceSelectArguments.Empty); dv.RowFilter = "ProductID = '" + ddlProducts.SelectedValue + "'"; DataRowView drv = dv[0];
The data for a single row is filtered from a data source based on the value selected from a drop-down list, and the row is stored in a DataRowView object named drv.
What happens when following button is clicked?
<asp:Button ID="btnCart" runat="server" Text="Go to Cart"
CausesValidation="False" PostBackUrl="~/Cart.aspx"
...
Consider the following statement. What directory does the page reside in? Response.Redirect("Secure/IncomeStatement.aspx");
The Secure subdirectory of the current directory
Consider the following statement. What directory does the page reside in? Response.Redirect("../Secure/IncomeStatement.aspx");
The Secure directory at the same level in the directory structure as the current directory
To set the starting page for an application, you
...
Validation is done when when you click a button whose _________________ property is set to True.
CausesValidation
If a validation control indicates invalid data, the ____________ property of the validator is set to False.
IsValid
A required field validator checks whether the __________________ value of a control has changed.
...
When you use a range validator, you can specify the ______________ that should be used for the range comparisons.
data type
To check the format of an entry for a social security number or phone number, you can use a ______________________ validator
regular expression
To specify the error message for a validator when you aren't using a validation summary control, you set the _________________ property.
ErrorMessage
To set the error message for a validator when you want a different message in the validation summary control, you use the ___________ property.
Text
If you want to run your own validation code for a control on the server, you can use a ____________ validator.
...
If you want to display all of the error messages for the validators in one portion of a web page, you can use a ______________________ control.
Validation Summary
You can use a compare validator to perform all but one of the following validations. Which one is it?
Compare the value of a control with an expression that refers to the value of another control
You can use a range validator to
all of the above
Which of the following can be tested by a regular expression validator?
the format of a social security number
A custom validator is typically used when
the validation is based on the data in a database
If you want the same error message to be displayed in the validator and the validation summary control, you
set the ErrorMessage property to the message and don't set the Text property
To pass data from one use of a page to another, you can use the ______________ object.
view state
To save value-type data in session state when the data is used by more than one event handler, you typically use the event handler for the ________________ event of the form.
...
A persistent cookie is stored on the user's _______________.
Disk Drive
YOU MIGHT ALSO LIKE...
ASP.Net Final
54 terms
part 5
42 terms
WA2 terms
156 terms
ASP.NET Chapter 1 and 2 Test
19 terms
OTHER SETS BY THIS CREATOR
CB - Chapter 12 (Self-Concept & Lifestyle)
14 terms
Consumer Behavior Exam 1
26 terms
BCIS Raul Exam 1
30 terms
MGMT 4660 Exam 5
85 terms