Chapter 7 Flashcards
0
Q
To create a new Web project, click the New Web Site button on the \_\_\_\_. A: Web menu B: Project toolbar C: Main Menu D: Standard toolbar
A
D: Standard toolbar
1
Q
To view a completed DropDownList object, run the application by clicking the \_\_\_\_ button on the Standard toolbar. A: View List B: Start Debugging C: Run Web Page D: Status Test
A
B: Start Debugging
2
Q
The \_\_\_\_ object is used to compare an object's value with another object or a constant. A: CompareValidator B: ConstantValidator C: ValueValidator D: InputValidator
A
A: CompareValidator
3
Q
A \_\_\_\_ object on a Web page usually is provided for data entry. A: DivBox B: DataContainer C: EntryBox D: TextBox
A
D: TextBox
4
Q
The \_\_\_\_ procedure converts a string to all lowercase. A: LowerCase B: TrimLower C: Lower D: ToLower
A
D: ToLower
5
Q
The \_\_\_\_ object is organized by month and displays the number of days in each month. A: Month B: Date C: Calendar D: System
A
C: Calendar
6
Q
Which of the following cannot be used in a Web application filename? A: Spaces B: Numbers C: Reserved words D: None of the above
A
A: Spaces
7
Q
Which of the following properties of the CompareValidator control contains a message stating that the value does not match? A: ErrorMatch B: ErrorMessage C: DisplayMessage D: CompareMessage
A
B: ErrorMessage
8
Q
By default, the Master site has two buttons: \_\_\_\_. A: Home & About B: Master & Site C: Submit & Clear D: Go & Exit
A
A: Home & About
9
Q
The \_\_\_\_ procedure converts a string to all uppercase. A: ToUpper B: UpperCase C: ConvertUpper D: StringUpper
A
A: ToUpper
10
Q
You can use the Calendar object in which of the following types of applications? A: Windows B: Mobile C: Web D: All of the above
A
D: All of the above
11
Q
You specify the title bar text for a Web form using the \_\_\_\_ property. A: Text B: Title C: Display D: Name
A
B: Title
12
Q
The prefix for the CompareValidator object is \_\_\_\_. A: cpv B: cpr C: cmv D: cva
A
C: cmv
13
Q
You place objects on the Web form using a \_\_\_\_. A: ObjectBox B: Toolbox C: palette D: category box
A
B: Toolbox
14
Q
A page displayed in a Web browser that requests data from a user is called a \_\_\_\_. A: Web page B: Web site C: Web form D: Web server
A
C: Web form
15
Q
The prefix for a Calendar object name is \_\_\_\_. A: cld B: cal C: clr D: cdr
A
A: cld
16
Q
Visual Basic 2010 provides a(n) \_\_\_\_ to assist you in designing a Web page. A: ASPX B: Master Site file C: starter template D: layout wizard
A
C: starter template
17
Q
Which of the following properties of the RegularExpressionValidator control allows the user to select the format for the object? A: ControlToFormat B: FormatToValidate C: FormatExpression D: ValidationExpression
A
D: ValidationExpression
18
Q
The \_\_\_\_ object is similar to the PictureBox object in a Windows application. A: Graphics B: Position C: Image D: Box
A
C: Image
19
Q
A \_\_\_\_ Web page reacts to the data a user enters. A: dynamic B: static C: server D: client
A
A: dynamic
20
Q
The \_\_\_\_ object allows users to select one item from a predefined list. A: DropDownList B: ListBox C: TextBox D: CheckBox
A
A: DropDownList
21
Q
Which of the following properties of the RangeValidator control contains the name of the object you are validating? A: NameToValidate B: ControlToValidate C: NameValue D: NameOfControl
A
B: ControlToValidate
22
Q
The prefix \_\_\_\_ is used for the RegularExpressionValidator control. A: reg B: rev C: rgv D: rgl
A
B: rev
23
Q
A(n) \_\_\_\_ Web page displays information with no interactivity. A: dynamic B: static C: server-side D: ASP
A
B: static
24
```
The RangeValidator control uses the prefix ____ in its name.
A: rvr
B: rvd
C: rgv
D: ran
```
C: rgv
25
```
The ____ control lets you display validation error messages in a single location.
A: ErrorSummary
B: ValidationLocation
C: ValidationSummary
D: SummaryLocation
```
C: ValidationSummary
26
```
A(n) ____ is a computer that stores Web documents and makes them available to people on the Internet.
A: ASP
B: Client Server
C: Dynamic server
D: Web server
```
D: Web server
27
```
A(n) ____ is basically defined as a nondisplaying page.
A: auto page
B: browser
C: standard page
D: master page
```
D: master page
28
```
Which of the following properties of the RangeValidator control contains the largest value in the range?
A: UpperRangeLimit
B: MaxControl
C: UpperLimit
D: MaximumValue
```
D: MaximumValue
29
```
Which of the following is the prefix used for the ValidationSummary object?
A: vsy
B: val
C: vls
D: vsm
```
D: vsm
30
```
A ____ computer runs the Web browser that requests a Web page from the Web server and displays the page.
A: client-side
B: server-side
C: primary-side
D: browser-side
```
A: client-side
31
```
The master page specifies which of the following?
A: Text
B: Color
C: Layout
D: All of the above
```
D: All of the above
32
```
The prefix used for the RequiredFieldValidator is ____.
A: rfd
B: req
C: rqv
D: rfv
```
D: rfv
33
```
An active server page has which of the following primary components?
A: Windows component
B: Server-side component
C: HTML component
D: All of the above
```
C: HTML component
34
```
When you name a CheckBox object, you should include the ____ prefix in its (ID) property.
A: ckb
B: cbx
C: chk
D: chb
```
C: chk
35
To place an Image object on a form, ____.
A: drag the Image object from the Toolbox to the Web form
B: select Image on the toolbar, then double click Insert
C: click Object on the Insert menu, then click Image
D: all of the above
A: drag the Image object from the Toolbox to the Web form
36
```
You can use the ____ property to determine the number of characters in a particular string.
A: Number
B: Length
C: Count
D: String
```
B: Length
37
```
The ____ object allows a user to select from several options and to choose more than one.
A: PictureBox
B: CheckBox
C: ListBox
D: RadioBox
```
B: CheckBox
38
```
The prefix for the name of a DropDownList object in Visual Basic is ____.
A: drl
B: dnl
C: dpl
D: ddl
```
D: ddl
39
```
The ____ control confirms whether the user entered data that matches standard formats.
A: RegularExpressionValidator
B: FormatValidator
C: MatchFormatValidator
D: StandardFormatValidator
```
A: RegularExpressionValidator
41
```
When creating a Web form, you name objects using the ____ property.
A: Name
B: Title
C: ID
D: ASP
```
C: ID
42
```
A ____ is used to organize Web site content into colums.
A: URL
B: PictureBox
C: table
D: thumbnail
```
C: table
43
```
Which of the following properties of the CompareValidator control contains a message stating that the value does not match?
A: ErrorMatch
B: ErrorMessage
C: DisplayMessage
D: CompareMessage
```
B: ErrorMessage
43
```
The ASP.NET 4.0 technology used with Visual Basic 2010 creates a(n) ____.
A: home server page
B: active server page
C: IIS
D: NET
```
B: active server page
44
```
Which of the following properties of the RangeValidator control contains the name of the object you are validating?
A: NameToValidate
B: ControlToValidate
C: NameValue
D: NameOfControl
```
B: ControlToValidate
45
```
You can change the color of the page by selecting the background color and foreground color tools on the ____ toolbar.
A: Standard
B: Palette
C: Colors
D: Formatting
```
D: Formatting
46
```
The ____ procedure removes spaces from the beginning and end of a string.
A: Concatenate
B: Cut
C: Trim
D: Space
```
C: Trim
47
```
Which of the following validation controls is used to determine whether an object is empty?
A: ErrorMessage
B: EmptyFieldValidator
C: RequiredFieldValidator
D: CheckFieldValidator
```
C: RequiredFieldValidator
49
```
An Image object needs a(n) ____ to specify where the picture resides.
A: ASP
B: URL
C: HTML
D: NET
```
B: URL
50
Click on the _______ _______ when done filling form with information
submit button