RICHFIELD GRADUATE INSTITUTE OF TECHNOLOGY (PTY) LTD
HIGHER EDUCATION AND TRAINING
                                 FACULTY OF INFORMATION TECHNOLOGY
                                          SOFTWARE DEVELOPMENT 500
                                       1ST SEMESTER NATIONAL FINAL EXAMINATION
DURATION: 2 HOURS                                     MARKS: 100                                DATE: 21 NOVEMBER 2019
EXAMINER: REASON KATSANGU                                                           MODERATOR: AJITH RAMPURSAD
                          This paper consists of 5 questions and 8 pages including this page.
PLEASE NOTE THE FOLLOWING:
1) Ensure that you are writing the correct examinations paper, and that there are no missing pages.
2) You are obliged to enter your student details on the answer booklet. The answer booklets provided are
the property of the Richfield Graduate Institute of Technology and all extra booklets must be handed to
the invigilator before you leave the examination room.
3) If you are found copying or if there are any documents / study material in your possession, or writing on
parts of your body, tissue, pencil case, desk etc., your answer booklet will be taken away from you and
endorsed accordingly. Appropriate disciplinary measures will be taken against you for violating the code of
conduct of Richfield Graduate Institute of Technology Examinations Board. Therefore, if any of these
materials are in your possession you are requested to hand these over to the invigilator before the official
commencement of this paper.
4) The question paper consists of 3 sections.
   a. Sections A, B and C are compulsory.
   b. Section D comprises of 2 questions, you are required to answer only 1 question.
                              SUGGESTED TIME REQUIRED TO ANSWER THIS QUESTION PAPER
         NUMBERS                   QUESTIONS                MARKS                 TIME IN MINUTES
                                  SECTION A: MULTIPLE CHOICE QUESTIONS COMPULSORY
                  1                   Question One                              30                              30
                                 SECTION B: SHORT QUESTIONS COMPULSORY
                  2            Question Two                  20                     30
                                 SECTION C: CASE STUDY (COMPULSORY)
                  3            Question Three                25                     20
                                 SECTION D: LONG QUESTIONS (ANSWER ONE QUESTION ONLY)
                  4            Question Four                 25                     20
                  5            Question Five                 25                     20
                         TOTAL                              100                     120
 Initiated By         Academic Director                    Dr Stephen Akandwanaho        Document No       Exams/01/2019
 Authorised By        Group Chief Executive Officer       Stefan Ferreira                Revision No       01/2015
 Issuing Office       Head Office – Main Campus           CONTROLLED COPY                Revision Date     01/10/2019
 Document             DS 500                                                             Issue Date        01/10/2019
                                                            Page 1 of 8
                         SECTION A: MULTIPLE CHOICE QUESTIONS                                                    (30 MARKS)
QUESTION ONE
Four alternatives are provided for each of the following questions. Choose the correct alternative for each
of the questions/statements. Write down the question number in your answer book and the alphabet
corresponding to your choice next to the question number.
1.1     The basic operations performed by a computer are                                                                (1)
        A.       Arithmetic operation
        B.       Logical operation
        C.       Storage and relative
        D.       All of the option mentioned
1.2     Microprocessors as switching devices are for which generation computers                                         (1)
        A.     First Generation
        B.     Second Generation
        C.     Third Generation
        D.     Fourth Generation
1.3     The brain of any computer system is                                                                             (1)
        A.      ALU
        B.      Memory
        C.      CPU
        D.      Control unit
1.4     Computer is free from tiresome and boardroom. We call it                                                        (1)
        A.    Accuracy
        B.    Reliability
        C.    Diligence
        D.    Versatility
1.5     Which of the following storage devices can store maximum amount of data?                                        (1)
        A.      Floppy Disk
        B.      Hard Disk
        C.      Compact Disk
        D.      Magneto Optic Disk
      Initiated By     Academic Director                Dr Stephen Akandwanaho   Document No     Exams/01/2019
      Authorised By    Group Chief Executive Officer   Stefan Ferreira           Revision No     01/2015
      Issuing Office   Head Office – Main Campus       CONTROLLED COPY           Revision Date   01/10/2019
      Document         DS 500                                                    Issue Date      01/10/2019
                                                         Page 2 of 8
1.6      A technique used by codes to convert an analog signal into a digital bit stream is known as                (1)
         A.       Pulse code modulation
         B.       Pulse stretcher
         C.       Query processing
         D.       Queue management
1.7      Regarding a VDU, Which statement is more correct?                                                          (1)
         A.      It is an output device
         B.      It is an input device
         C.      It is a peripheral device
         D.      It is hardware item
1.8      Computers with 80286 microprocessor is                                                                     (1)
         A.     XT computer
         B.     AT computers
         C.     PS/2 computer
         D.     None of the options mentioned
