You are on page 1of 4

NCC EDUCATION INTERNATIONAL DIPLOMA IN COMPUTER STUDIES PROGRAMMING METHODS MARCH 2012 LOCAL EXAMINATION

SECTION A Answer all questions in this section.

SECTION B Answer any two questions in this section.

Time: 2 hours

Clearly cross out surplus answers. Failure to do this in Section B will result in only the first two answers being marked.

Any reference material brought into the examination room must be handed to the invigilator before the start of the examination.

Programming Methods

March 2012

Final

NCC Education Ltd 2012

SECTION A ANSWER ALL QUESTIONS IN THIS SECTION


Marks QUESTION 1 Explain the difference between Internet and Intranet. 4

QUESTION 2 Define the differences between variable length record and fixed variable length record.

QUESTION 3 Explain association and classification in object oriented programming.

QUESTION 4 Briefly explain File Descriptor and where it is normally stored.

QUESTION 5

Given the following numbers in ascending order. 67, 72, 77, 82, 87, 92, 97 Write a FOR loop pseudo-code to display the numbers.

QUESTION 6 Explain the differences between static and dynamic testing.

QUESTION 7 Define the difference between user documentation and system documentation.

QUESTION 8 Define the difference between abstract class and concrete class.

QUESTION 9 What is the difference between argument and actual parameters in a subroutine? Give an example.

QUESTION 10
State TWO (2) advantages of using CRC (Class, Responsibility, Collaboration) card. 4 Total 40 Marks

Programming Methods

March 2012

Final

NCC Education Ltd 2012

SECTION B ANSWER ANY TWO QUESTIONS


Marks QUESTION 1 a) b) Give SIX (6) ways that help to make a system user-friendly. Draw a flowchart to solve the following problem: Your system must allow the user to input the invoice amount and invoice due date. If the customer settles the invoice after the due date set by the system, the customer needs to pay a 10% fine on top of the original invoice amount. c) 12 10

Explain FOUR (4) reasons for the need of robust and reliable software.

8 Total 30 Marks

QUESTION 2 a) Briefly explain THREE (3) pieces of information contained in the Requirements Analysis document. Draw a class diagram (without attributes and operations) to show the relationships involved in the following specification: A university restricts a full time student from enrolling a maximum of 4 subjects, while a part time student can enrol for a maximum of 2 subjects within a semester. The university also restricts the teaching staff to a maximum of 2 subjects within a semester. c) d) 6

b)

10

List and explain THREE (3) duties of the Database Administrator.


There are FOUR (4) main phases in Unified Process which covers the whole of the software development lifecycle from business case to long term maintenance. Briefly explain the phases.

6 8

Total 30 Marks

Programming Methods

March 2012

Final

NCC Education Ltd 2012

QUESTION 3 a) Given the following mobile chair records and field names: Make ArtWood GreeEarth LGYoung i. ii. Price 69.99 89.99 34.99 Colour Purple Red Yellow Flop Yes Yes No

Marks

Declare a chair record structure chairStruc, with Make, Price, Colour and Flop filed. Declare an array which contains 20 of chair records

3 1 6

iii. Base on your answer in Question 3a)ii), using loop, write a pseudo-code to input 20 records into the array and display the average price. b) c) Explain SIX (6) formatting techniques to consistently format the source code. State EIGHT (8) factors to be considered in problem tracking after implementation.

12 8 Total 30 Marks

Programming Methods

March 2012

Final

NCC Education Ltd 2012

You might also like