2. Mrs. Biftu has been working in Ambo University Woliso Campus as Network Administrator for four years. Last year, Biftu received a 4% raise, which brought her current weekly pay to 9000 ETB. Biftu is scheduled to receive a 3% raise next week. She wants you to write an Algorithm that will display the amount of her new weekly pay.

3. Discuss the concept of Algorithm and list and describe the common steps to be followed in algorithm development during solving a specific random problems:

direction
a. Your algorithm should be written both in pseudocode and flow chart.

b. You have to show each and necessary steps considered to solve each problem

1. Mr. Abdi began his trip from Woliso to Finfinne; he filled his car's tank with gas and reset its trip meter to zero. After travelling 50 KM, Mr. Abdi stopped at a gas station to refuel; the gas tank required 10 gallons. Create an algorithm that Mr. Abdi can use to display his car's gas mileage-the number of Kilometers his car can be driven per gallon of gas-at anytime during the trip.

Algorithm to calculate Mrs. Biftu's new weekly pay:

Pseudocode:
1. Initialize the current weekly pay (CWP) to 9000 ETB
2. Calculate the 3% raise amount (RA) by multiplying the CWP by 0.03
3. Add the raise amount to the CWP to get the new weekly pay (NWP)
4. Display the new weekly pay

Flowchart:
Start -> Initialize CWP -> Calculate RA -> Add RA to CWP to get NWP -> Display NWP -> End

Steps to be followed in algorithm development:

1. Understand the problem: Clearly define the problem and identify the input and output required.

2. Develop a plan: Break down the problem into smaller, manageable steps and determine the logic needed to solve it.

3. Write pseudocode: Use plain language to outline the steps of the algorithm without getting into specific syntax.

4. Draw a flowchart: Visualize the steps of the algorithm using symbols and connectors to represent the flow of logic.

5. Implement in a programming language: Translate the pseudocode into a specific programming language to create a functioning program.

6. Test the algorithm: Run the program with different inputs to ensure it produces the correct output.

For Mr. Abdi's gas mileage algorithm:

Pseudocode:
1. Initialize the initial trip meter reading (ITM) to zero
2. Travel 50 KM
3. Fill the gas tank with 10 gallons
4. Calculate the gas mileage (GM) by dividing the distance traveled by the gallons of gas used
5. Display the gas mileage

Flowchart:
Start -> Initialize ITM -> Travel 50 KM -> Fill gas tank -> Calculate GM -> Display GM -> End

By following these steps and creating a clear algorithm, both Mrs. Biftu and Mr. Abdi can easily solve their specific problems and calculate their new weekly pay and gas mileage accurately.