1.9      Today’s computer giant IBM was earlier known by different name which was changes in
         1924. What was that name?                                                                                  (1)
         A.       Tabulator Machine Co.
         B.       Computing Tabulating Recording Co.
         C.       The Tabulator Ltd.
         D.       International Computer Ltd.
1.10     What is the responsibility of the logical unit in the CPU of a computer?                                   (1)
         A.       To produce result
         B.       To compare numbers
         C.       To control flow of information
         D.       To do math’s works
1.11     If in a computer, 16 bits are used to specify address in a RAM, the number of addresses will
         be                                                                                                         (1)
         A.        216
         B.        65,536
         C.        64K
         D.        Any of the options
       Initiated By       Academic Director                Dr Stephen Akandwanaho   Document No     Exams/01/2019
       Authorised By      Group Chief Executive Officer   Stefan Ferreira           Revision No     01/2015
       Issuing Office     Head Office – Main Campus       CONTROLLED COPY           Revision Date   01/10/2019
       Document           DS 500                                                    Issue Date      01/10/2019
                                                            Page 3 of 8
1.12     A set of information that defines the status of resources allocated to a process is                        (1)
         A.        Process control
         B.        ALU
         C.        Register Unit
         D.        Process description
1.13     Which of the following is not necessarily a characteristic of a program module?                            (1)
         A.      It performs a single task
         B.      It contains several sub modules
         C.      It is self-contained
         D.      It is relatively small in size
1.14     Which of the following is not a basic control structure?                                                   (1)
         A.      The process
         B.      The Loop
         C.      The decision
         D.      The sequential
1.15     Execution of two or more programs by a single CPU is known as                                              (1)
         A.      Multiprogramming
         B.      Multiprocessing
         C.      Timesharing
         D.      None of the options mentioned
1.16     Flowcharts and Algorithms are used for                                                                     (1)
         A.      Better Programming
         B.      Efficient Coding
         C.      Easy testing and Debugging
         D.      All of the options mentioned
1.17     Pseudo code is also known as                                                                               (1)
         A.      Program Design Language
         B.      Software Language
         C.      Hardware Language
         D.      Algorithm
1.18     The mechanism used to convey information to the function is the                                            (1)
         A.     Argument
         B.     commands
         C.     loops
         D.     statements
       Initiated By       Academic Director                Dr Stephen Akandwanaho   Document No     Exams/01/2019
       Authorised By      Group Chief Executive Officer   Stefan Ferreira           Revision No     01/2015
       Issuing Office     Head Office – Main Campus       CONTROLLED COPY           Revision Date   01/10/2019
       Document           DS 500                                                    Issue Date      01/10/2019
                                                            Page 4 of 8
1.19     Which of the following is not a characteristic of good algorithm?                                          (1)
         A.      Precise
         B.      Finite number of steps
         C.      Ambiguous
         D.      Logical flow of control
1.20     Goto statement is?                                                                                         (1)
         A.       Used to jump the control of program
         B.       Same as switch case statement
         C.       Used for user defined iteration
         D.       None of the options mentioned
1.21     What is the standard terminal symbol for flowchart?                                                        (1)
         A.       Circle
         B.       Parallelogram
         C.       Diamond
         D.       Square
1.22     Common end-of-job module tasks in programs include all of the following except _____.                      (1)
         A.    opening files
         B.    printing totals
         C.    printing end-of-job messages
         D.     closing files
1.23     How many steps are in the program development life cycle (PDLC)?                                           (1)
         A.     4
         B.     5
         C.     6
         D.     10
1.24     Which of the following loop uses three things initialization, condition to terminate loop and
         increasing the value of loop counter?                                                                      (1)
         A.       for
         B.       while
         C.       goto
         D.       switch
       Initiated By       Academic Director                Dr Stephen Akandwanaho   Document No     Exams/01/2019
       Authorised By      Group Chief Executive Officer   Stefan Ferreira           Revision No     01/2015
       Issuing Office     Head Office – Main Campus       CONTROLLED COPY           Revision Date   01/10/2019
       Document           DS 500                                                    Issue Date      01/10/2019
                                                            Page 5 of 8
1.25     In while loop the loop counter must be initialized,                                                        (1)
         A.        Within the loop
         B.        Before entering the loop
         C.        At the end of the loop
         D.        None of the option mentioned
1.26     In which of the following pseudo code instructions are written in the order or sequence in
         which they are to be performed?                                                                            (1)
         A.       Selection Logic
         B.       Sequence Logic
         C.       Iteration Logic
         D.       Looping Logic
1.27     Algorithm is                                                                                               (1)
         A.       step by step execution of program
         B.       Executable file
         C.       Object file
         D.       Source file
