
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:Design a Windows Classic Desktop application and write the code that will execute according to the program requirements in Figure 7-62. Before designing the user interface, create a Use Case Definition. Before writing the
code, create an event planning document for each event in the program.
REQUIREMENTS DOCUMENT
Date:
October 19, 2019
Date Submitted:
Application Title: Body Mass Index (BMI) Calculator with CDC Chart
Purpose:
This Windows Classic Desktop application allows the user to enter a height and
weight and computes the user's body mass index. An interpretation according to CDC
standards is displayed correlating to the BMI value.
Program
Procedures:
The user will enter a height and weight using either the imperial or metric system.
Algorithms,
Processing, and
Conditions:
1. The user first views a Windows application that displays a title, a BMI graphic, a
ListBox object to select the imperial or metric system, and labels to enter information
for the user's height and weight.
2. When the user selects imperial or metric and the height and weight, the Compute
BMI button can be selected.
3. A Sub procedure should be called to handle the imperial and metric BMI calculations
using the following formulas:
BMI = (Weight in Pounds / (Height in Inches Height in Inches)) 703
BMI = Weight in Kilograms / (Height in Meters Height in Meters)
4. Two Function procedures should be called based on the system selected. Each
Function procedure will calculate the BMI and return the Decimal value to the calling
procedure. The original procedure will display the result.
5. According to the CDC, the BMI relates to the following interpretations:
BMI
Weight Status
Underweight
Below 18.5
18.5 – 24.9
Normal Weight
25.0 – 29.9
Overweight
30.0 and Above
Obese
Display a label with the weight status in the original procedure based on the BMI/
Weight Status chart.
1. The result should be calculated to the hundredths place.
2. The input values should be validated by a Try-Catch block.
Notes and
Restrictions:
Comments:
1. An image from the web should be used for the background BMI graphic on both
forms.
2. An opening splash screen should be displayed for two seconds.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 4 steps with 3 images

Knowledge Booster
Similar questions
- During runtime, the visibility of a control on a form is decided by its property, which can be found in the majority of controls at the time of use.arrow_forwardDesign a "Car Rental" Visual C# application, which allows the user to search for and book a car rental. It is required to create a database file that contains at least three related tables, the first of which contains the cars data with the data fields, such as: car ID car type car model quantity on stock cost per day Make up at least five records in the first table and save your database file in the default folder of your project. The second table should contain the customer information, such as: customer ID first name last name telephone number credit card data The third table should contain the bookings data, such as: booking ID car ID customer ID pick-up date drop-off date total cost Please note that you can create more tables as well as add more data fields, if necessary. Your program should contain multiple Windows forms as follows: The first form will enable the user to search for a car rental. If a car rental is selected, the second form may provide more into about the car that…arrow_forwardI need assistance on this C# program if possible please. A dog shelter would like a simple system to keep track of all the dogs that pass through their facility. You are required to make a command line-based dog shelter management application. Your application must allow a user to add, edit, search and view Contacts. The program must have a menu consisting of the following six (6) options: Add dog View all dogs View all available dogs View specific dog Update dog home status Exit Brief descriptions of each option in the menu Menu Item Description Add Dog 1) Asks the user for all the state value information for a dog. 2) Checks if there is space in the array to hold the new dog. 3) Check that the dogId is not already used in the system. 4) Creates a new Dog object and adds it to the array if there is space. If the array is full, print “Sorry… the Shelter is Full!”. Note: All new dogs have no home as yet (foundHome = false). View all dogs This menu option shows…arrow_forward
- 2/ 4 75% Q1 GUI Application Write a python program to create the following GUI :- Income Tax Department INcome Tax Resident Name Anual inceme Resident Ciass r CLASS A C CLASS B C CLASS C Advanteges 5% of Tax r 100 OMR C 1% of income Income Tax Total of advanteges Net Income Calculate Net Income Then after clicking the 'Calculate Net Income' button do the following: - 1) The resident name is mandatory, don't leave it blank show a message in this case 2) Don't Accept negative income, Show an appropriate message. 3) Calculate the income tax according to the following table and display it in its Entry. Class Income Тах Income less than 750 1% of income 7.500 + 2% of income 37.500 + 3% of income 82.500 + 4% of income 750 Income 160 then change its background color to red 4) Calculate the total of advantages and display it in its Entry. 5) Calculate the net income and display it in its Entry according to the following formula: - Net Income Income- Tax + Total of advantages. 6) If you…arrow_forwardChoose below any component that a variable has : value Opointer Cidentifier/name address memory type statementarrow_forwardAll controls' attributes influence whether they display on the form during runtime.arrow_forward
- A module can contain one or more definitions of other modules. Select one: OTrue OFalsearrow_forwardProblem #1: How much should I study outside of class? Issue: Your fellow students liked the previous version of study hour’s application and want to expand it again by adding the features listed below. Minimum Study Hours per Week per Class Grade15 A12 B9 C6 D0 F Project Specifications: The program asks the user their name, employee id, and department. The program also asks the user who they are creating the report for, their employee id, and the department they work in. (hint #1 & 2 are instances of a class – A class must be created and used within the program)The menu driven program has the following options:Determine Hours to StudyDetermine Grade Display Averages and TotalsQuit The user can select any menu option in any order they want. For example:The user can start the program run option A, then option C, then option B, then option D. They restart the program, run option C, then D. They restart the program, run option A, then D. They restart…arrow_forwardDynamic Array Formulas Which of the following statements describes how a Dynamic Array formula is displayed in Excel? OPTIONS: The formula is defined in the source cell and the output spillsfrom the source cell. The input array is defined in the spill area and then copied to the source cell The spill area is defined and then the results of the formula are calculated. The formula is defined in the source cell and then dragged down to fill in the other cells in the arrayarrow_forward
- Like the characteristics of other controls, the presence of a control on a form at runtime is controlled by the control's attributes.arrow_forward// Global constant for calories per minute Constant Real CALORIES_PER_MINUTE = 3.9 // main module Module main() // Local variables Declare Real calories_burned Declare Integer minutes // Set calories burned For minutes = 10 to 30 step 5 Call setCalories(minutes, calories_burned) // display values Call showCalories(minutes, calories_burned) End For End Module // The setCalories module calculates number of calories // from a particular number of minutes. Module setCalories (Integer minutes, Real Ref calories_burned) Declare Real fminutes // some languages require matched type variables for calculations // this expression changes an Integer to a Real type Set fminutes = minutes // variables are now all of the same type Set calories_burned = fminutes * CALORIES_PER_MINUTE End Module // The showCalories module accepts minutes and calories burned // as arguments and displays amounts Module showCalories (Integer minutes, Real calories_burned) Display…arrow_forwardA variable should be used to store the results of an application's calculation. What do you think?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY