Deck 2: Designing Applications

Full screen (f)
exit full mode
Question
The number of different colors used on a form should be limited to ____ colors exclusive of black, white, and gray.

A) two
B) three
C) four
D) five
Use Space or
up arrow
down arrow
to flip the card.
Question
A ____ provides an area in the form for the user to enter data.

A) text box
B) label
C) button
D) check box
Question
A control's border is determined by its BorderStyle property.
Question
You should never use a dark color background or a light color font.
Question
A label control used to display output should use which of the following BorderStyle settings?

A) FixedSingle
B) Fixed3D
C) No BorderStyle (None)
D) Sizable
Question
A label control's ____ property determines whether the control automatically sizes to fit its current contents.

A) TextAlign
B) Fit
C) MiddleCenter
D) AutoSize
Question
The last step in planning an OO application is to ____.

A) draw a sketch of the user interface
B) identify the objects to which tasks will be assigned
C) identify the tasks the application needs to perform
D) identify the event required to trigger an object to perform its assigned tasks
Question
Which of the following is the correct sequence of events when designing a solution?

A) Write the code, design the interface, and plan the application.
B) Design the interface, plan the application, and write the code.
C) Plan the application, write the code, and design the interface.
D) Plan the application, design the interface, and write the code.
Question
An instruction that is syntactically correct will also be logically correct.
Question
Most invalid data is a result of typing errors that occur when entering instructions.
Question
In most cases, an identifying label should be from one to three words only and appear on one line.
Question
An access key allows the user to select an object using the ____ key in combination with a letter or number.

A) Shift
B) Tab
C) Alt
D) Backspace
Question
The ____ property of a control is used to specify the position of the text within the control.

A) AlignText
B) Alignment
C) Justify
D) TextAlign
Question
Labels that identify other controls (such as text boxes) should be right-aligned according to Windows standards.
Question
The first step in planning an OO application is to ____.

A) draw a sketch of the user interface
B) identify the objects to which tasks will be assigned
C) identify the tasks the application needs to perform
D) identify the event required to trigger an object to perform its assigned tasks
Question
To test an application, you should use both valid and invalid test data.
Question
You can hide a control on a form while an application is running by changing the Visible property from False to True.
Question
The first step in the planning phase of a programming solution is to sketch the user interface.
Question
The programming process begins with a meeting between the programmer and the client. Which of the following activities would be the last activity in the programming process?

A) Build the user interface.
B) Code the application.
C) Test and debug.
D) Assemble the documentation.
Question
The Windows standard is to use sentence capitalization for identifying labels.
Question
Which of the following symbols is used to place documentation in a program and causes the computer to ignore the remaining content on the line?

A) //
B) /*
C) */
D) '
Question
Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the decimal?

A) txtSalesTax.Text = Format(txtSalesTax, "Percent")
B) txtSalesTax.Text = Format(txtSalesTax, "Fixed")
C) txtSalesTax.Text = Format(txtSalesTax.Text, "Percent")
D) txtSalesTax.Text = Format("Percent", txtSalesTax.Text)
Question
In the mathematical expression 12 / 6 / 2, the answer is ____.

A) 1
B) 2
C) 3
D) 4
Question
In the mathematical expression 4 * 3 + 15 / 3 - 6, which operation is performed first?

A) +
B) -
C) *
D) /
Question
A(n) ____ is a predefined procedure that performs a specific task and then returns a value.

A) algorithm
B) function
C) Sub procedure
D) class
Question
The syntax of the Focus method is ____, where "object" is the name of the object to which you want the focus sent.

A) object.GetFocus()
B) object.SetFocus()
C) object.Focus()
D) object.FocusThis()
Question
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
Your first step in developing the application is to ____.

A) draw a sketch of the user interface
B) meet with the client
C) assemble the documentation
D) plan the application
Question
The ____ method of a control will cause the focus on the screen to move to that control.

A) Focus
B) GoTo
C) HighLight
D) Select
Question
To employ an access key, press and hold down the ____ key as you tap the access key.

A) Scroll
B) Backslash
C) Alt
D) Tilde (˜)
Question
The character used to create an access key by inserting it into a text property is ____.

A) ˜
B) ^
C) &
D).
Question
Short English-like phrases written to represent the steps a program must take to solve a particular problem are called ____.

