|
|||||||
|
|
|
|||||
|
|
|||||||
August
1999 SECTION A [40 Marks] |
Click here to access other
sections Section B Front Cover SUGGESTED SOLUTIONS
|
Answer ALL questions in this section
|
|||||||||||||||||
| 1. | State two design tools that are
used in : (a) system design (b) program design a) Data Flow Diagram/System Run Chart/System Flow Chart b) Jackson Structure Programming/Pseudocode/Decision Table/Program Flowchart
|
[2] [2] |
|||||||||||||||
| 2. | (a) List the four
main activities involved in pre-implementation. (b) List the two main activities involved in post-implementation. a) Release documentation
|
[4] [2] |
|||||||||||||||
| 3. | (a) Who prepares a program specification? (b) Who should carry out a system review at the end of the SDLC? Justify your answer. a) System Analyst /
Senior Programmer
|
[1] [2] |
|||||||||||||||
| 4. | Program development tools can be
grouped into three categories: design tools, development tools and debugging tools. Three
program development tools are described below. Identify each one, and decide which
category it comes from :
|
||||||||||||||||
| (a) This tool allows a programmer
to monitor the execution of a program interrupting whenever desired, so as to enable the
contents of storage locations to be examined or changed. interactive / dynamic debugger: debugging tool
|
[2] | ||||||||||||||||
| (b) This tool is used to help
design screen layouts for on-line systems, which it can then convert into code. screen formatter: design tool
|
[2] | ||||||||||||||||
| (c) This tool can be used to
support prototyping. The tool user specifies the various inputs needed and their valid
ranges, and the tool will produce the data validation checks. application program generator: development tool
|
[2] | ||||||||||||||||
| 5. | For each of the following
statements, indicate whether they are True or False:
|
[5] | |||||||||||||||
| (a) Dry run is one method of
off-line testing. True
|
[1] | ||||||||||||||||
| (b) During software reviews, the
programmer is also being evaluated. False
|
[1] | ||||||||||||||||
| (c) The factors that affect the
software quality can be categorized as either tangible or intangible factors. True
|
[1] | ||||||||||||||||
| (d) All programs must always
achieve absolute correctness during program testing. False
|
[1] | ||||||||||||||||
| (e) Transaction files and
direct-access are two types of Data Processing Files. False
|
[1] | ||||||||||||||||
| 6. | Complete the following sentences
by choosing words from the following list:
(a) BASIC is a suitable language for teaching programming to beginners. (b) C was created for the UNIX system. (c) In commercial areas, COBOL is used as it offers strong file-handling capabilities. (d) Many AI applications are written in LISP . (e) C++ is an example of an object-oriented language. (f) JCL is used to instruct an OS on job requirements.
|
[6] | |||||||||||||||
| 7. | At InfoExperts Computer School,
students are awarded a diploma if they pass both coursework and examination. If they fail
the coursework, they are categorized under 'reunit' status. If the pass the coursework but
fail the examination, they are categorized under 'refer' status. Complete the following decision table based on this information.
|
[4] | |||||||||||||||
| 8. | For each of the following
programming errors, state whether they are syntax, semantic,logic or runtime errors:
|
||||||||||||||||
| (a) num = num + 1, where num is a
constant. semantic
|
[1] | ||||||||||||||||
| (b) reading from a file that is
not open. runtime
|
[1] | ||||||||||||||||
| (c) a loop that executes an extra
step. logic
|
[1] | ||||||||||||||||
| (d) passing the wrong parameter to
a procedure. logic
|
[1] | ||||||||||||||||
| (e) including a space in a
variable name declaration. syntax
|
[1] | ||||||||||||||||
| (f) a user inputs a character to a
variable that is expecting an integer. runtime
|
[1] |