Sunday, June 26, 2011

SOFT6001 Algorithmic Problem Solving Repeat

The Autumn repeat for this module will be a paper exam held during the normal exam session.

The paper has two questions.
Q1 is worth 70 marks
Q2 is worth 30 marks

Students should answer both questions. The pass mark is 40%


Students should practice for the exam by reviewing the weekly exercises completed in class.

For this exam students need not concern themselves with the Visual Basic interface. Simple INPUT & OUTPUT commands will suffice.

For example:
Question:
Write a program that inputs three integers and outputs the average.

Suggested Solution:

VAR A as Integer
VAR B as Integer
VAR C as Integer
VAR total as Integer
VAR average as Single

INPUT A
INPUT B
INPUT C

total = A + B + C
average = total / 3

OUTPUT average



The programs students will be asked to write in the exam are more complex than this. Students should expect levels of complexity similar to those in Assessment 3.

No comments: