Archive

Posts Tagged ‘C1002’

Done posting all IDIC assignments! yay!

February 4th, 2009

Finally! I’m done posting all the assignments that I get in my IDIC (International Diploma in Computing) course that I take in Informatics Computer School Singapore during Term 3 2007 until Term 1 2008.
The assignments that I have uploaded are for these modules:

Term 3 2007:

  1. C1006 Computer Networks
  2. C1025 Structured Query Language (SQL)
  3. C1003 Mathematics for Computing
  4. C1004 HTML & Java script

Term 1 2008:

  1. C1001 – Computers and Information Processing
  2. C1002 – Program Design
  3. C1005 – C Programming
  4. C1022 – Introduction to Java

Now, since I have done posting my assignments in IDIC, I will start to post my assignments for International Advanced Diploma in Computing (IADIC). So stay tuned! you can subscribe to my blog’s feed by clicking here so you won’t miss when the new post is published :D

See you later!! :D

admin Education, IDIC, Informatics , , , , , , , , ,

C1002 Program Design Term 1 2008 assignment, part 2 final

February 1st, 2009

This is the second part of my C1002 Term 1 2008 assignment, this post will contain my answer, while you can see the questions in the previous post.

Answer for question 1

JSP diagram:

jsp

Function List:

1.      Initialize variables

2.      Get the first letter

3.      Capture the weight of the letter

4.      Calculate postage value

5.      Scan the stamp’s value

6.      Send letter

7.      Increase “paid letter” counter

8.      Reject letter

9.      Increase “underpaid letter” counter

10.  Print output for current letter

11.  Get next letter

12.  Output Summary

13.  End Program

Condition List:

1.      C1 = Letter box not empty

2.      C2 = Stamp value >= Postage value

Answer for question 2

Decision table for the college:

a)      List of Conditions:

i.        Student age less than 21.

Click here to read the full post…

admin Education, IDIC, Informatics , , ,

C1002 Program Design Term 1 2008 assignment, part 1

February 1st, 2009

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.

Click here to read the full post…

admin Education, IDIC, Informatics , , ,

Bad Behavior has blocked 205 access attempts in the last 7 days.

Bad Behavior has blocked 205 access attempts in the last 7 days.