Starting Out With Visual Basic (8th Edition)
Starting Out With Visual Basic (8th Edition)
8th Edition
ISBN: 9780135204658
Author: Tony Gaddis, Kip R. Irvine
Publisher: PEARSON
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 1, Problem 1PC

Carpet Size

You have been asked to create an application for a carpet sales and installation business. The application should allow the user to enter the length and width of a room and calculate the room’s area in square feet. The formula for this calculation is

A r e a = L e n g t h × W i d t h

In this exercise, you will gain practice using Steps 1 through 6 of the programming process described in Section 1.4:

  1. 1. Clearly define what the application is to do.
  2. 2. Visualize the application running on the computer and design its user interface.
  3. 3. Determine the controls needed.
  4. 4. Define the values of each control’s relevant properties.
  5. 5. Determine the event handlers and other code needed for each control.
  6. 6. Create a flowchart or pseudocode version of the code.

Step 1:    Describe the following

characteristics of this application:

Purpose

Input

Process

Output

Step 2:    Draw a sketch of the application’s form and place all the controls that are needed.

Step 3:    Make a list of the controls you included in your sketch. List the control type and the name of each control.

Step 4:    List the value of the Text property for each control, as needed. (Remember, some controls do not have a Text property.)

Step 5:    List each method needed. Give the name of each method and describe what each method does.

Step 6:    For each method you listed in Step 5, draw a flowchart or write pseudocode.

Blurred answer
Students have asked these similar questions
Programming language C# 5. Joe’s Automotive Joe’s Automotive performs the following routine maintenance services: • Oil change—$26.00 • Lube job—$18.00 • Radiator flush—$30.00 • Transmission flush—$80.00 • Inspection—$15.00 • Muffler replacement—$100.00 • Tire rotation—$20.00 Joe also performs other nonroutine services and charges for parts and labor ($20 per hour). Create an application that displays the total for a customer’s visit to Joe’s. The form should resemble the one shown in Figure 6-31. The application should have the following value-returning methods: • OilLubeCharges—Returns the total charges for an oil change and/or a lube job, if any. • FlushCharges—Returns the total charges for a radiator flush and/or a transmis￾sion flush, if any. • MiscCharges—Returns the total charges for an inspection, muffler replacement, and/or a tire rotation, if any. • OtherCharges—Returns the total charges for other services (parts and labor), if any. •…
(In Java) The SalesCenter application stores information about three employees. There is one manager (Diego Martin, salary $55,000), and two associates (Kylie Walter earning $18.50 per hour and Michael Rose earning $16.75 per hour). SalesCenter should be able to display the name and title for a specified employee. Additionally, the SalesCenter application should calculate and display the pay for a specified employee based on the pay argument entered by the user. The pay argument should correlate to hours worked if the pay for an associate is to be calculated. The pay argument for a manager should correlate to the number of weeks the manager is to be paid for. The SalesCenter interface should provide a menu of options. Depending on the option selected, additional input may be needed. Create client code that will generate the following SalesCenter output sketch: Employee/Pay/Quit Enter choice: E Enter employee number(1, 2, or 3): 2 Kylie Walter, associate   Employee\Pay\Quit Enter…
C# Account numbers sometimes contain a check digit that is the result of a mathematical calculation. The inclusion of the digit in an account number helps ascertain whether the number is a valid one. Write an application named CheckDigit that asks a user to enter a four-digit account number and determines whether it is a valid number. The number is valid if the fourth digit is the remainder when the number represented by the first three digits of the four-digit number is divided by 7. For example, 7770 is valid, because 0 is the remainder when 777 is divided by 7. If the account number is valid, output The account number is valid. If the account number is invalid output Invalid. If the account number is too short or too long output Account number invalid - it must have 4 digits.

Chapter 1 Solutions

Starting Out With Visual Basic (8th Edition)