A) flowcharts
B) pseudocode
C) object code
D) macro code
Question
In Windows applications, pressing the ____ and Tab keys simultaneously will move the focus backward.

A) Shift
B) Ctrl
C) Alt
D) Ctrl+Shift
Question
In the mathematical expression 4 * 3 + 15 / 3 - 6, which operation is performed last?

A) +
B) -
C) *
D) /
Question
The ____ values determine the order in which each control receives the focus.

A) GetFocus
B) PrevControl
C) NextControl
D) TabIndex
Question
The ____ function temporarily converts a string to a number, and then returns the number.

A) Num
B) Number
C) Val
D) Value
Question
If the user enters $20 in the txtPrice control and 4 in the txtQuantity control, the Val(txtPrice.Text) * Val(txtQuantity.Text) expression will evaluate to ____.

A) 0
B) 40
C) 80
D) none of the above
Question
The ____ function can be used to improve the appearance of the numbers displayed on a screen.

A) Arrange
B) Change
C) Display
D) Format
Question
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
How many text boxes do you need for the application?

A) three
B) four
C) five
D) six
Question
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
How many buttons do you need for the application?

A) one
B) two
C) three
D) four
Question
The symbol used in code for assignment is the ____ symbol.

A) ˜
B) ^
C) *
D) =
Question
Describe four GUI design tips that follow the Windows standards for the use of graphics, fonts, and color.
Question
What are sentence capitalization and book title capitalization? How are they used in developing a user interface?
Question
Write a statement that adds the contents of the txtNum1 control to the contents of the txtNum2 control, and then multiplies the result by 5. The result is displayed in the lblResult control.
Question
Complete the Result column in the chart provided.
Complete the Result column in the chart provided.  <div style=padding-top: 35px>
Question
Explain the difference between a string and an empty string. Why would you use an empty string?
Question
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following expression should subtract 10 from the txtPrice control and then multiply the result by .07:
lblSalesTax.Text = Val(txtPrice.Text) - 10 * .07
Question
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following statement should subtract the contents of the txtEndInventory control from the contents of the txtBeginInventory control, and then divide the difference by 2:
Val(txtEndInventory) - Val(txtBeginInventory) \ 2
Question
What is a TOE (Task, Object, Event) chart? Describe how it is created and used in the planning phase of an application.
Question
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
Which of the following statements is true about printing the estimate?

A) You must specify whether the estimate will be sent directly to the printer or to a PrintPreview window.
B) The PrintForm tool displays on the form.
C) The printing task requires only one code statement.
D) You cannot keep the buttons on the interface from appearing on the printed estimate.
Question
What is an access key? What are three reasons access keys should be set in a Windows application?
Question
What is debugging? Explain the difference between a syntax error and a logic error.
Question
What do the TabIndex values determine for the controls of an interface? What is the standard tab order for controls on an interface?
Question
Write a statement that clears the contents of the Text property of the txtLastName control.
Question
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
Which of the following statements would calculate and display the total fee?

A) TotalFee.Text = Val(txtNumberSessions) * Val(txtRate)
B) TotalFee.Text = NumberSessions.Text * Rate.Text
C) lblTotalFee.Text = Val(txtNumberSessions.Text) * Val(txtRate.Text)
D) TotalFee = NumberSessions * Rate
Question
Define the term "flowchart." Define each of the three flowchart symbols and discuss how each is used within a flowchart.
Question
Write a statement that displays the net pay in the lblNetPay control so that it is formatted with a dollar sign and two decimal places.
Question
Explain how the BorderStyle property is used for label controls and text box controls.
Question
List the four steps you should follow when planning an object-oriented application. Be sure to put the steps in the proper numeric order (1 through 4).
Question
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following statements should clear each control:
lblEmpNumber.Txt = String.Empty
lblFirstName = String.""
lblLastName.Text = Empty.String
Question
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following statements should send the output directly to the printer:
PrintForm1.PrintJob = Printing.PrintAction.PrintToPreview
PrintForm2.Print()
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/60
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: Designing Applications
1
The number of different colors used on a form should be limited to ____ colors exclusive of black, white, and gray.

A) two
B) three
C) four
D) five
B
2
A ____ provides an area in the form for the user to enter data.

