Find the information you're looking for at Westonci.ca, the trusted Q&A platform with a community of knowledgeable experts. Join our Q&A platform and connect with professionals ready to provide precise answers to your questions in various areas. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

(1) Design a program that will accept an integer value from the user and display whether the number is
odd or even. (Required: IPO chart, Pseudocode, Flowchart, Mapping Table, C-program and Python)
(2) Design a program to accept a final year student’s GPA and output whether the student has achieved
a First Class Honours. A minimum of 3.45 is required to achieve a First Class Honours. (Required:
IPO chart, Pseudocode, Flowchart, C-program and Python)

(3) Design a program to determine if a student is entitled to an incentive granted upon payment of
his/her Boarding Fee in full. Accept the boarding fee and the amount paid. Output a message stating
whether the incentive will be granted. (Required: IPO chart, Pseudocode, Flowchart, C-program
and Python)

(4) The National Water Service would like you to write a program that monitors the water capacity level
in the Heritage Dam. Accept the current water level in the dam (in million gallons). An emergency
alert message should be displayed if the current level is below 80 million gallons of water, otherwise
the program should output that the level is satisfactory. (Required: IPO chart, Pseudocode,
Flowchart, C-program and Python)

Continuous Assessment 4 2
(5) A distribution company allows small companies to purchase items on credit. Design a program that
will accept the purchase amount of the goods and the amount paid by a company which is
purchasing items on credit. If the remaining balance on the account is less than $10,000, the
company is given a discount of 1%, otherwise no discount is given. Output the balance remaining
and the discount amount. (Required: IPO chart, Pseudocode, C-program and Python)

(6) The organizers for an upcoming band concert plan to offer tickets in two categories – reserved (R)
and general admission (G). Reserved tickets are on sale for $6,500 while general admission is
$7,500. Assume that a group of university students are planning to attend this concert and would
like to purchase tickets for ONE of the categories. Design a program that will accept a character
value for the ticket category and the number of students who would like to attend the concert. The
program should prepare a receipt with the type of ticket, number of students and the total cost
payable for all tickets. Assume valid input. (See above)

(7) Accept a 4-digit number from a user. Your task is to create a simple encrypted corresponding value
of this number. First separate each number into its individual digits. For each individual digit, if the
individual digit is greater than or equal to 5, subtract that value from 9. Output the new value (in its
individual digits) which would now represent the encrypted corresponding value. For example, if the
user entered 5678, the encrypted corresponding value would be 4 2 3 1. (Required: IPO chart,
Pseudocode, C-program and Python)

(8) Using the SEQUENTIAL IF to evaluate a character variable called vacType and print one of the
following messages, depending on its value:
(i) “Cruise”, if the value of vacType is C
(ii) “Hotel”, if the value of vacType is H
(iii) “Flight”, if the value of vacType is F
(iv) “Invalid”, if vacType has any other value.
(Required: Pseudocode, Flowchart, Mapping Table, C-program and Python)