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
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/55
Play
Full screen (f)
Deck 12: Web Applications
1
One drawback of dynamic Web pages is that they are not interactive.
False
2
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
B
3
The Rows property is used to add rows and columns (cells)to a table.
True
4
HTML tags tell the client's browser how to render the page on the computer screen.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
5
You can use the ToShortDateString method to convert the date to the String data type.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
6
You add items to a drop-down list control using the tag.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
7
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 55 flashcards in this deck.
Unlock Deck
k this deck
8
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 55 flashcards in this deck.
Unlock Deck
k this deck
9
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 55 flashcards in this deck.
Unlock Deck
k this deck
10
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 55 flashcards in this deck.
Unlock Deck
k this deck
11
You can use the style attribute's font-family property to specify one or more fonts to use for the Web page's text.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
12
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 55 flashcards in this deck.
Unlock Deck
k this deck
13
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
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
14
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 55 flashcards in this deck.
Unlock Deck
k this deck
15
Not all ASP pages contain HTML (Hypertext Markup Language)tags.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
16
Web controls have a Name property.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
17
____ 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 55 flashcards in this deck.
Unlock Deck
k this deck
18
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 55 flashcards in this deck.
Unlock Deck
k this deck
19
____ 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 55 flashcards in this deck.
Unlock Deck
k this deck
20
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 55 flashcards in this deck.
Unlock Deck
k this deck
21
The ____ tag can be used to break the text on a Web page in a specific location.
A)
B)
C)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following is a valid example of the style attribute's font-family property? 

Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
23
A(n)____ control displays information in a row and column format,similar to a spreadsheet,and is often used to align the information on a Web page.
A) Java table
B) ASP table
C) Web server
D) Web client
A) Java table
B) ASP table
C) Web server
D) Web client
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
24
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 55 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following specifies that LinkColumn should occupy 20% of the Web page and appear as the first column on the left of the Web page? 

Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
26
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 55 flashcards in this deck.
Unlock Deck
k this deck
27
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 55 flashcards in this deck.
Unlock Deck
k this deck
28
Which of the following adds the word "tablet" to the drop-down list control? 

Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
29
A link button 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) PostBackUrl
C) Text
D) Name
A) LinkButton
B) PostBackUrl
C) Text
D) Name
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following is a valid filename for a file that contains the code that supports 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
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
31
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 55 flashcards in this deck.
Unlock Deck
k this deck
32
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 55 flashcards in this deck.
Unlock Deck
k this deck
33
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 55 flashcards in this deck.
Unlock Deck
k this deck
34
To view a Web page in full screen view,you use the Full Screen option on the ____ menu.
A) VIEW
B) FILE
C) EDIT
D) FORMAT
A) VIEW
B) FILE
C) EDIT
D) FORMAT
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
35
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 55 flashcards in this deck.
Unlock Deck
k this deck
36
The Table tool in the Standard section of the toolbox creates a(n)____.
A) HTML tag
B) ASP table control
C) XML tag
D) cell
A) HTML tag
B) ASP table control
C) XML tag
D) cell
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
37
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 55 flashcards in this deck.
Unlock Deck
k this deck
38
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 55 flashcards in this deck.
Unlock Deck
k this deck
39
The ____ tag in a Web page is similar to the ControlChars.NewLine constant in a Windows form.
A)
B)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
40
The ____ tag defines a division in a Web page.
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
41
A drop-down list control has been added to a Web page.Add the following four majors as list items to the control: Information Systems,Accounting,Management,and Marketing.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
42
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) drop-down list
C) button
D) a and c
E) all of the above
A) text box
B) drop-down list
C) button
D) a and c
E) all of the above
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
43
The font for the text in the Web page should display as Verdana,Arial,or an available sans-serif font,respectively.Which of the following style attributes for the font-family property is correct? 

Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
44
What is the difference between a static Web page and a dynamic Web page?
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
45
The content of the Web page should be laid out in a columnar format.Which tag will you use to divide the Web page into columns?
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
46
A drop-down list control has been added to a Web page.Add the following three products as list items to the control: washer,dryer,and refrigerator.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
47
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 55 flashcards in this deck.
Unlock Deck
k this deck
48
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 55 flashcards in this deck.
Unlock Deck
k this deck
49
A Web page allows a user to enter graduation information on a Web page.The user enters his or her first name and last name,selects a major from a drop-down list,and selects a graduation date from a calendar.All data entered by the user is stored as string variables.A message using the string variables should display the information entered as follows:
FirstName LastName
Major: ####
Graduation Date: MM/DD/YYYY
Write the statements to assign the concatenated string to the lblMessage control so that it will display in the appropriate format.Create your own variable names.
FirstName LastName
Major: ####
Graduation Date: MM/DD/YYYY
Write the statements to assign the concatenated string to the lblMessage control so that it will display in the appropriate format.Create your own variable names.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
50
You need to specify the fonts to be used when a Web page displays in the browser.Write the statement that will set Arial and any sans-serif font as the font family for the body of the Web page.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
51
You need to specify the fonts to be used when a Web page displays in the browser.Write the statement that will set Tahoma,Verdana,and Arial as the font family for the body of the Web page.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
52
The date the user selects for the prescription to be filled is stored in the Calendar control's ____ property.
A) ShortDate
B) Date
C) LongDate
D) SelectedDate
A) ShortDate
B) Date
C) LongDate
D) SelectedDate
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
53
A user selects a date using a Calendar control named calGraduation on a Web page.Write the statement to convert the date to the String data type,using the MM/DD/YYYY format,and store it in the strGradDate variable.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
54
Write the statements to create two columns on a Web page based on the following information: The first column is named SiteMap,and it occupies 30% of the page and has a background color of green.The second column is named ContentColumn.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck
55
Write the statements to create three columns on a Web page based on the following information: The first column is named LogoColumn and it occupies 25% of the page.The second column is named MainText and it occupies 50% of the page.It has a background color of blue.The third column is named LinkColumn and it occupies 25% of the page.
Unlock Deck
Unlock for access to all 55 flashcards in this deck.
Unlock Deck
k this deck