Deck 12: Web Applications
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/60
Play
Full screen (f)
Deck 12: Web Applications
1
A ____ requests information from a Web server.
A)radio button
B)client computer
C)toolbar
D)
A)radio button
B)client computer
C)toolbar
D)
tag
B
2
Which of the following is a valid filename for a Web page?
A)Default.vb
B)Default.aspx
C)Default.aspx.vb
D)Default.vb.aspx
A)Default.vb
B)Default.aspx
C)Default.aspx.vb
D)Default.vb.aspx
B
3
HTML tags tell the client's browser how to render the page on the computer screen.
True
4
When a client computer's browser sends a request for an ASP page,the Web server locates the page and then sends the appropriate ____ instructions to the client.
A)C++
B)Java
C)system
D)HTML
A)C++
B)Java
C)system
D)HTML
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
5
A Web form does not have a GroupBox tool that you can use to group together related radio buttons.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
6
Web controls have a Name property.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
7
The Web consists of documents called ____ that are stored on Web servers.
A)URLs
B)browsers
C)clients
D)Web pages
A)URLs
B)browsers
C)clients
D)Web pages
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
8
When a user clicks a button on the Web page,the page and data are submitted to the server for processing.This event is referred to as a ____.
A)refresh
B)postback
C)recall
D)post
A)refresh
B)postback
C)recall
D)post
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
9
When a Web page is displayed in a browser,the value stored in its Title property appears in the browser's title bar.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
10
____ pages contain code that tells the objects on the Web page how to respond to the user's actions.
A)Dynamic ASP
B)Static
C)Header
D)Java
A)Dynamic ASP
B)Static
C)Header
D)Java
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
11
When adding a table to a Web page,use the Insert Table dialog box to set the number of rows and columns in the table.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
12
Not all ASP pages contain HTML (Hypertext Markup Language)tags.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
13
ASP stands for ____.
A)advanced script page
B)active server page
C)active storage page
D)active solution page
A)advanced script page
B)active server page
C)active storage page
D)active solution page
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
14
A ____ is interactive; it can accept information from the user and also retrieve information for the user.
A)static Web page
B)toolbar
C)dynamic Web page
D)
A)static Web page
B)toolbar
C)dynamic Web page
D)
tag
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
15
A ____ is a computer that contains special software that "serves up" Web pages in response to requests from client computers.
A)Web server
B)client computer
C)browser
D)static Web page
A)Web server
B)client computer
C)browser
D)static Web page
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
16
Before you add any text or controls to a Web page,you should plan the page's layout.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
17
A Web page can have one or more check boxes,but only one check box can be selected.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
18
____ provide a means for a store to list its location and hours.
A)Labels
B)Static Web pages
C)Toolbars
D)Text boxes
A)Labels
B)Static Web pages
C)Toolbars
D)Text boxes
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
19
Radio button list controls and check boxes do not trigger an automatic postback.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
20
One drawback of dynamic Web pages is that they are not interactive.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
21
You can add static text to a Web page using a ____.
A)Web application
B)browser
C)label control
D)format control
A)Web application
B)browser
C)label control
D)format control
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
22
The purpose of the ____ tool is to compare an entry with a constant value or the property stored in a control.
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)CustomValidator
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)CustomValidator
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
23
A(n)____ Web page contains controls with which the user can interact.
A)HTML
B)static
C)ASP
D)dynamic
A)HTML
B)static
C)ASP
D)dynamic
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
24
The toolbox for a Web form provides the ____ tool to group together related radio buttons.
A)CheckBox
B)RadioButtonList
C)Group
D)Post
A)CheckBox
B)RadioButtonList
C)Group
D)Post
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
25
The purpose of the ____ tool is to verify that an entry passes the specified validation logic.
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)CustomValidator
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)CustomValidator
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
26
The Validation section of the toolbox provides several tools for validating user input.The tools are referred to as ____ tools.
A)summary
B)range
C)validator
D)display
A)summary
B)range
C)validator
D)display
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
27
On a Web form,use the check box's ____ property to determine whether a check box is selected or unselected.
A)Selected
B)Checked
C)Focus
D)Changed
A)Selected
B)Checked
C)Focus
D)Changed
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
28
Text that cannot be changed by the user is referred to as ____.
A)static
B)controlled
C)fixed
D)formatted
A)static
B)controlled
C)fixed
D)formatted
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
29
The properties of the RequiredFieldValidator tool are ____.
A)ControlToValidate, ErrorMessage, and ClientValidationFunction
B)ControlToValidate and ErrorMessage
C)ControlToValidate, ErrorMessage, MinimumValue, MaximumValue, and Type
D)ErrorMessage, MinimumValue, MaximumValue, and Type
A)ControlToValidate, ErrorMessage, and ClientValidationFunction
B)ControlToValidate and ErrorMessage
C)ControlToValidate, ErrorMessage, MinimumValue, MaximumValue, and Type
D)ErrorMessage, MinimumValue, MaximumValue, and Type
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
30
You can add an image to a Web page using the ____ tool in the toolbox.
A)Canvas
B)Paint
C)Layer
D)Image
A)Canvas
B)Paint
C)Layer
D)Image
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
31
The purpose of the ____ tool is to verify that a control contains data.
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)RangeValidator
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)RangeValidator
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
32
When displaying a Web page,the ____ view shows the HTML and ASP tags that tell a browser how to render the Web page.
A)Design
B)Source
C)HTML
D)Code
A)Design
B)Source
C)HTML
D)Code
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
33
To have a check box control trigger an automatic postback,change the ____ property from False to True.
A)CheckedChanged
B)SelectedIndexChanged
C)PostBack
D)AutoPostBack
A)CheckedChanged
B)SelectedIndexChanged
C)PostBack
D)AutoPostBack
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
34
A ____ control allows the user to "jump" from one Web page to another.
A)Hyperlink
B)Jump
C)Link
D)Click
A)Hyperlink
B)Jump
C)Link
D)Click
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
35
On a Web form,use the control's ____ property to determine which radio button is selected in a radio button list control.
A)Checked
B)Selected
C)Index
D)SelectedIndex
A)Checked
B)Selected
C)Index
D)SelectedIndex
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
36
A hyperlink control uses the ____ property to allow you to specify the name of the page that will open when a link is clicked.
A)LinkButton
B)NavigateUrl
C)PostBackUrl
D)Name
A)LinkButton
B)NavigateUrl
C)PostBackUrl
D)Name
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
37
A Web page can have one or more ____,and any number of them can be selected at the same time.
A)radio buttons
B)check boxes
C)buttons
D)labels
A)radio buttons
B)check boxes
C)buttons
D)labels
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
38
The purpose of the ____ tool is to verify that an entry is within the specified minimum and maximum values.
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)RangeValidator
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)RangeValidator
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
39
The purpose of the ____ tool is to verify that an entry matches a specific pattern.
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)RangeValidator
A)CompareValidator
B)RegularExpressionValidator
C)RequiredFieldValidator
D)RangeValidator
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
40
Radio button list controls and check boxes do not trigger an automatic ____ when clicked.
A)update
B)refresh
C)postback
D)close
A)update
B)refresh
C)postback
D)close
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
41
Describe what happens when a user clicks the Submit button on a Web page.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
42
Explain how Radio button list controls and check boxes can trigger an automatic postback.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
43
Write the statement that determines whether the chkDiscount control is selected?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
44
Describe the difference between the Design view and the Source view of a Web page in the IDE.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
45
Describe the difference between grouping together related radio buttons on a Windows form versus a Web form.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
46
If you want to verify that the prescription number,first name,and last name text boxes contain data,use the ____ tool.
A)CompareValidator
B)RangeValidator
C)RequiredFieldValidator
D)TextFieldValidator
A)CompareValidator
B)RangeValidator
C)RequiredFieldValidator
D)TextFieldValidator
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
47
To allow users to go from the Healthgoods web page to look up information about medications on the WebMD web page you should add a _____ control.
A)Jump
B)Load
C)Link
D)Hyperlink
A)Jump
B)Load
C)Link
D)Hyperlink
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
48
Describe the four-step process involved in a client computer accessing ASP pages on a Web server.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
49
The user will enter the prescription number,first name,last name,and date to pick up the filled prescription.Which of the following controls do you need to provide on the Web page?
A)text box
B)label
C)button
D)all of the above
E)b and c
A)text box
B)label
C)button
D)all of the above
E)b and c
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
50
What is the difference between a static Web page and a dynamic Web page?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
51
List the names of 3 popular browsers.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
52
You need to develop a dynamic Web page that displays a picture of the French flag and allows a user to enter an English word.The application will return the French translation for the word.List the controls,not including static text for the name of the application,that you should place on the Web page.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
53
Explain how buttons on a web page,like the Calculate button or the Submit button,are different from radio buttons and check boxes when sending information to the server for processing.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
54
List the six validator tools available in the Validation section of the toolbox that are used for validating user input.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
55
The name of the pharmacy should appear in the web page's tab when the web page appears in the browser window.This is done by changing the pages's ____ property to Healthgoods Pharmacy.
A)Title
B)Name
C)Tab
D)Heading
A)Title
B)Name
C)Tab
D)Heading
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
56
Write the If statement that determines whether the first radio button in the rblOptions control is selected.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
57
The current Web site contains static Web pages only.You will be adding a dynamic Web page that allows users to enter information related to their prescriptions.What is the first step in the process of developing the new dynamic Web page?
A)Select Add New Item from the WEBSITE menu to add the Web page.
B)Plan the Web page layout.
C)Type the static text on the Web page.
D)Add the label and text controls to the Web page.
A)Select Add New Item from the WEBSITE menu to add the Web page.
B)Plan the Web page layout.
C)Type the static text on the Web page.
D)Add the label and text controls to the Web page.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
58
List the two methods for starting a Web application in Visual Studio.What happens when a Web application is started?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
59
Write the statement that displays the words "ABC Company" as a heading on a Web page.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
60
What two properties should you specify for the RequiredFieldValidator?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck