Mark Dixon, SoCCE SOFT 131Page 1 25 – Soft 131 Examination Revision
Mark Dixon, SoCCE SOFT 131Page 2 Session Aims & Objectives Aims –To introduce help you prepare for the exam Objectives, by end of this week’s sessions, you should: –know the format of the exam –have an idea of the type of questions included –know how to revise
Mark Dixon, SoCCE SOFT 131Page 3 Exam Format Date:Fri 4 May 2007 Start Time:09: :30 Location:Main Hall Outside my control - check for changes Duration:2 (3) hours Questions:5 Marks per question:10 Attempt:All 5
Mark Dixon, SoCCE SOFT 131Page 4 Question What activities are you doing most in an exam?
Mark Dixon, SoCCE SOFT 131Page 5 Sample Question Q2 Name an example of: a) a class b) a method c) a procedure d) a function e) a property Class Person Public height As Double Public weight As Double Sub SetData(h, w) height = h weight = w End Sub Function BMI() As Double BMI = weight / (height * height) End Function Function Kg(stone, pounds) As Double Kg = ((stone * 14) + pounds) / lbPerKg End Function End Class
Mark Dixon, SoCCE SOFT 131Page 6 Learning Active vs. Passive learning I hear – I forget (passive) I see – I remember I do – I understand (active) Surface vs. Deep learning surface – memorisation (parrot) deep – understanding (can adapt to new situations)
Mark Dixon, SoCCE SOFT 131Page 7 Revision Technique Reading - limited value RECALL –your revision should practice recall NOT INDIVIDUAL –work together in groups set, answer, mark questions NOT FORMAL –integrate revision into social life (pub)
Mark Dixon, SoCCE SOFT 131Page 8 Revision Technique Get past papers (available on all uni computers –Start menu, Uni software, P, past exam papers) Look through for repeating questions, pick a question Answer question –RULE: for each part of question write something down, a cross if it's meaningless Mark question –using all resources (lecture slides, lecturer …) Repeat process
Mark Dixon, SoCCE SOFT 131Page 9 Exam This years exam is different to past years: –No VB6, all server-side VBScript –focus more on classes, procedures, parameters, functions
Mark Dixon, SoCCE SOFT 131Page 10 Recall - memorisation 1.read what you want to memorise 2.hide it 3.recall (write down/say) as much as you can remember 4.compare your answer 5.repeat many short (10 minute) sessions location - what works for you?
Mark Dixon, SoCCE SOFT 131Page 11 Sample Question Q2 Name an example of: a) a class b) a method c) a procedure d) a function e) a property Class BankAccount Public Balance As Double Public Overdraft As Double Sub SetData(b, o) Balance = b Overdraft = o End Sub Function AvaiBal() As Double AvailBal = Balance + Overdraft End Function End Class Function a(x, y) As Boolean a = x + y End Function
Mark Dixon, SoCCE SOFT 131Page 12 Exam Technique 1 Read the question Analyse the question –identify and highlight key words and phrases what …, name …, identify … describe … Answer the question
Mark Dixon, SoCCE SOFT 131Page 13 Exam Technique 2 Answer questions in order that suits you Start each question on new page If you’re running out of time – write notes
Mark Dixon, SoCCE SOFT 131Page 14 Sample Question Q2 Name an example of: a) a class b) a method c) a procedure d) a function e) a property Class SkiSlope Public name As String Public altitude As Double Public difficulty As Double Sub SetAlt(alt As Double) altitude = alt End Sub End Class Function feet(alt As Double) As Double feet = (alt * 39 / 36) * 3 End Function
Mark Dixon, SoCCE SOFT 131Page 15 Marking Name an example of a class[1 mark] SkiSlope 1 mark Class SkiSlope 0 marks SetAlt 0 marks Altitude0 marks
Mark Dixon, SoCCE SOFT 131Page 16 Marking Write a line of code that declares a variable that stores a patient's height in memory in metres. [3 marks] Dim PatientHeight As Double 3 marks Dim PatientHeight As String 2 marks Dim a As Double 2 marks 5 As Double1 mark PatientHeight = marks ½½ 11
Mark Dixon, SoCCE SOFT 131Page 17 Sample Question From the following code, identify an example of: a) a class[1 mark] b) a method[1 mark] c) a procedure[1 mark] d) an instance[1 mark] Class Horse Public Name As String Public Sub Eat() End Sub End Class Dim h As New Horse
Mark Dixon, SoCCE SOFT 131Page 18 Sample Question Write server-side VBScript code to define a function that takes a whole number and returns twice its value: [3 marks] Function Twice(num As Long) As Long Twice = 2 * num End Function ½ 1 1½
Mark Dixon, SoCCE SOFT 131Page 19 On-line Quiz Will be expanded Only an aide – real exam is not multi-choice –previous students have printed and answered questions on paper
Mark Dixon, SoCCE SOFT 131Page 20 Tutorial Exercises Learning Objective: Experience good revision in a relaxed social environment (pub) Need exam papers, laptop and/or module notes