




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Exam Code(s) 1AE1, 1BD1, 1BD Exam(s) Masters of Business Studies in Electronic Commerce Higher Diploma in Systems Analysis full-time Higher Diploma in Systems Analysis part-time Module Code(s) MS Module(s) Interactive Programming 1 Paper No. Repeat Paper External Examiner(s) Professor H. van der Heijden Internal Examiner(s) Professor J. F. Collins Mr. Seamus Hill Instructions: Candidates are required to answer: Section A (20 Marks) Answer all 10 parts of section A, This section consists of 10 multiple-choice questions all of which should ideally be attempted. Answers are to be written on the MCQ sheet provided, NOT on the Examination paper. Section B (80 Marks) Answer Any Two Questions Duration 2 hrs Department(s) Accountancy & Finance Course Co-ordinator(s) Requirements :
MCQ Yes, Type a-d
Section A (20 Marks) Attempt all 10 questions Mark your answers on the MCQ sheet provided
continued …
(20 Marks)
Section B (80 Marks) Answer Any TWO Questions Question 2
01 Option Strict On 02 03 Public Class MainForm 04 05 Private TotalInteger(7) As Integer 06 07 Private Sub OkButton_Click(ByVal sender As System.Object, _ 08 ByVal e As System.EventArgs) Handles OkButton.Click 09 10 Dim GroupNumberInteger As Integer 11 Dim SaleInteger As Integer 12 13 Try 14 GroupNumberInteger = Integer.Parse(GroupTextBox.Text) - 1 15 If GroupNumberInteger >= 0 And GroupNumberInteger <= 7 Then 16 SaleInteger = Integer.Parse(SaleTextBox.Text) 17 TotalInteger(GroupNumberInteger) += SaleInteger 18 Else 19 MessageBox.Show("Enter a valid group number (1-8)", _ 20 "Data Entry Error", _ 21 MessageBoxButtons.OK, MessageBoxIcon.Exclamation) 22 End If 23 Catch 24 MessageBox.Show("Numeric entries required for both _ 25 group number and sales.", _ 26 "Data Entry Error", MessageBoxButtons.OK, _ 27 MessageBoxIcon.Exclamation) 28 End Try 29 30 With GroupTextBox 31 .Clear() 32 .Focus() 33 End With 34 SaleTextBox.Clear() 35 End Sub 36 continued …
Question 3 Part a)
(10 Marks) Part b)
(30 Marks)
Question 4 Part a)
(20 Marks) Part b)
(15 Marks) Part c)
(5 Marks)