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 microsoft visual basic
Questions and Answers of
Programming Microsoft Visual Basic
In this exercise, you will complete the Rectangle Area application that you created in Exercise 4 in Chapter 2.a. Use Windows to copy the Area Solution folder from the VB2017\Chap02 folder to the
In this exercise, you modify the Enrollment application from Exercise 6. Use Windows to make a copy of the Enrolled Solution folder. Rename the folder Modified Enrolled Solution. Open the Enrolled
Open the Enrolled Solution.sln file contained in the VB2017\Chap03\Enrolled Solution folder. The application provides a text box and a button for updating the total number of enrollees. Code the
Open the Orders Solution.sln file contained in the VB2017\Chap03\Orders Solution folder. The interface provides a button for adding the number ordered to the total ordered, and a button for
In this exercise, you will complete the Property Tax application that you created in Exercise 3 in Chapter 2.a. Use Windows to copy the Tax Solution folder from the VB2017\Chap02 folder to the
In this exercise, you will complete the Moonbucks application that you created in Exercise 2 in Chapter 2.a. Use Windows to copy the Moonbucks Solution folder from the VB2017\Chap02 folder to the
In this exercise, you will complete the Jacobson Furniture application from Chapter 2’s Apply the Concepts lesson. The application’s Planning Chart is shown in Figure 3-35. a. Use either a
In this exercise, you will complete the Restaurant Tip application from Chapter 2’s Focus on the Concepts lesson. The application’s Planning Chart is shown in Figure 3-34. a. Use either a
Most of the memory locations declared in an application should be class-level variables.a. True b. False
Which of the following statements declares a procedure-level variable that is removed from the computer’s memory when the procedure ends?a. Const intCounter As Integerb. Dim intCounter As Integerc.
If the decPay variable contains the number 1200.76, which of the following statements displays the number as 1,200.76?a. lblPay.Text = decPay.ToString("N2")b. lblPay.Text = decPay.ToString("F2")c.
A static variable has the same _____________________ as a procedure-level variable but the same _____________________ as a class-level variable.a. Lifetime, scope b. Scope, lifetime
Which of the following statements prevents data loss due to implicit type conversions?a. Option Convert Offb. Option Explicit Onc. Option Implicit Offd. Option Strict On
If Option Strict is set to On, which of the following statements assigns the sum of two Integer variables to the Text property of the lblTotal control?a. lblTotal.Text = (intN1 + intN2).ToStringb.
Which of the following declares a named constant having the Double data type?a. Const dblRATE As Double = 0.09b. Const dblRATE As Doublec. Constant dblRATE = 0.09d. Both a and b.
If Option Strict is set to On, which of the following statements will assign the contents of the txtSales control to a Double variable named dblSales?a. dblSales = txtSales.Textb. dblSales =
When entered in the txtName_Enter procedure, which of the following will select all of the text box’s existing text?a. txtName.SelectAll()b. txtName.SelectAllText()c. SelectAll().txtNamed. None of
Which of the following declares a procedure-level String variable?a. Dim String strCityb. Dim strCity As Stringc. Private strCity As Stringd. Both b and c.
Which of the following statements declares a class-level variable?a. Class intNum As Integerb. Private intNum As Integerc. Private Class intNum As Integerd. Private Dim intNum As Integer
Which of the following can be used to clear the text contained in the lblTax control?a. lblTax = String.Emptyb. lblTax.Text = String.Emptyc. lblTax.ClearTextd. lblTax.Text.Clear
Which of the following statements declares a procedure-level variable that remains in the computer’s memory until the application ends?a. Dim Static intScore As Integerb. Private Static intScore As
Which of the following is a computer memory location whose value does not change during run time?A. LiteralB. Named constantC. Static constantD. Variable
What is the result of the following expression: 3 * 5 \ 2 + 30 / 5?a. 7.5b. 13c. 13.5d. None of the above.
The expression intNum * intNum * intNum is equivalent to which of the following expressions?a. intNum ^ 3b. intNum * 3c. intNum ^ 2 * intNumd. Both a and c.
Which of the following is an invalid name for a variable?a. dbl8%Rateb. decCostc. strNamed. None of the above.
What is the result of the following expression: 96 Mod 30?a. 3b. 3.2c. 6d. None of the above.
What is the result of the following expression: 96 \ 30?a. 3b. 3.2c. 6d. None of the above.
Which flowchart symbol represents a processing task?a. Circleb. Ovalc. Parallelogramd. Rectangle
Open the VB2017\Chap02\FixIt Solution\FixIt Solution.sln file. If necessary, open the designer window. Start the application. Test the tab order and the access keys. End the application and then fix
Create an application that calculates and displays the percentage of the total sales made by each of the following three salespeople: Jim, Karen, and Martin. Before creating your Planning Chart,
Create an application that calculates and displays the percentage of students receiving a grade of P (for Pass) and the percentage of students receiving a grade of F (for Fail). Before creating your
Kramden Inc. pays each of the company’s salespeople the same expense allowance. Create an application that calculates and displays the total cost of these allowances, given both the number of
Create an application that calculates and displays two raise amounts, which are based on an employee’s current salary. The current salary will be entered by the user. The two raise rates are 5% and
Create an application that calculates and displays the area of a rectangle in both square feet and square yards. The user will provide the rectangle’s length and width, both measured in
Create an application that calculates and displays the amount of a homeowner’s property tax. The tax is 1.35% of the property’s assessed value, which will be entered by the user.a. Prepare a
Create a Windows Forms application. Use the following names for the project and solution, respectively: Moonbucks Project and Moonbucks Solution. Save the application in the VB2017\Chap02 folder.
Open the Amlie Solution.sln file contained in the VB2017\Chap02\Amlie Solution folder. If necessary, open the designer window. Organize the interface so that it follows the GUI design guidelines
Listed below are the five steps for planning a Windows Forms application. Put the steps in the proper order by placing a number (1 through 5) on the line to the left of the step._____________________
Define sentence capitalization.
Explain the method for providing keyboard access to a text box.
Which property determines the position of the text inside a label control?a. Alignb. Alignmentc. AlignTextd. TextAlign
Which of the following should have their names changed to more meaningful ones?A. All controls that will be codedB. All controls that will be referred to in codeC. The formD. All of the above.
If a text box’s TabIndex value is 12, its identifying label’s TabIndex value should be _____________________.a. 11b. 12c. 13d. True
Identifying labels typically have their AutoSize property set to _____________________.a. Autob. Falsec. NoSized. True
Label controls that display program output typically have their AutoSize property set to _____________________.a. Autob. Falsec. NoSized. True
Text boxes should have their BorderStyle property set to __________________________.a. BorderSingleb. Fixed3Dc. FixedSingled. None
Identifying labels typically have their BorderStyle property set to ___________________.a. BorderSingleb. Fixed3Dc. FixedSingled. None
Label controls that display program output typically have their BorderStyle property set to _____________________.a. BorderSingleb. Fixed3Dc. FixedSingled. None
How can the user access a button whose Text property contains Clea&r?a. Alt+rb. Ctrl+rc. Shift+rd. Esc+r
What is the ID used for label control names?a. labb. lalc. lbed. None of the above.
What is the id used for text box names?A. TexB. TextC. TxtD. None of the above.
Which of the following controls will provide an area in the form or the user to enter a Name?A. ButtonB. LabelC. Text boxD. All of the above.
Which of the following specifies the letter D as the access key?a. &Displayb. #Displayc. ^Displayd. D&isplay
A control’s access key is specified in which of its properties?a. Accessb. Captionc. Keyd. Text
Which property determines the tab order for the controls in an interface?a. SetOrderb. SetTabc. TabIndexd. TabOrder
Which of the following statements is false?a. The text contained in an identifying label should be left-aligned within the label.b. An identifying label should be positioned either above or to the
A button’s caption should be entered using sentence capitalization.a. True b. False
Open the VB2017\Chap01\FixIt Solution\FixIt Solution.sln file. If necessary, open the designer window. The interface contains a picture box, two buttons, and a label control that displays the price
Create a Windows Forms application. Use the following names for the project and solution, respectively: OnYourOwn Project and OnYourOwn Solution. Save the application in the VB2017\Chap01 folder.
Create a Windows Forms application. Use the following names for the project and solution, respectively: Texting Project and Texting Solution. Save the application in the VB2017\Chap01 folder. a.
If necessary, complete Exercise 3. Use Windows to rename the Jacket Solution folder to Jackets Solution-Modified. Open the Jackets Solution.sln file contained in the VB2017\ Chap01\Jackets
Open the Emoji Solution.sln file contained in the VB2017\Chap01\Emoji Solution folder. If necessary, open the designer window. The interface contains one label control and one button. You can use a
Use Windows to rename the Colors Solution folder to Colors Solution-Modified. Open the Colors Solution.sln file contained in the VB2017\Chap01\Colors Solution-Modified folder. If necessary, open the
Open the Colors Solution.sln file contained in the VB2017\Chap01\Colors Solution folder. If necessary, open the designer window. The interface contains one label control and two buttons. You can use
Create a Windows Forms application. Use the following names for the project and solution, respectively: Jackets Project and Jackets Solution. Save the application in the VB2017\Chap01 folder.a.
If necessary, complete Exercise 1. Use Windows to rename the Florist Solution folder to Florist Solution-Modified. Open the Florist Solution.sln file contained in the VB2017\ Chap01\Florist
Create a Windows Forms application. Use the following names for the project and solution, respectively: Florist Project and Florist Solution. Save the application in the VB2017\Chap01 folder.a.
How do you verify the name of the startup form?
Define the term “syntax.”
What does the dot member access operator indicate in the text System.Windows .Forms.Label?
Explain the difference between a form file and a form.
Explain the difference between a form’s Text property and its Name property.
When you start a windows forms application in the ide, the computer saves the application’s executable (.exe) file in the _____________________ folder.a. Projectb. Project’s binc. Project’s
Which statement terminates an application that contains only one form?a. Me.Close()b. Me.Done()c. Me.Finish()d. Me.Stop()
When two or more controls are selected, how can you tell which one is the reference control?a. The reference control has white sizing handles.b. The reference control has black sizing handles.c. The
Which of the following can be accomplished using the format menu?A. Aligning the borders of two or more controlsB. Centering one or more controls horizontally on the formC. Making two or more
What is the three-character extension appended to solution filenames in Visual Basic?a. .prgb. .slnc. .srcd. .vbs
Which option on the File menu closes the current solution?a. Closeb. Close Allc. Close Solutiond. Exit Solution
When a form has been modified since the last time it was saved, what appears on its tab in the designer window? a. An ampersand (&) b. An asterisk (*) c. A percent sign (%) d.
The text displayed on a button’s face is stored in which property?a. Captionb. Labelc. Named. Text
Which property is used to give a button control a more meaningful name?a. Applicationb. Captionc. Named. Text
Which property is used to disable the Maximize button on a form’s title bar?a. ButtonMaximizeb. Maximizec. MaximizeBoxd. MaximizeButton
Which property determines the initial position of a form when the application is started?a. InitialLocationb. Locationc. StartLocationd. StartPosition
Which property is used to give a form file a more meaningful name?a. Fileb. File Namec. Form Named. Name
Which property controls the text displayed in a form’s title bar?a. Captionb. Textc. Titled. TitleBar
Which of the following is an invalid name for an object?a. picMy.Dogb. btnCalcSalesTaxc. lbl2017d. All of the above are invalid names.
Which window lists the projects and files included in a solution?a. Objectb. Projectc. Propertiesd. Solution Explorer
Which window is used to set the characteristics that control an object’s appearance and behavior?a. Characteristicsb. Objectc. Propertiesd. Toolbox
Each tool in the toolbox represents a class from which an object can be instantiated. a. True b. False
You create your application’s user interface in the _____________________ window in the IDE.a. Designerb. Formc. GUId. Interface
When using an analogy involving a blueprint and a tree house, the _____________________ is the class, and the _____________________ is an object created from it. a. Blueprint, tree house b.
A(n) _____________________ is an environment that contains all of the tools and features you need to create, run, and test your programs.a. GUIb. IDEc. UDEd. User interface
Showing 300 - 400
of 392
1
2
3
4