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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
The \_\_\_\_ procedure converts a string to all lowercase.
A: LowerCase 
B: TrimLower 
C: Lower 
D: ToLower
A

D: ToLower

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
The \_\_\_\_ procedure converts a string to all uppercase.
A: ToUpper 
B: UpperCase 
C: ConvertUpper 
D: StringUpper
A

A: ToUpper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
The prefix for the CompareValidator object is \_\_\_\_.
A: cpv 
B: cpr 
C: cmv 
D: cva
A

C: cmv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
You place objects on the Web form using a \_\_\_\_.
A: ObjectBox 
B: Toolbox 
C: palette 
D: category box
A

B: Toolbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
The prefix for a Calendar object name is \_\_\_\_.
A: cld 
B: cal 
C: clr 
D: cdr
A

A: cld

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
A \_\_\_\_ Web page reacts to the data a user enters.
A: dynamic 
B: static 
C: server 
D: client
A

A: dynamic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
Q
The RangeValidator control uses the prefix \_\_\_\_ in its name.
A: rvr 
B: rvd 
C: rgv 
D: ran
A

C: rgv

25
Q
The \_\_\_\_ control lets you display validation error messages in a single location.
A: ErrorSummary 
B: ValidationLocation 
C: ValidationSummary 
D: SummaryLocation
A

C: ValidationSummary

26
Q
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
A

D: Web server

27
Q
A(n) \_\_\_\_ is basically defined as a nondisplaying page. 
A: auto page 
B: browser 
C: standard page 
D: master page
A

D: master page

28
Q
Which of the following properties of the RangeValidator control contains the largest value in the range?
A: UpperRangeLimit 
B: MaxControl 
C: UpperLimit 
D: MaximumValue
A

D: MaximumValue

29
Q
Which of the following is the prefix used for the ValidationSummary object?
A: vsy 
B: val 
C: vls 
D: vsm
A

D: vsm

30
Q
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

A: client-side

31
Q
The master page specifies which of the following? 
A: Text 
B: Color 
C: Layout 
D: All of the above
A

D: All of the above

32
Q
The prefix used for the RequiredFieldValidator is \_\_\_\_.
A: rfd 
B: req 
C: rqv 
D: rfv
A

D: rfv

33
Q
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
A

C: HTML component

34
Q
When you name a CheckBox object, you should include the \_\_\_\_ prefix in its (ID) property.
A: ckb 
B: cbx 
C: chk 
D: chb
A

C: chk

35
Q

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

A: drag the Image object from the Toolbox to the Web form

36
Q
You can use the \_\_\_\_ property to determine the number of characters in a particular string.
A: Number 
B: Length 
C: Count 
D: String
A

B: Length

37
Q
The \_\_\_\_ object allows a user to select from several options and to choose more than one.
A: PictureBox 
B: CheckBox 
C: ListBox 
D: RadioBox
A

B: CheckBox

38
Q
The prefix for the name of a DropDownList object in Visual Basic is \_\_\_\_.
A: drl 
B: dnl 
C: dpl 
D: ddl
A

D: ddl

39
Q
The \_\_\_\_ control confirms whether the user entered data that matches standard formats.
A: RegularExpressionValidator 
B: FormatValidator 
C: MatchFormatValidator 
D: StandardFormatValidator
A

A: RegularExpressionValidator

41
Q
When creating a Web form, you name objects using the \_\_\_\_ property.
A: Name 
B: Title 
C: ID 
D: ASP
A

C: ID

42
Q
A \_\_\_\_ is used to organize Web site content into colums. 
A: URL 
B: PictureBox 
C: table 
D: thumbnail
A

C: table

43
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

43
Q
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
A

B: active server page

44
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

45
Q
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
A

D: Formatting

46
Q
The \_\_\_\_ procedure removes spaces from the beginning and end of a string.
A: Concatenate 
B: Cut 
C: Trim 
D: Space
A

C: Trim

47
Q
Which of the following validation controls is used to determine whether an object is empty?
A: ErrorMessage 
B: EmptyFieldValidator 
C: RequiredFieldValidator 
D: CheckFieldValidator
A

C: RequiredFieldValidator

49
Q
An Image object needs a(n) \_\_\_\_ to specify where the picture resides.
A: ASP 
B: URL 
C: HTML 
D: NET
A

B: URL

50
Q

Click on the _______ _______ when done filling form with information

A

submit button