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
AI Tutor
New
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 create an application that keeps track of cookie sales. Create a Windows Forms application. Use the following names for the project and solution, respectively: Cookies Project
In this exercise, you create an application that keeps track of music boxes. Create a Windows Forms application. Use the following names for the project and solution, respectively: MusicBox Project
In this exercise, you create an application that keeps track of cookie sales. Create a Windows Forms application. Use the following names for the project and solution, respectively: Sales Project and
Open the MusicBox Solution.sln file contained in the VB2017\Chap11\MusicBox Solution-ListBox folder.a. Figure 11-62 shows the Boxes table contained in the VB2017\Chap11\Databases\ MusicBoxes.mdf
Open the Total Cookie Sales Solution.sln file contained in the VB2017\Chap11\Total Cookie Sales Solution folder.a. Figure 11-63 shows the Sales table contained in the CookieSales.mdf file. The table
Open the Utilities Solution.sln file contained in the VB2017\Chap11\Utilities Solution- DataGrid folder.a. Create a SQL Server database named Utilities.mdf.b. Add the Bills table definition shown in
In this exercise, you modify the Utility Expenses application from Exercise 6. Use Windows to make a copy of the Utilities Solution-DataGrid folder. Rename the copy Utilities Solution-Totals.a. Open
Create a Windows Form application for Clancy Boutique. Use the following names for the project and solution, respectively: Clancy Project and Clancy Solution. Save the application in the
In this exercise, you modify one of the Course Information applications created in this chapter’s Apply lesson. Use Windows to make a copy of the Course Info Solution-Total Hours folder. Rename the
In this exercise, you create a two-table SQL Server database. You also create an application that displays the database information in a DataGridView control.a. Create a Windows Forms application.
Create a SQL Server database that contains one table named Homes. The table should contain 10 records, each having five fields. The ID field should be an auto-numbered field. The ZIP code field
In this exercise, you create two Web pages for Meyer’s Purple Bakery: a static page and a dynamic page.a. Use the New Web Site option on the File menu to create a Web Site application named Meyer.
In this exercise, you create a dynamic Web page that calculates the area of a circle. Use the New Web Site option on the File menu to create a Web Site application named Circle. (Be sure to select
In this exercise, you create three static Web pages for The Corner Market. Figures 13-37, 13-38, and 13-39 show the completed pages displayed in Microsoft Edge. Keep in mind that the year displayed
In this exercise, you create two static Web pages for Spa Monique. Figures 13-35 and 13-36 show the completed pages displayed in Microsoft Edge. Keep in mind that the year displayed on your pages
In this exercise, you modify the Adalene Fashions application from Exercise 3. Use Windows to make a copy of the Adalene Solution folder. Rename the copy Adalene Solution-TotalSales. Modify the
Create a Windows Forms application. Use the following names for the project and solution, respectively: Serenity Project and Serenity Solution. Save the application in the VB2017\Chap10 folder.
Create a Windows Forms application. Use the following names for the project and solution, respectively: Glasgow Project and Glasgow Solution. Save the application in the VB2017\Chap10 folder. Create
Create a Windows Forms application. Use the following names for the project and solution, respectively: Parking Project and Parking Solution. Save the application in the VB2017\Chap10 folder. The
In this exercise, you create an application that can be used to calculate the cost of installing a fence around a rectangular area. Create a Windows Forms application. Use the following names for the
In this exercise, you create an application that can be used to estimate the cost of laying sod on a rectangular piece of property. Create a Windows Forms application. Use the following names for the
In this exercise, you modify the application from Exercise 2. Use Windows to make a copy of the Workers Solution folder. Rename the copy Workers Solution-Filename.a. Open the Workers Solution.sln
Create a Windows Forms application. Use the following names for the project and solution, respectively: Vacation Project and Vacation Solution. Save the application in the VB2017\Chap09 folder. a.
Create a Windows Forms application. Use the following names for the project and solution, respectively: Cookies Project and Cookies Solution. Save the application in the VB2017\Chap09 folder.a. Copy
Create a Windows Forms application. Use the following names for the project and solution, respectively: Potter Project and Potter Solution. Save the application in the VB2017\Chap09 folder.a. The
Create a Windows Forms application. Use the following names for the project and solution, respectively: Customer Project and Customer Solution. Save the application in the VB2017\Chap09 folder. a.
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\Chap08 folder.
Create a Windows Forms application. Use the following names for the project and solution, respectively: Adaline Project and Adaline Solution. Save the application in the VB2017\Chap08 folder. Create
Create a Windows Forms application. Use the following names for the project and solution, respectively: Bindy Project and Bindy Solution. Save the application in the VB2017\Chap08 folder. Bindy
The sales manager at Organic Market wants you to create an application that displays the total sales made in each of three regions: the U.S., Canada, and Mexico. The application should also display
Create a Windows Forms application. Use the following names for the project and solution, respectively: Gas Prices Project and Gas Prices Solution. Save the application in the VB2017\Chap08 folder.
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\Chap07 folder.
Which of the following opens the employ.txt file and allows the computer to write new data to the end of the file’s existing data?a. outFile = IO.File.AddText("employ.txt")b. outFile =
Which of the following reads a line of text from a sequential access file and assigns the line (excluding the newline character) to the strText variable?a. inFile.Read(strText)b.
What does the Peek method return when the end of the file is reached?a. –1b. 0c. The last character in the filed. The newline character
Which of the following can be used to determine whether the employ.txt file exists?a. If IO.File.Exists("employ.txt") Thenb. If IO.File("employ.txt").Exists Thenc. If IO.Exists("employ.txt") = True
What type of object is created by the OpenText method?a. Fileb. SequenceReaderc. StreamWriterd. None of the above.
What type of object is created by the AppendText method?a. Fileb. SequenceReaderc. StreamWriterd. None of the above.
The horizontal line in a menu is called _____________________.a. A menu barb. A separator barc. An item separatord. None of the above.
The underlined letter in a menu element’s caption is called _____________________. a. An access keyb. A menu keyc. A shortcut keyd. None of the above.
Which of the following allows the user to access a menu item without opening the Menu?A. An access keyB. A menu keyC. Shortcut keysD. None of the above.
Which of the following is false?a. Menu titles should be one word only.b. Each menu title should have a unique access key.c. You should assign shortcut keys to commonly used menu titles.d. Menu items
The Inventory class contains a Private variable named strId. The variable is associated with the Public ItemId property. An application instantiates an Inventory object and assigns it to a variable
Which of the following statements is false?a. A class can contain only one constructor.b. An example of a behavior is the SetTime method in a Time class.c. An object created from a class is referred
A Private variable in a class can be accessed directly by a Public method in the same class.a. True b. False
To hide one of a class’s members, you declare the member using which of the following keywords?a. Hideb. Invisiblec. Privated. ReadOnly
Which of the following is the name of the Inventory class’s default constructor?a. Inventoryb. InventoryConstructorc. Defaultd. New
Which of the following instantiates an Inventory object and assigns it to the chair variable?a. Dim chair As Inventoryb. Dim chair As New Inventoryc. Dim chair = New Inventoryd. Dim New chair As
The method name combined with the method’s optional parameterlist is called the method’s _____________________. A. Autograph b. Inscription c. Signature d. Statement
A WriteOnly property can be an auto-implemented property.a. True b. False
Which of the following objects connects a database to a DataSet object?a. BindingSourceb. DataBasec. DataGridViewd. TableAdapter
Which type of database stores information in tables composed of rows and columns?A. ColumnarB. RelationalC. SortedD. Tabular
Which key is used to step through code?a. F5b. F6c. F7d. F8
A class contains an auto-implemented property named Title. Which of the following is the correct way for the default constructor to assign the string “Unknown” to thevariable associated with the
Create a Web Site application for Rosette Catering. The interface should allow the user to enter the customer ID, the bride’s name, the groom’s name, and the date of the wedding reception. It
Create an interface that contains a list box with the following 10 items: A1, B1, A2, B2, A3, B3, A4, B4, A5, and B5. Each item represents a seat number in a theater. When the user clicks a list box
Create an interface that contains a list box with the following 18 items: 1A, 1B, 1C, 2A, 2B, 2C, 3A, 3B, 3C, 4A, 4B, 4C, 5A, 5B, 5C, 6A, 6B, and 6C. Each item represents a seat designation on an
The shopping cart application should list the names of 10 different DVDs in a list box and store the associated prices in a one-dimensional array. (Use at least four different prices for the DVDs.)
Create an interface that provides text boxes for entering the following business expenses: lodging, travel, meals, and entertainment. Lodging and travel are 100% tax deductible; meals and
Create an application that can be used to practice adding, subtracting, multiplying, and dividing numbers. The application should display a math problem on the screen and then allow the student to
The High Total game requires two players. The application’s interface should allow the user to enter each player’s name. When the user clicks a button, the button’s Click event procedure should
Create an application that calculates and displays four monthly mortgage payments. The application should use the loan amount and annual interest rate provided by the user, along with terms of 15
Research Visual Basic’s Financial.FV (Future Value) method. Create an application that allows the user to enter the amount a customer plans to deposit in a savings account each month, and whether
Create an application for Filmore’s Fast Food restaurant. The restaurant sells hot dogs for $1.25, hamburgers for $2.50, fish sandwiches for $2.97, fries for $0.99, and fountain drinks for $1.49.
Create an application for Crispies Bagels and Bites. The interface should allow the salesclerk to enter the number of bagels, donuts, and cups of coffee a customer orders. Bagels are 99¢, donuts are
Create an application for Your Special Day Catering. The interface should allow the user to enter the customer ID, the bride’s name, the groom’s name, and the date of the wedding reception. It
Use the Open Web Site option on the File menu to open the FixIt application. Click File, click Save All, and then click Save. Start and then test the application. Close the browser window and then
Create a Web Site application named OnYourOwn. Save the application in the VB2017\Chap13 folder. Plan and design an application of your choice. The only requirement is that the application must
In this exercise, you modify the application from Exercise 2. Use Windows to make a copy of the Market folder. Rename the copy MarketAdvanced. Use the Open Web Site option on the File menu to open
The visual basic code in a web page is processed by which of the following?a. Client computer b. Web server
Which of the following occurs when a user clicks a submit button on a web page?A. BackpostB. ClientpostC. PostbackD. Serverpost
An online form used to purchase a product is an example of which type of web page?a. Dynamic b. Static
The Magazine table contains three fields. The Cost field is numeric. The Code and Name fields contain text.a. Write a SQL SELECT statement that arranges the records in descending order by the Cost
Which of the following will select the SSN field from the PayInfo table and then sort the records in descending order by the SSN field?a. SELECT SSN FROM PayInfo DESCb. SELECT SSN FROM PayInfo ORDER
Which of the following will select the State and Sales fields from the Stores table?a. SELECT State AND Sales FROM Storesb. SELECT State OR Sales FROM Storesc. SELECT State, Sales FROM Storesd.
Which of the following statements retrieves data from the Sales table and stores it in the CompanyDataSet?a. Me.CompanyDataSet.Fill(Me.Sales)b. Me.SalesBindingSource.Fill(Me.CompanyDataSet)c.
Which of the following is an organized collection of related information stored in a computer file?a. Databaseb. Datasetc. Fieldd. Record
Open the VB2017\Chap10\FixIt Solution\FixIt Solution.sln file. The application should calculate an employee’s new salary, which is based on a 5% raise. It should display the new salary with a
Create a Windows Forms application. Use the following names for the project and solution, respectively: Fire Project and Fire Solution. Save the application in the VB2017\Chap10 folder. The
Create a Windows Forms application. Use the following names for the project and solution, respectively: Playground Project and Playground Solution. Save the application in the VB2017\Chap10 folder.
In this exercise, you modify the Grade Calculator application from this chapter’s Apply lesson. Use Windows to make a copy of the Grade Solution folder. Rename the copy Grade Solution-Intermediate.
Open the Palace Solution.sln file contained in the VB2017\Chap10\Palace Solution folder.a. Use Windows to copy the Rectangle.vb file from the VB2017\Chap10 folder to the Palace Project folder. Then,
In this exercise, you modify the Pete’s Pizzeria application from this chapter’s Focus lesson. Use Windows to make a copy of the Pizzeria Solution folder. Rename the copy Pizzeria
The Purchase class contains a ReadOnly property named Tax. The property is associated with the Private dblTax variable. A button’s Click event procedure instantiates a Purchase object and assigns
Two or more methods that have the same name but different parameterlists are Referred to as what type of methods?A. LoadedB. OverloadedC. ParallelD. Signature
A class contains a Private variable named strState. The variable is associated with a Public property named State. Which of the following is the best way for a parameterized constructor to assign the
The Return statement is entered in which statement in a Property procedure?a. Get b. Set
If you need to validate a value before assigning it to a Private variable, you enter the validation code in which block in a Property procedure?a. Assignb. Getc. Setd. Validate
How can an application access the private variables in a class?A. DirectlyB. Using properties created by public property proceduresC. Through private procedures contained in the classD. None of the
The Item class contains a Public method named GetDiscount. The method is a function. An application instantiates an Item object and assigns it to a variable named cellPhone. Which of the following
A constructor is _____________________.A. A function.B. A property procedure.C. A sub procedure.D. Either a function or a sub procedure.
The name of a class file ends with which of the following filename extensions?a. .clab. .clsc. .vbd. None of the above.
Open the VB2017\Chap09\FixIt Solution\FixIt Solution.sln file. Open the Code Editor window and study the existing code. Start the application. Enter Sue and 1000 and then click the Calculate and save
Create a Windows Forms application. Use the following names for the project and solution, respectively: Wedding Project and Wedding Solution. Save the application in the VB2017\Chap09 folder.a.
In this exercise, you will modify the Warren School application from Chapter 8’s Apply the Concepts lesson.a. Open the Warren Solution.sln file contained in the VB2017\Chap09\Warren Solution
Open the Workers Solution.sln file contained in the VB2017\Chap09\Workers Solution folder. The user will enter a name in the txtName control and then click the Add to list button, which should add
Open the Electricity Solution.sln file contained in the VB2017\Chap09\Electricity Solution folder. Open the monthlyBills.txt file. Each of the 12 numbers in the file represents the cost of
If the file to be opened exists, which method erases the file’s contents?a. AppendTextb. CreateTextc. InsertTextd. OpenText
Open the VB2017\Chap08\FixIt Solution\FixIt Solution.sln file. Open the Code Editor window and locate the btnDisplay_Click procedure. The first column in the array contains first names, and the
Research the Visual Basic ReDim statement. What is the purpose of the statement? What is the purpose of the Preserve keyword?a. Open the ReDim Solution.sln contained in the VB2017\Chap08\ReDim
Showing 1 - 100
of 797
1
2
3
4
5
6
7
8