Preview

Ebusiness

Satisfactory Essays
Open Document
Open Document
621 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Ebusiness
SOFTWARE DEVELOPMENT TECHNIQUES

SAMPLE
Examination Paper
Answer ALL questions.
Clearly cross out surplus answers.

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

ANSWER ALL QUESTIONS
Marks
QUESTION 1

a) Define what is meant by a ‘desk check’, and explain why we perform this process when developing algorithms.

4

b)

Define what is meant by ‘pseudocode’ and explain why we use this before writing computer code. 4

c)

Describe what is meant by ‘flow of execution’ in a program.

2
Total 10 Marks

QUESTION 2
a)

Define the term scaling and explain how it is an issue for programs we create.

4

b)

What would be an appropriate data type to store a book’s ISBN number? Justify your answer.

3

c)

Explain the issues of implementation-specific data type representation, that are associated with pseudocode. 3

Total 10 Marks
QUESTION 3
a)

Explain what is meant by a bounded loop, and give an example of when it would be appropriate to use.

4

b)

Explain what is meant by an unbounded loop, and give an example of when it would be appropriate to use.

4

c)

Provide the pseudocode for a loop that steps over all the even numbers from 10 to 50

2
Total 10 Marks

QUESTION 4
a)

Provide the pseudocode for a program that takes in a whole number user input, and tells them whether their number is an odd number.

4

b)

Explain what is meant by a compound conditional, and provide an example of where it would be appropriate to use one.

4

c)

Explain what is meant by a ‘truth’ table.

2
Total 10 Marks

QUESTIONS CONTINUE ON NEXT PAGE
Page 2 of 4
Software Development Techniques

Sample

Formatted/HW

© NCC Education Ltd 2012

Marks
QUESTION 5
a)

Provide the pseudocode for a function that returns the power of a number to itself.

6

b)

Explain the benefits that come

You May Also Find These Documents Helpful