Need today

profilearoojch
hw1.doc

COSC175 Homework #1 – 5 points

Type in Word. Work with a partner and submit one copy per pair.

 

Partner 1: Name _______________________________

Partner 2: Name _______________________________

Please note if one partner did not work on all problems:

1. Describe the SDLC:

a) Include a chart using Smart Art or some other tool

b) Include a description of each step in detail

c) Include security!

d) Indicate (highlight on the chart) what step is being used when we use IPOs

  

Defining the Problem: For each of the following, define the problem by specifying the input and output (use good variable names as described in class) and processing steps in the following format:

 

Input

Processing

Output

 

 

 

 

 

 

 

 

 

 

 

 

 

The processing steps should be very general, i.e. Calculate tax, Print sum, etc. Remember we are doing phase 1 (analysis) only – Defining the Problem. We will solve these problems later. Use the notes as guidelines.

2. Write a program to input the price of an item, the sales tax rate and calculate the total price.

3. A program is required which will receive two numbers, calculate, and display to the screen their sum, difference, product, quotient.

4. Write a program to input three test scores and calculate the average. Print the average.

5. A program is required that will read in a tax rate (as a percentage), tip rate (as a percentage) and the price of three items (use 3 variables). The program is to calculate the total price before tax, the tax payable, bill after tax, tip and total bill. Print all values.