A) text box
B) label
C) button
D) check box
A
3
A control's border is determined by its BorderStyle property.
True
4
You should never use a dark color background or a light color font.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
5
A label control used to display output should use which of the following BorderStyle settings?

A) FixedSingle
B) Fixed3D
C) No BorderStyle (None)
D) Sizable
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
6
A label control's ____ property determines whether the control automatically sizes to fit its current contents.

A) TextAlign
B) Fit
C) MiddleCenter
D) AutoSize
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
7
The last step in planning an OO application is to ____.

A) draw a sketch of the user interface
B) identify the objects to which tasks will be assigned
C) identify the tasks the application needs to perform
D) identify the event required to trigger an object to perform its assigned tasks
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is the correct sequence of events when designing a solution?

A) Write the code, design the interface, and plan the application.
B) Design the interface, plan the application, and write the code.
C) Plan the application, write the code, and design the interface.
D) Plan the application, design the interface, and write the code.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
9
An instruction that is syntactically correct will also be logically correct.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
10
Most invalid data is a result of typing errors that occur when entering instructions.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
11
In most cases, an identifying label should be from one to three words only and appear on one line.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
12
An access key allows the user to select an object using the ____ key in combination with a letter or number.

A) Shift
B) Tab
C) Alt
D) Backspace
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
13
The ____ property of a control is used to specify the position of the text within the control.

A) AlignText
B) Alignment
C) Justify
D) TextAlign
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
14
Labels that identify other controls (such as text boxes) should be right-aligned according to Windows standards.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
15
The first step in planning an OO application is to ____.

A) draw a sketch of the user interface
B) identify the objects to which tasks will be assigned
C) identify the tasks the application needs to perform
D) identify the event required to trigger an object to perform its assigned tasks
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
16
To test an application, you should use both valid and invalid test data.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
17
You can hide a control on a form while an application is running by changing the Visible property from False to True.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
18
The first step in the planning phase of a programming solution is to sketch the user interface.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
19
The programming process begins with a meeting between the programmer and the client. Which of the following activities would be the last activity in the programming process?

A) Build the user interface.
B) Code the application.
C) Test and debug.
D) Assemble the documentation.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
20
The Windows standard is to use sentence capitalization for identifying labels.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following symbols is used to place documentation in a program and causes the computer to ignore the remaining content on the line?

A) //
B) /*
C) */
D) '
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the decimal?

A) txtSalesTax.Text = Format(txtSalesTax, "Percent")
B) txtSalesTax.Text = Format(txtSalesTax, "Fixed")
C) txtSalesTax.Text = Format(txtSalesTax.Text, "Percent")
D) txtSalesTax.Text = Format("Percent", txtSalesTax.Text)
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
23
In the mathematical expression 12 / 6 / 2, the answer is ____.

A) 1
B) 2
C) 3
D) 4
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
24
In the mathematical expression 4 * 3 + 15 / 3 - 6, which operation is performed first?

A) +
B) -
C) *
D) /
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
25
A(n) ____ is a predefined procedure that performs a specific task and then returns a value.

A) algorithm
B) function
C) Sub procedure
D) class
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
26
The syntax of the Focus method is ____, where "object" is the name of the object to which you want the focus sent.

A) object.GetFocus()
B) object.SetFocus()
C) object.Focus()
D) object.FocusThis()
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
27
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
Your first step in developing the application is to ____.

A) draw a sketch of the user interface
B) meet with the client
C) assemble the documentation
D) plan the application
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
28
The ____ method of a control will cause the focus on the screen to move to that control.

A) Focus
B) GoTo
C) HighLight
D) Select
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
29
To employ an access key, press and hold down the ____ key as you tap the access key.

A) Scroll
B) Backslash
C) Alt
D) Tilde (˜)
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
30
The character used to create an access key by inserting it into a text property is ____.

A) ˜
B) ^
C) &
D).
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
31
Short English-like phrases written to represent the steps a program must take to solve a particular problem are called ____.

A) flowcharts
B) pseudocode
C) object code
D) macro code
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
32
In Windows applications, pressing the ____ and Tab keys simultaneously will move the focus backward.

A) Shift
B) Ctrl
C) Alt
D) Ctrl+Shift
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
33
In the mathematical expression 4 * 3 + 15 / 3 - 6, which operation is performed last?

