Question 1 (Marks: 25)
Crazy Chicken have designed their own food ordering application which offers customers discounts based on the number of times they have ordered from the takeaway store.

Q.1.1 In terms of the Program Development Life Cycle, in your own words, discuss the phases that will follow now that Crazy Chicken have finished designing the application.

Note: Each phase identified should be described in terms of Crazy Chicken’s context.

Q.1.2 Draw a flowchart that will illustrate how Crazy Chicken’s application will determine the VAT inclusive price (price includes VAT) for an item on the menu that has a VAT exclusive (price excludes VAT) price of R50.

Note: VAT is levied at 15%.

Q.1.3 Crazy Chicken currently has three Point of Sale systems in their store. At the end of each day, the manager would like to know the average sales processed on the day.

Write the pseudocode for Crazy Chicken’s application that will ask the manager to enter each Point-of-Sale System’s total sales for the day and then calculate and display the average sales processed for the day.

Question 2 (Marks: 15)
Read the following short scenario, then answer the question that follows.

As stated before, Crazy Chicken will award their customers discounts based on the number of times they have ordered from the store. The discount for which the customer qualifies is summarised in the table below.

Number of purchases Percentage Discount
0-5 0
6 – 10 10
11 or more 20

Q.2.1 Assume that a customer can capture the number of orders they placed per month for the past year. E.g., in month one they ordered three times, in month two they ordered once, in month three they ordered five times, etc.
Now write the pseudocode that will make use of a loop that asks a user to enter the number of orders they have placed for each month over the past year (12 months).

Calculate and display the total number of orders that were placed by the customer over the past year. Then based on the number of purchases they made; display the percentage discount they qualify for.

Question 3

Write the pseudocode for the following scenario:

A shop owner needs to increase the prices for all his stock by 6% to keep up with inflation. He stores the product names in one array called “Product” which has 5 elements. This array stores the names of the products.

Product Array

Rice Sugar Tea Porridge Milk

He stores the prices of the corresponding items (in Rands) in a parallel array called “Price”.

25.99 22.50 12.00 20.00 18.50

A shop owner needs to increase the prices for all his stock by 6% to keep up with inflation. He stores the product names in one array called “Product” which has 5 elements. This array stores the names of the products.

PRODUCT ARRAY

He stores the prices of the corresponding items (in Rands) in a parallel array called “Price”.

PRICE ARRAY

i.e., Rice – R25.99 Sugar – R22.50 Tea – R12.00
Porridge – R20.00 Milk – R18.50
• Declare and populate both arrays with the product names and their corresponding
prices (use a loop). (9)
• Calculate and add 6% to the existing price for each product. Store the new prices in the
“Price” array. (5)
• Display the product name with the new corresponding prices. (4)
• Write descriptive comments in the pseudocode. (2)

Answers to Above Questions on Programming Logic

Answer 1: An analysis of the given scenario with respect to crazy chicken indicates that the company has designed its own food ordering application, and in designing such application, the following stages of product development life cycle are followed by the company:
1) designing of application: This is the first step that the company should have considered in designing its application which mainly includes the design aspects of the application.
2) development: This stage is also likely to be carried out by the company with includes the actual development of the application on which the food delivery system would be managed.
3) testing: Testing is a compulsory process in designing a new application which includes checking whether the application is performed as expected.

answer

Get assistance in programming logic and design as provided by the assignment help South Africa experts of Student Life Saviour.


Content Removal Request

If you believe that the content above belongs to you, and you don’t want it to be published anymore, then request for its removal by filling the details below. It will only be removed if you can provide sufficient evidence of its ownership.

    March
    January
    February
    March
    April
    May
    June
    July
    August
    September
    October
    November
    December
    2025
    1950
    1951
    1952
    1953
    1954
    1955
    1956
    1957
    1958
    1959
    1960
    1961
    1962
    1963
    1964
    1965
    1966
    1967
    1968
    1969
    1970
    1971
    1972
    1973
    1974
    1975
    1976
    1977
    1978
    1979
    1980
    1981
    1982
    1983
    1984
    1985
    1986
    1987
    1988
    1989
    1990
    1991
    1992
    1993
    1994
    1995
    1996
    1997
    1998
    1999
    2000
    2001
    2002
    2003
    2004
    2005
    2006
    2007
    2008
    2009
    2010
    2011
    2012
    2013
    2014
    2015
    2016
    2017
    2018
    2019
    2020
    2021
    2022
    2023
    2024
    2025
    2026
    2027
    2028
    2029
    2030
    2031
    2032
    2033
    2034
    2035
    2036
    2037
    2038
    2039
    2040
    2041
    2042
    2043
    2044
    2045
    2046
    2047
    2048
    2049
    2050
    SunMonTueWedThuFriSat
    23
    24
    25
    26
    27
    28
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    1
    2
    3
    4
    5
    00:00
    01:00
    02:00
    03:00
    04:00
    05:00
    06:00
    07:00
    08:00
    09:00
    10:00
    11:00
    12:00
    13:00
    14:00
    15:00
    16:00
    17:00
    18:00
    19:00
    20:00
    21:00
    22:00
    23:00