1.28     __________ of a variable means the locations within a program from where it can be
         accessed.                                                                                                  (1)
         A.      Data type
         B.      Visibility
         C.      Value
         D.      Reference
1.29     Which of the following is not a reason to use modularization?                                              (1)
         A.      Modularization provides abstraction.
         B.      Modularization allows multiple programmers to work on a problem.
         C.      Modularization allows you to reuse your work.
         D.      Modularization eliminates the need for structure.
1.30     The string in the array is terminated by a_____                                                            (1)
         A.       zero
         B.       nil
         C.       Null
         D.       One
       Initiated By       Academic Director                Dr Stephen Akandwanaho   Document No     Exams/01/2019
       Authorised By      Group Chief Executive Officer   Stefan Ferreira           Revision No     01/2015
       Issuing Office     Head Office – Main Campus       CONTROLLED COPY           Revision Date   01/10/2019
       Document           DS 500                                                    Issue Date      01/10/2019
                                                            Page 6 of 8
SECTION B               (THIS SECTION IS COMPULSORY )                                                                    (20 MARKS)
QUESTION TWO
2.1      Demonstrate your ability of understanding the term modularization and its concepts.
         2.1.1 A decision table is a problem-analysis tool that consists of four parts: Discuss
                  them?                                                                                                         (8)
2.2      Develop a flowchart to represent the logic of a program that allows the user to enter three
         values. The first value represents hourly pay rate, the second represents the number of
         hours worked this pay period, and the third represents the percentage of gross salary that is
         withheld. The program multiplies the hourly pay rate by the number of hours worked,
         giving the gross pay; then, it multiplies the gross pay by the withholding percentage, giving
         the withholding amount. Finally, it subtracts the withholding amount from the gross pay,
         giving the net pay after taxes. The program prints the net pay.
         2.2.1 Draw the Hierarchical diagram                                                                                    (4)
         2.2.2 illustrate the flow chart                                                                                        (4)
         2.2.3 Address the problem by writing the pseudocode for the program.                                                   (4)
SECTION C: CASE STUDY (THIS SECTION IS COMPULSORY)                                                                       (25 MARKS)
 3.1      Richfield has opened a candy company and wants a list of its best-selling items, including
          the item number and the name of candy. Best-selling items are those that sell over R2, 000
          per month. Input records contain fields for the item number (three digits), the name of the
          candy (20 characters), the price per Rands (four digits, two assumed decimal places), and
          the quantity in Rands sold last month (four digits, no decimals).
          3.1.1 Design the output for this program; create either sample output or a print chart.                               (8)
          3.1.2 Draw the flowchart for this program                                                                             (7)
          3.1.3 Demonstrate your understanding by developing the pseudocode for this program.                                  (10)
       Initiated By            Academic Director                Dr Stephen Akandwanaho   Document No     Exams/01/2019
       Authorised By           Group Chief Executive Officer   Stefan Ferreira           Revision No     01/2015
       Issuing Office          Head Office – Main Campus       CONTROLLED COPY           Revision Date   01/10/2019
       Document                DS 500                                                    Issue Date      01/10/2019
                                                                 Page 7 of 8
SECTION D              (ANSWER ONLY ONE QUESTION IN THIS SECTION)                                                         (50 MARKS)
QUESTION FOUR                                                                                                             (25 MARKS)
4.1     Richfield is given a task to develop a system and you are tasked to do it. The system will
        show the output and print report titled Item Sales, with column headings type of item and
        price. Fields printed on output are: type of item and price. After all records print, a footer
        line end of report prints. The input file description is shown below.
        Array name: Items
        FIELD DESCRIPTION: DATA TYPE                 COMMENTS
        Item Type                Character            20 characters
        Item Price              Numerical             2 decimal places
        4.1.1          Illustrate, a hierarchical Diagram.                                                                        (8)
        4.1.2          Show an in-depth understanding by drawing a flow chart Diagram of the program                             (10)
        4.1.3          Develop a Pseudocode of this program                                                                       (7)
QUESTION FIVE                                                                                                             (25 MARKS)
5.1     Draw a flowchart to represent the logic of a program that allows the user to enter a value
        that represents the radius of a circle. The program calculates the diameter (by multiplying
        the radius by 2), and then calculates the circumference (by multiplying the diameter by
        3.14). The program prints both the diameter and the circumference.                                                       (15)
5.2     Write the pseudocode for the same problem.                                                                               (10)
                                                              TOTAL MARKS: 100
      Initiated By            Academic Director                  Dr Stephen Akandwanaho   Document No     Exams/01/2019
      Authorised By           Group Chief Executive Officer     Stefan Ferreira           Revision No     01/2015
      Issuing Office          Head Office – Main Campus         CONTROLLED COPY           Revision Date   01/10/2019
      Document                DS 500                                                      Issue Date      01/10/2019
                                                                  Page 8 of 8