Upgrade to remove ads
Raul BCIS Exam
Terms in this set (60)
A web application consists of one or more _____________.
To start a web application, you enter its URL into your ___________.
A URL consists of the protocol, domain name, _________, and file name.
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
When you develop an ASP.NET application, the C# code for a web page is stored in a/an ______________.
Which part of the following URL identifies the server that's hosting the website? http://localhost/MainStore/Hours.aspx
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
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
To modify the properties of a control with the Web Forms Designer, you use the ___________________.
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.
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 ___________________.
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.
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.
To test an ASP.NET application with IIS Express, you can click on the browser name in the Standard toolbar or press the __________ key
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?
The IntelliSense feature of Visual Studio can help you enter all but one of the following. Which one is it?
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.
When you use an external style sheet, you code a/an _______________ element in the head section of the HTML to identify the style sheet.
One benefit of using external style sheets is that you separate the _______________ of the content from the content.
To define a CSS rule set, you code one or more ________________ within the braces of the rule set
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
A web application that uses ________________ web design adapts to every screen size.
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.
When you use the tilde operator (~) in a URL for the attribute of a server control, it represents the ____________ directory of the web application.
A relative URL uses a URL that's relative to the ___________________ directory.
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;
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"
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.
If a validation control indicates invalid data, the ____________ property of the validator is set to False.
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.
To check the format of an entry for a social security number or phone number, you can use a ______________________ validator
To specify the error message for a validator when you aren't using a validation summary control, you set the _________________ property.
To set the error message for a validator when you want a different message in the validation summary control, you use the ___________ property.
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.
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.
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 _______________.
YOU MIGHT ALSO LIKE...
ASP.NET Chapter 1 and 2 Test
OTHER SETS BY THIS CREATOR
CB - Chapter 12 (Self-Concept & Lifestyle)
Consumer Behavior Exam 1
BCIS Raul Exam 1
MGMT 4660 Exam 5