A) +
B) -
C) *
D) /
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
34
The ____ values determine the order in which each control receives the focus.

A) GetFocus
B) PrevControl
C) NextControl
D) TabIndex
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
35
The ____ function temporarily converts a string to a number, and then returns the number.

A) Num
B) Number
C) Val
D) Value
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
36
If the user enters $20 in the txtPrice control and 4 in the txtQuantity control, the Val(txtPrice.Text) * Val(txtQuantity.Text) expression will evaluate to ____.

A) 0
B) 40
C) 80
D) none of the above
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
37
The ____ function can be used to improve the appearance of the numbers displayed on a screen.

A) Arrange
B) Change
C) Display
D) Format
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
38
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
How many text boxes do you need for the application?

A) three
B) four
C) five
D) six
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
39
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
How many buttons do you need for the application?

A) one
B) two
C) three
D) four
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
40
The symbol used in code for assignment is the ____ symbol.

A) ˜
B) ^
C) *
D) =
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
41
Describe four GUI design tips that follow the Windows standards for the use of graphics, fonts, and color.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
42
What are sentence capitalization and book title capitalization? How are they used in developing a user interface?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
43
Write a statement that adds the contents of the txtNum1 control to the contents of the txtNum2 control, and then multiplies the result by 5. The result is displayed in the lblResult control.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
44
Complete the Result column in the chart provided.
Complete the Result column in the chart provided.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
45
Explain the difference between a string and an empty string. Why would you use an empty string?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
46
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following expression should subtract 10 from the txtPrice control and then multiply the result by .07:
lblSalesTax.Text = Val(txtPrice.Text) - 10 * .07
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
47
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following statement should subtract the contents of the txtEndInventory control from the contents of the txtBeginInventory control, and then divide the difference by 2:
Val(txtEndInventory) - Val(txtBeginInventory) \ 2
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
48
What is a TOE (Task, Object, Event) chart? Describe how it is created and used in the planning phase of an application.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
49
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
Which of the following statements is true about printing the estimate?

A) You must specify whether the estimate will be sent directly to the printer or to a PrintPreview window.
B) The PrintForm tool displays on the form.
C) The printing task requires only one code statement.
D) You cannot keep the buttons on the interface from appearing on the printed estimate.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
50
What is an access key? What are three reasons access keys should be set in a Windows application?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
51
What is debugging? Explain the difference between a syntax error and a logic error.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
52
What do the TabIndex values determine for the controls of an interface? What is the standard tab order for controls on an interface?
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
53
Write a statement that clears the contents of the Text property of the txtLastName control.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
54
Case-Based Critical Thinking Questions Case 1 - BrainPower Tutoring
The owner of BrainPower Tutoring needs an application to calculate and print estimates to provide to potential clients for tutoring services. A tutoring session is a minimum of one hour, and the hourly rate varies based on the subject. The application should allow the owner to enter the client's name, subject, number of tutoring sessions, and hourly rate. The application will display the total fee and allow the owner to print the estimate. You should also provide the ability for the owner to clear the screen and exit the application.
Which of the following statements would calculate and display the total fee?

A) TotalFee.Text = Val(txtNumberSessions) * Val(txtRate)
B) TotalFee.Text = NumberSessions.Text * Rate.Text
C) lblTotalFee.Text = Val(txtNumberSessions.Text) * Val(txtRate.Text)
D) TotalFee = NumberSessions * Rate
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
55
Define the term "flowchart." Define each of the three flowchart symbols and discuss how each is used within a flowchart.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
56
Write a statement that displays the net pay in the lblNetPay control so that it is formatted with a dollar sign and two decimal places.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
57
Explain how the BorderStyle property is used for label controls and text box controls.
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
58
List the four steps you should follow when planning an object-oriented application. Be sure to put the steps in the proper numeric order (1 through 4).
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
59
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following statements should clear each control:
lblEmpNumber.Txt = String.Empty
lblFirstName = String.""
lblLastName.Text = Empty.String
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
60
Problems - Correcting Code Errors
The following statements contain errors. Rewrite the statements to correct all errors.
The following statements should send the output directly to the printer:
PrintForm1.PrintJob = Printing.PrintAction.PrintToPreview
PrintForm2.Print()
Unlock Deck
Unlock for access to all 60 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 60 flashcards in this deck.