Starting Out With Visual Basic (7th Edition)
Starting Out With Visual Basic (7th Edition)
7th Edition
ISBN: 9780134400150
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
GPA Calculator Students are concerned about their GPA. They need to calculate it accurately every semester to monitor their progress. Develop a GPA calculator that follows the AOU regulations (AOU-OU Grade Scale) using C# programming language. The application asks the student to enter his numeric grade of each course and the course's credit hours. Accordingly, the application calculates the student's GPA after converting the numeric grade to letter grade. The GPA calculation should produce floating-point results. Display the results rounded to the nearest hundredth. You should store the letter grades of all student's courses in an array. The final grade of the student should be also calculated. Sample I/O Enter the course grade (-1 to end): 93 Enter the course credit hours: 3 Enter the course grade (-1 to end): 74 Enter the course credit hours: 2 Enter the course grade (-1 to end): 60 Enter the course credit hours: 3 Enter the course grade (-1 to end): -1 The grades of your courses…
99 question   Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below:   Step 1: Enter the ticket number; for example 123454   Step 2: Remove the last digit, leaving 12345   Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4.   Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and.
PYTHON PROGRAMMING Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below:   Step 1: Enter the ticket number; for example 123454   Step 2: Remove the last digit, leaving 12345   Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4.   Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and continue to loop your program…

Chapter 1 Solutions

Starting Out With Visual Basic (7th 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
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
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