Ch. 1.3 - If a control has the programmer-defined name...Ch. 1.3 - What is the default name given to the first...Ch. 1.3 - Prob. 1.13CPCh. 1.4 - What four items should be identified when defining...Ch. 1.4 - Prob. 1.15CPCh. 1.4 - Prob. 1.16CPCh. 1.4 - Prob. 1.17CPCh. 1.4 - What is pseudocode?Ch. 1.4 - Prob. 1.19CPCh. 1.4 - What is the purpose of testing a program with...Ch. 1.4 - Prob. 1.21CPCh. 1.5 - Prob. 1.22CPCh. 1.5 - Prob. 1.23CPCh. 1.5 - Prob. 1.24CPCh. 1.5 - Prob. 1.25CPCh. 1.5 - What is a ToolTip?Ch. 1 - The job of the _____ is to fetch instructions,...Ch. 1 - Prob. 2FIBCh. 1 - The two general categories of software are _____...Ch. 1 - Prob. 4FIBCh. 1 - Since computers cannot be programmed in natural...Ch. 1 - _____ is the only language computers can process...Ch. 1 - Words that have predefined meaning in a...Ch. 1 - Prob. 8FIBCh. 1 - _____ are characters or symbols that perform...Ch. 1 - Prob. 10FIBCh. 1 - Prob. 11FIBCh. 1 - _____ is data the computer collects from the world...Ch. 1 - Prob. 13FIBCh. 1 - A(n) _____ is a set of well-defined steps for...Ch. 1 - Prob. 15FIBCh. 1 - _____ is human-readable code that looks similar to...Ch. 1 - Prob. 17FIBCh. 1 - Prob. 18FIBCh. 1 - Prob. 19FIBCh. 1 - Prob. 20FIBCh. 1 - Prob. 21FIBCh. 1 - The _____ window allows you to examine and change...Ch. 1 - Prob. 23FIBCh. 1 - Prob. 24FIBCh. 1 - Prob. 25FIBCh. 1 - Prob. 26FIBCh. 1 - Prob. 27FIBCh. 1 - Prob. 28FIBCh. 1 - You can access the full documentation for Visual...Ch. 1 - Prob. 30FIBCh. 1 - What is the difference between main memory and...Ch. 1 - What is the difference between operating system...Ch. 1 - What is an object?Ch. 1 - What is a control?Ch. 1 - Prob. 5SACh. 1 - Prob. 6SACh. 1 - What is an object? What is a control?Ch. 1 - Prob. 8SACh. 1 - Prob. 9SACh. 1 - Prob. 10SACh. 1 - Prob. 11SACh. 1 - Prob. 12SACh. 1 - Prob. 13SACh. 1 - Prob. 14SACh. 1 - Prob. 15SACh. 1 - Prob. 16SACh. 1 - What is pseudocode?Ch. 1 - Prob. 18SACh. 1 - Prob. 19SACh. 1 - Prob. 20SACh. 1 - Prob. 21SACh. 1 - Prob. 22SACh. 1 - What is a ToolTip?Ch. 1 - Prob. 24SACh. 1 - Prob. 25SACh. 1 - Figure 1-30 shows the Visual Studio IDE. What are...Ch. 1 - Are each of the following control names legal or...Ch. 1 - Prob. 2WDTCh. 1 - Prob. 3WDTCh. 1 - The following control names appear in a Visual...Ch. 1 - Carpet Size You have been asked to create an...Ch. 1 - Available Credit A retail store gives each of its...Ch. 1 - Sales Tax Solving the Sales Tax Problem Perform...Ch. 1 - Account Balance Perform Steps 1 through 6 of the...

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
In Problems 1 through 10, find a function y=f(x) satisfying the given differential equation and the prescribed ...

Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis

Computers process data under the control of sets of instructions called

Java How to Program, Early Objects (11th Edition) (Deitel: How to Program)

What are the design issues for character string types?

Concepts of Programming Languages (11th Edition)

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Time Complexity Analysis - How To Calculate Running Time | InterviewBit; Author: InterviewBit;https://www.youtube.com/watch?v=--oxG4Q1PA0;License: Standard YouTube License, CC-BY