COMED2 FINAL EXAM
Tuesday, October 19, 2010 - - 0 Comments
please download the file for your final exam.
CLICK HERE
IT403 Final Project
- - 0 Comments
Part I. (I need 3 problems to be solved)
1. Create a program that asks for a distance in kilometers and converts it into metric equivalent.
2. Write a program that will compute and display the midterm grade of a student. The midterm grade is equal to 1/3 of the minor A exam and 2/3 of the minor B exam.
3. Create a program that will input a number in Kilowatt and display its equivalent measure in watts.
4. Make a program that will convert an inputted number in inches and display the equivalent measure in feet.
5. Write a program that inputs two real numbers then exchanges their values.
Part II. (I need 1 problem to be solved)
1. Write a program that finds the smallest among the five integers inputted by the user.
2. Write a program that computes the grade of a student using the formula:
Grade = 40% major exam + 30% average of 2 long exams + 30% average of 3 short quizzes.
Display the average of two long exams, average of 3 short quizzes and the grade of the student. Display also a message whether the student passed or failed. The passing grade is 75%.
3. Write a program that asks the suer for the hours worked for the week and the hourly rate. The basic salary is computed as:
Salary = hours worked * hourly rate
Bonuses are given:
No. of hours > 45 500 peso bonus
No of hours > 40 and <=45 250 peso bonus
No of hours > 35 and <=40 150 peso bonus
Display the basic salary, bonus and the total salary (basic salary + bonus) for the week.
Part III. (I need 1 problem to be solved using the three loops)
1. Write a program that will ask the user to enter a number and display the sum of all numbers from 1 up to the number entered.
2. Write a program that will accept 5 numbers and will display the average of odd and even numbers.