C1002 Program Design Term 1 2008 assignment, part 1
Hi! This post is about my C1002 Program Design assignment that I take in Term 1 2008, this post will contain the assignment’s questions only, I will post the answer in the next post.
These are the questions:
Question 1
Scenario
The Post-office in country X still using a manual way of weighting the letters and check whether the senders have paid enough postage. The government wants the mail service to be computerized so the mailing process will be faster.
The proposed system is as follows:
All letters will go through machine A to capture the weight, and the computer will automatically calculate the postage value that the sender supposes to pay. Machine B will scan the value of the stamp and compare the value of the stamp with the required postage value. If the postage value is greater then the stamp’s value, a message will display on the screen so the operator can take action accordingly. This program will display number of letters that the postage are underpaid and paid correctly in the summary before the program end.
Based on above scenario draw a JSP diagram .List down the function and condition involved.
Question 2 [10 marks]
A college has decided on the following guidelines for enrolling students.
Construct a Limited Entry decision table to describe the guidelines:
- If the student’s age is less than 21, and they hold an IDCS qualification,
enroll them for ADCS.
- If the student’s age is less than 21, and they have O level qualifications
with 4 credits, enroll them for IDCS.
- All other students aged less than 21 should take the Entry Test.
- If the student’s age is greater than or equal to 21, and they hold an
IDCS qualification, enroll them for ADCS.
- All other students aged 21 or more should be enrolled for IDCS.
Question 3 [40 Marks]
You are working as an IT Consultant in a local software company. There are 3 info-com students in your department currently doing their internship. You have been assigned to guide them in their internship. They were requesting you to help them in understanding the various stages of System Development Life Cycle (SDLC). With the given case study:
(a) List various stages of System Development Life Cycle [8marks]
(b) Explain each SDLC stages listed in Q3 (a) [32 marks]
Question 4 [35 Marks]
Basically, there are two searching methods available to search a given list of data, they are Linear Search and Binary Search.
(a) Explain these searching methods [12 Marks]
(b) Write out the Linear Search algorithm in pseudocode. [10 Marks]
(c) Write down a sample program for binary search. [10 Marks]
(d) In respect to binary search , Describe “Bubble Sorting”? [3 marks]
To be continued in the next post….
Do you have any comment on this? maybe you have something to ask me or want to discuss with me about this?Or maybe you are IDIC student and taking this module also?
Feel free to use the comment box below (click here if you cannot see the comment box).


