All Matches
Solution Library
Expert Answer
Textbooks
Search Textbook questions, tutors and Books
Oops, something went wrong!
Change your search query and then try again
Toggle navigation
FREE Trial
S
Books
FREE
Tutors
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Ask a Question
Search
Search
Sign In
Register
study help
computer science
programming with microsoft visual basic 2015
Questions and Answers of
Programming with Microsoft Visual Basic 2015
Figure 6-29 shows a problem specification, two illustrations, and two solutions containing loops.a. Will both loops work when Sherri is one or more steps away from the fountain, as shown in
Which of the following control structures are used in flowchart B in Figure 6-28?a. Sequenceb. Selectionc. Repetition T.
Create an application, using the following names for the solution and project, respectively: Barclay Solution and Barclay Project. Save the application in the VB2015\ Chap06 folder. The
In this exercise, you create an application that allows the user to enter the gender (either F or M) and GPA for any number of students. The application’s interface is shown in Figure 6-53. The
Write a Visual Basic assignment statement that updates the decTotal accumulator variable by the value stored in the decSales variable.
Which of the following control structures are used in flowchart A in Figure 6-28?a. Sequenceb. Selectionc. Repetition T.
Create an application, using the following names for the solution and project, respectively: Parking Solution and Parking Project. Save the application in the VB2015\ Chap11 folder. The application
Mills Skating Rink holds a weekly ice-skating competition. Competing skaters must perform a two-minute program in front of a panel of judges. The number of judges varies from week to week. At the end
Write a Visual Basic assignment statement that updates the intTotal counter variable by 3.
Open the VB2015\Chap06\Grade Solution\Grade Solution (Grade Solution.sln) file. Professor Mason wants you to create an application that allows her to assign a grade to any number of students. Each
In this exercise, you modify the Monthly Payment application from this lesson. Use Windows to make a copy of the Payment Solution folder. Rename the copy Modified Payment Solution. Open the Payment
What will the following code display in message boxes?Dim intX As Integer = 1Do MessageBox.Show(intX.ToString) intX = intX + 1Loop Until intX > 5
How many times will the MessageBox.Show method in the following code be processed? For intCount As Integer = 6 To 13 Step 2 MessageBox.Show("Hello") Next intCounta. Threeb. Fourc. Fived. Eight
In this exercise, you modify the Modified Savings Account application from this lesson. Use Windows to make a copy of the Modified Savings Solution folder. Rename the copy Modified Savings
How many times will the MessageBox.Show method in the following code be processed? Dim intCount As Integer Do MessageBox.Show("Hello") intCount += 1 Loop While intCount > 4a. Zerob. Onec. Fourd.
In this exercise, you modify the Savings Account application from this lesson. Use Windows to make a copy of the Savings Solution folder. Rename the copy Savings Solution-Intermediate. Open the
Which of the following statements pauses program execution for one second?a. System.Threading.Thread.Pause(1000)b. System.Threading.Thread.Pause(1)c. System.Threading.Thread.Sleep(1000)d.
Create an application, using the following names for the solution and project, respectively: President Solution and President Project. Save the application in the VB2015\ Chap06 folder. Add the names
Write a Visual Basic Do clause that processes the loop instructions as long as the value in the strName variable is not “Done” (in any case). Use the While keyword. Then rewrite the Do clause
How many times will the MessageBox.Show method in the following code be processed? Dim intCount As Integer Do While intCount > 4 MessageBox.Show("Hello") intCount += 1 Loopa. Zerob. Onec. Fourd.
In this exercise, you modify the Clock application from this lesson. Use Windows to make a copy of the Clock Solution folder. Rename the copy Clock Solution Intermediate. Open the Clock Solution
In this exercise, you modify the application from Exercise 2. Use Windows to make a copy of the Zip Solution folder. Rename the copy Modified Zip Solution. Open the Zip Solution (Zip Solution.sln)
Write a Visual Basic Loop clause that processes the loop instructions as long as the value in the strContinue variable is either Y or y. Use the While keyword. Then rewrite the Loop clause using the
In this exercise, you modify the Savings Account application from this lesson. Use Windows to make a copy of the Savings Solution folder. Rename the copy Savings Solution-Introductory. Open the
In this exercise, you create an application that displays the ZIP code (or codes) corresponding to the city name selected in a list box. The city names and ZIP codes are shown in Figure 6-51. Create
Write a Visual Basic Do clause that stops the loop when the value in the intOrdered variable is greater than the value in the intOnHand variable. Use the Until keyword. Then rewrite the Do clause
Which of the following statements can be used to code a loop whose instructions you want processed 10 times?a. Do...Loopb. For...Nextc. Either a or b
In this exercise, you modify the Clock application from this lesson. Use Windows to make a copy of the Clock Solution folder. Rename the copy Clock Solution Introductory. Open the Clock Solution
In this exercise, you modify the Monthly Payment application from this lesson. Use Windows to make a copy of the Payment Solution folder. Rename the copy Payment Solution-DoLoop. Open the Payment
Write a Visual Basic Do clause that processes the loop instructions as long as the value in the intNum variable is less than or equal to the number 100. Use the While keyword. Then rewrite the Do
Which of the following clauses stops the loop when the value in the intPopulation variable is less than the number 5000?a. Do While intPopulation >= 5000b. Do Until intPopulation < 5000c. Loop
Open the Golf Solution (Golf Solution.sln) file contained in the VB2015\Chap04\Golf Solution-Ex18 folder. Test the application using the data shown in Exercise 17’s Figure 5-39. Modify the code to
Open the Golf Solution (Golf Solution.sln) file contained in the VB2015\Chap04\Golf Solution-Ex17 folder. Test the application using the data shown in Figure 5-39. Modify the code to produce the
Open the VB2015\Chap05\Canton Solution\Canton Solution (Canton Solution.sln) file. Canton Ltd. sells economic development software to cities around the country. The company is having its annual
Explain the meaning of the term desk-checking.
Open the VB2015\Chap05\Jetters Solution\Jetters Solution (Jetters Solution.sln) file. The txtPrice control should accept only numbers, the period, and the Backspace key; code the appropriate
List the four errors commonly made when writing selection structures. Which errors produce the correct results but in a less efficient way?
In this exercise, you modify the Carillo application from Exercise 13. Use Windows to make a copy of the Carillo Solution folder. Rename the copy Modified Carillo Solution. Open the Carillo Solution
What will the code in Figure 5-30 assign to the strStatus variable when the intLevel variable contains the number 1?a. Bronzeb. Goldc. Platinumd. Silver Select Case intLevel Case 1, 2 strStatus =
Open the VB2015\Chap05\Carillo Solution\Carillo Solution (Carillo Solution.sln) file. The txtSales control should accept only numbers, the period, and the Backspace key; code the appropriate
What will the code in Figure 5-30 assign to the strStatus variable when the intLevel variable contains the number 7?a. Bronzeb. Goldc. Platinumd. Silver Select Case intLevel Case 1, 2 strStatus =
Open the VB2015\Chap05\Bonus Solution\Bonus Solution (Bonus Solution.sln) file. Use the Select Case statement to finish coding the Calculate button’s Click event procedure. Use the partial
What will the code in Figure 5-30 assign to the strStatus variable when the intLevel variable contains the number 8?a. Bronzeb. Goldc. Platinumd. Silver Select Case intLevel Case 1, 2 strStatus =
The purpose of this exercise is to demonstrate the importance of testing an application thoroughly. Open the VB2015\Chap05\Debug Solution\Debug Solution (Debug Solution.sln) file. The application
Does the algorithm in Figure 5-37 produce the same results as the solution shown in Figure 5-5 in this lesson? If not, why not?Figure 5-37 Algorithm for Exercise 11 1. shoot the basketball 2. if the
What will the code in Figure 5-30 assign to the strStatus variable when the intLevel variable contains the number 4?a. Bronzeb. Goldc. Platinumd. Silver Select Case intLevel Case 1, 2 strStatus =
This exercise will show you how to generate and display random numbers containing decimal places. Open the Random Double Solution (Random Double Solution.sln) file contained in the
If the blnSenior variable contains the Boolean value False, then the Not blnSenior condition will evaluate to______________________.a. Trueb. False
Does the algorithm in Figure 5-36 produce the same results as the solution shown in Figure 5-5 in this lesson? If not, why not?Figure 5-36 Algorithm for Exercise 1 1. shoot the basketball 2. if the
Which of the following Case clauses is valid in a Select Case statement whose selectorExpression is an Integer variable named intCode?a. Case Is > 7b. Case 3, 5c. Case 1 To 4d. All of the above
In this exercise, you create an application for Sunnyside Products. The application displays the price of an order based on the number of units ordered and the customer’s status (either wholesaler
Which of the following events occurs when a check box is clicked?a. Checkb. Checkedc. CheckedChanged. CheckedChanged
Does the algorithm in Figure 5-35 produce the same results as the solution shown in Figure 5-4 in this lesson? If not, why not?Figure 5-35Figure 5-4 1. shoot the basketball 2. if the basketball did
Create an application, using the following names for the solution and project, respectively: Marshall Solution and Marshall Project. Save the application in the VB2015\ Chap05 folder. Create the
Create an application, using the following names for the solution and project, respectively: Songs Solution and Songs Project. Save the application in the VB2015\Chap05 folder.a. Create the interface
Which of the following If clauses will evaluate to True when the Bonus check box is selected?a. If chkBonus.Check = True Thenb. If chkBonus.Checked Thenc. If chkBonus.Selected = True Thend. If
Does the algorithm in Figure 5-34 produce the same results as the solution shown in Figure 5-4 in this lesson? If not, why not?
What will the code in Figure 5-29 assign to the lblStatus control when the strLevel variable contains the string “3”?a. Bronzeb. Goldc. Platinumd. Silver If strLevel = "1" OrElse strLevel = "2"
Create an application, using the following names for the solution and project, respectively: Kerry Cable Solution and Kerry Cable Project. Save the application in the VB2015\Chap05 folder. Kerry
Shopper Stoppers wants you to create an application that displays the number of reward points a customer earns each month. The reward points are based on the customer’s membership type and total
Open the Movie Ticket Solution (Movie Ticket Solution.sln) file contained in the VB2015\Chap05\Movie Ticket Solution folder. If necessary, open the designer window. Use the If...Then...Else statement
What will the code in Figure 5-29 assign to the lblStatus control when the strLevel variable contains the string “10”?a. Bronzeb. Goldc. Platinumd. Silver If strLevel = "1" OrElse strLevel = "2"
Create an application, using the following names for the solution and project, respectively: MacroTech Solution and MacroTech Project. Save the application in the VB2015\Chap05 folder. Create the
In this exercise, you modify the Treeline Resort application from this lesson. Use Windows to make a copy of the Treeline Solution folder. Rename the copy Modified Treeline Solution. Open the
Rewrite the code from Exercise 5 using the Select Case statement.Data From Exercise 5Write the Visual Basic code that displays the message “Use the Kanton room” when the number of seminar
What will the code in Figure 5-29 assign to the lblStatus control when the strLevel variable contains the string “5”?a. Bronzeb. Goldc. Platinumd. Silver If strLevel = "1" OrElse strLevel = "2"
In this exercise, you modify the application from Exercise 5. Use Windows to make a copy of the Guessing Game Solution folder. Rename the copy Modified Guessing Game Solution. Open the Guessing Game
Willow Hill Athletic Club offers personal training sessions to its members. The sessions are either 30 or 60 minutes in length, and members can sign up to meet either two or three times per week. The
Write the Visual Basic code that displays the message “Use the Kanton room” when the number of seminar participants is at least 75. When the number is 40 through 74, display the message “Use
What will the code in Figure 5-29 assign to the lblStatus control when the strLevel variable contains the string “2”?a. Bronzeb. Goldc. Platinumd. Silver If strLevel = "1" OrElse strLevel = "2"
Create an application, using the following names for the solution and project, respectively: Guessing Game Solution and Guessing Game Project. Save the application in the VB2015\Chap05 folder. The
If the txtAge control is empty, the blnIsOk = Integer.TryParse(txtAge. Text, intAge) statement will store ____________________ in the intAge variable and also assign ____________________ to the
In this exercise, you code an application that allows the user to select one radio button from each of two groups: an English group and a Spanish group. Open the VB2015\ Chap05\Language
Write the Visual Basic code for the algorithm shown in Figure 5-10 in this lesson. The car classification (either S for standard or L for luxury) is stored, in uppercase, in a variable named
What will the code in Figure 5-28 assign to the dblRate variable when the dblSales variable contains the number 1000?a. 0b. 0.05c. 0.1d. 0.15 If db1Sales
Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Concert Solution and Concert Project. Save the application in the VB2015\Chap05 folder.
Which of the following statements generates a random integer from 1 to 25, inclusive?a. intNum = randGen.Next(1, 25)b. intNum = randGen.Next(1, 26)c. intNum = randGen(1, 25)d. intNum =
In this exercise, you modify the Brazilian Tea application from Exercise 2. Use Windows to make a copy of the Tea Solution folder. Rename the copy Modified Tea Solution. Open the Tea Solution (Tea
Which capitalization should be used for the text appearing in check boxes and radio buttons?a. Sentence capitalizationb. Book title capitalizationc. Either book title capitalization or sentence
What is wrong with the algorithm shown in Figure 5-33? 1. shoot the basketball 2. if the basketball went through the hoop say "I did it!" else if the basketball did not go through the hoop say
What will the code in Figure 5-28 assign to the dblRate variable when the dblSales variable contains the number 999.75?a. 0b. 0.05c. 0.1d. 0.15 If db1Sales
Create an application, using the following names for the solution and project, respectively: Zander Solution and Zander Project. Save the application in the VB2015\ Chap05 folder. Create the
In this exercise, you create an application for Brazilian Tea, which sells both hot and iced tea in three different cup sizes. Use the following names for the solution and project, respectively: Tea
Caroline is at a store’s checkout counter. She’d like to pay for her purchase using either her credit card or her debit card, but preferably her credit card. However, she is not sure whether the
What will the code in Figure 5-28 assign to the dblRate variable when the dblSales variable contains the number 0?a. 0b. 0.05c. 0.1d. 0.15 If db1Sales
Create an application, using the following names for the solution and project, respectively: Lottery Solution and Lottery Project. Save the application in the VB2015\ Chap05 folder. Create the
Which of the following statements will hide the picCar control?a. picCar.Hideb. picCar.Hide = Truec. picCar.Invisible = Trued. picCar.Visible = False
In this exercise, you modify the Treeline Resort application from this lesson. Use Windows to make a copy of the Treeline Solution folder. Rename the copy Treeline Solution-Select Case. Open the
What will the code in Figure 5-28 assign to the dblRate variable when the dblSales variable contains the number 459.99?a. 0b. 0.05c. 0.1d. 0.15 If db1Sales
Open the VB2015\Chap05\Riley Solution\Riley Solution (Riley Solution.sln) file. The btnCalc_Click procedure should display the message “Please enter the price.” in a message box when the contents
If the txtPrice control contains the value 75, what value will the Decimal.TryParse(txtPrice.Text, decPrice) method return?a. Falseb. Truec. 75d. 75.00
In this exercise, you learn how to use a text box’s CharacterCasing property. Open the VB2015\Chap04\CharCase Solution\CharCase Solution (CharCase Solution.sln) file.a. Open the Code Editor window
In this exercise, you modify the commission application from Exercise 17. Use Windows to make a copy of the Commission Solution folder. Rename the copy Modified Commission Solution. Open the
Create an application that displays a salesperson’s monthly commission amount, given his or her monthly sales amount and commission ID. Salespeople who have one of the following commission IDs
In this exercise, you modify the Sam’s Paper Shoppe application from Exercise 12. Use Windows to make a copy of the Sam Solution folder. Rename the copy Modified Sam Solution. Open the Sam Solution
Create an application that determines whether a customer is entitled to free shipping when ordering from JimJoe’s Web site. JimJoe’s does not charge shipping on any order when the customer
Create an application that determines whether a customer is entitled to free shipping when ordering from Savannah’s Web site. Savannah’s does not charge shipping when the customer uses his or her
Open the VB2015\Chap04\Debug Solution\Debug Solution (Debug Solution.sln) file. Open the Code Editor window and review the existing code. The btnCalc_Click procedure should calculate a 5% commission
Create an application that displays a salesperson’s annual bonus amount, given his or her annual sales amount. The bonus rate is 10% when the sales amount is at least $25,000; otherwise, the bonus
In this exercise, you learn how to specify the maximum number of characters that can be entered in a text box. Open the VB2015\Chap04\Zip Solution\Zip Solution (Zip Solution.sln) file. Click the
Showing 400 - 500
of 662
1
2
3
4
5
6
7