Professional Documents
Culture Documents
Submitted by
Submitted to
II: TASKS
Instructions:
■ Perform each of the following instructions given in each section.
■ Use letter-sized white paper. Use the prescribed document template.
■ Copy the problem for each item; show the complete solution, and box your final
answers/
■ Write legibly and organize your works.
■ Follow the guidelines in scanned works. Scan your work using the recommended tool --
please see guidelines here on how to scan and submit hand-written works.
I: Formulate pseudocode and draw the flowchart for the following computational problems.
3. Create a simple application to compute the estimated tuition fee. The user shall input
the number of units of lecture (unit_lec) and lab (unit_lab) respectively. A lecture
unit costs around 1700.00 and a laboratory unit cost around 1850.00. Sub tuition fee
(sub_tfee) is the sum of lecture and laboratory tuition fees. Aside from these fees,
students shall also pay laboratory fees (lab_fee) which cost 10% of the laboratory
sub-tuition fee if the number of total laboratory units is less than 6, otherwise, the
laboratory will be charged at 8%. The miscellaneous fee (misc_fee) shall also be
charged to the students at a fixed rate of 850.00.
Total tuition fees (total_tuition) can be computed as the combined lecture tuition
fee, laboratory tuition fee, laboratory fee, and miscellaneous fee. The students have two
payment options: CASH (1) with a 10% discount on the total and INSTALLMENT (2) with
an additional 3% charge of the total tuition fee. Display final tuition fee (final_fee).
Challenge: Create a simple guessing game. The computer will generate a random number and
the player will be given a chance to guess it. If the user guesses it correctly, the computer shall
put a congratulatory message. Otherwise, the computer shall provide a hint of whether
“higher” or “lower”. The game will continue to execute until the player guesses it right. Display
the number of guesses the player made at the end of the program.
***Nothing Follows***
*