computing: software development - … 15 15 60 total 100 • students are permitted to bring into...

27
COMPUTING: SOFTWARE DEVELOPMENT Written examination Thursday 16 November 2017 Reading time: 3.00 pm to 3.15 pm (15 minutes) Writing time: 3.15 pm to 5.15 pm (2 hours) QUESTION AND ANSWER BOOK Structure of book Section Number of questions Number of questions to be answered Number of marks A 20 20 20 B 6 6 20 C 15 15 60 Total 100 Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and one scientific calculator. Students are NOT permitted to bring into the examination room: blank sheets of paper and/or correction fluid/tape. Materials supplied Question and answer book of 24 pages Detachable insert containing a case study for Section C in the centrefold Answer sheet for multiple-choice questions Instructions Detach the insert from the centre of this book during reading time. Write your student number in the space provided above on this page. Check that your name and student number as printed on your answer sheet for multiple-choice questions are correct, and sign your name in the space provided to verify this. All written responses must be in English. At the end of the examination Place the answer sheet for multiple-choice questions inside the front cover of this book. You may keep the detached insert. Students are NOT permitted to bring mobile phones and/or any other unauthorised electronic devices into the examination room. © VICTORIAN CURRICULUM AND ASSESSMENT AUTHORITY 2017 SUPERVISOR TO ATTACH PROCESSING LABEL HERE Victorian Certificate of Education 2017 STUDENT NUMBER Letter

Upload: nguyennhan

Post on 05-May-2018

225 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

COMPUTING: SOFTWARE DEVELOPMENTWritten examination

Thursday 16 November 2017 Reading time: 3.00 pm to 3.15 pm (15 minutes) Writing time: 3.15 pm to 5.15 pm (2 hours)

QUESTION AND ANSWER BOOK

Structure of bookSection Number of

questionsNumber of questions

to be answeredNumber of

marks

A 20 20 20B 6 6 20C 15 15 60

Total 100

• Studentsarepermittedtobringintotheexaminationroom:pens,pencils,highlighters,erasers,sharpeners,rulersandonescientificcalculator.

• StudentsareNOTpermittedtobringintotheexaminationroom:blanksheetsofpaperand/orcorrectionfluid/tape.

Materials supplied• Questionandanswerbookof24pages• DetachableinsertcontainingacasestudyforSectionCinthecentrefold• Answersheetformultiple-choicequestions

Instructions• Detachtheinsertfromthecentreofthisbookduringreadingtime.• Writeyourstudent numberinthespaceprovidedaboveonthispage.• Checkthatyournameandstudent numberasprintedonyouranswersheetformultiple-choice

questionsarecorrect,andsignyournameinthespaceprovidedtoverifythis.• AllwrittenresponsesmustbeinEnglish.

At the end of the examination• Placetheanswersheetformultiple-choicequestionsinsidethefrontcoverofthisbook.• Youmaykeepthedetachedinsert.

Students are NOT permitted to bring mobile phones and/or any other unauthorised electronic devices into the examination room.

©VICTORIANCURRICULUMANDASSESSMENTAUTHORITY2017

SUPERVISOR TO ATTACH PROCESSING LABEL HEREVictorian Certificate of Education 2017

STUDENT NUMBER

Letter

Page 2: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 2

SECTION A – continued

Question 1Astudentisdevelopingadatabaseasasoftwaresolution.Whichoneofthefollowingisanexampleofafunctionalrequirementofthestudent’ssoftwaresolution?A. lowpriceB. opensourceC. maintainabilityD. searchforarecordinafile

Question 2Toevaluatetheeffectivenessofanewsoftwaresolutionforanonlinebooksalescompany,Lee,asystemsanalyst,willneedtoA. measurethetransactiontimesofprocesses.B. comparethecostsofthenewsolutionwiththeoldsolution.C. checkthenumberofcustomercomplaintsabouttheaccuracyofinvoices.D. comparetheworkloadofstaffbeforeandaftertheimplementationofthesoftwaresolution.

Question 3ThecharacteristicsofdataintegrityincludeA. timeliness,accuracy,security,correctness.B. accuracy,reasonableness,authenticity,depth.C. accuracy,annotations,timeliness,authenticity.D. timeliness,reasonableness,authenticity,correctness.

Question 4Asoftwaresolutionrequiresuserstoentertheirheightincentimetresandweightinkilogramssothatitisabletocalculatetheirbodymassindex.Ifusersenterthedataincorrectly,thesoftwaresolutionwillnotwork.Validationcheckshavebeenplacedontheheightentryfieldtoensurethattheheightenteredisbetween100cmand250cm,andthatthedataisnumeric.ThesechecksarecalledA. typecheckingandspellchecking.B. rangecheckingandtypechecking.C. existencecheckingandtypechecking.D. existencecheckingandrangechecking.

SECTION A – Multiple-choice questions

Instructions for Section AAnswerallquestionsinpencilontheanswersheetprovidedformultiple-choicequestions.Choosetheresponsethatiscorrectorthatbest answersthequestion.Acorrectanswerscores1;anincorrectanswerscores0.Markswillnotbedeductedforincorrectanswers.Nomarkswillbegivenifmorethanoneansweriscompletedforanyquestion.

Page 3: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

3 2017SOFTDEVEXAM

SECTION A – continuedTURN OVER

Question 5Whichdocumentationshouldbeincludedinasoftwarerequirementsspecification?A. softwaretestingplanB. userinterfacedesignsC. projectmanagementplanD. constraintsonthesolution

Question 6a=5;b=7;c=3;

Giventhevaluesofthevariablesabove,whichoneofthefollowingfunctionswillreturnavalueofFalse?

A. def functionA()

If (a > c) or (b > c) return True

Else return False

EndIf

B. def functionB()

If (c < b) and (a < c) return True

Else return False

EndIf

C. def functionC()

If (c < b) or (a < c) return True

Else return False

EndIf

D. def functionD()

If (b > a) and (c < a) return True

Else return False

EndIf

Question 7Thereareanumberofdesigntoolsthatcanbeusedtodesignsoftware.Whichoneofthefollowingisanexampleofadesigntoolthatwoulddemonstratetheorderofexecutionofcodeinasoftwaresolution?A. pseudocodeB. datadictionaryC. contextdiagramD. usecasediagram

Question 8ThepurposeofadataflowdiagramistodisplayA. theorganisationofdatainstorage.B. wheredataoriginatesandwhereitisstored.C. thesequenceoftasksinvolvedincompletingaproject.D. theorderinwhichtheprocesseswithinasystemoccur.

Page 4: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 4

SECTION A – continued

Question 9Thevariablesinasoftwaresolutionaretobegivennames.ThedocumentationthatincludesthevariablenamesiscalledaA. storyboard.B. Ganttchart.C. datadictionary.D. usecasediagram.

Question 10TestingtheusabilityofanewsolutioncouldincludeA. interviewswiththeusersofthenewsolution.B. measuringthetimeuserstaketoperformthetaskswiththenewsolution.C. measuringthenumberoferrorsmadeduetothedesignofthenewsolution.D. measuringthetimetakentoprocessdataenteredbyusersofthenewsolution.

Question 11Andrewhasbeenhiredtodevelopanewweb-basedsoftwaresolutionforamedicalcentre.AtechnicalconstraintonthesoftwaresolutionwouldbeA. usability.B. projectcost.C. effectiveness.D. availablehardware.

Question 12Sarahisdevelopinganewsoftwaresolutionforabankand,aspartoftheanalysisstage,sheiscompilingalistofthesystem’srequirements.Shehaslearntthatin18monthsthebankwillbeupgradingtheserverthatthesoftwaresolutionwillrunonandadecisionhasnotbeenmadeastowhichoperatingsystemwillbechosen.Whichoneofthefollowingwouldbeanon-functionalrequirementofthenewsoftwaresolutioncausedbytheupgradingoftheserver?A. portabilityB. customerloginC. viewcustomerbalanceD. updatecreditcardlimit

Question 13Lucacreatesaprojectplanforthecreationofasoftwaresolutionforanewdesign.Atwhichstageoftheproblem-solvingmethodologywillthemonitoringofthisplanbegin?A. designB. analysisC. evaluationD. development

Page 5: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

5 2017SOFTDEVEXAM

SECTION A – continuedTURN OVER

Question 14AssociativearraysarebestdescribedasA. neverusinghashtables.B. onlyhavingdataasstrings.C. aidingintheorganisationofdata.D. keepingdatainalphabeticalorder.

Question 15Whichoneofthefollowingisacorrectstatementaboutselectionsortandquicksortforlargefiles?A. Aselectionsortisnormallyfasterthanaquicksort,whichusesapivot.B. Aquicksortisnormallyfasterthanaselectionsort,whichusesapivot.C. Thealgorithmforaquicksortproducesfewercomparisonsthanthealgorithmforaselectionsort.D. Thealgorithmforaselectionsortproducesfewercomparisonsthanthealgorithmforaquicksort.

Question 16Whichoneofthefollowingisthemostappropriatestatementaboutdatastorage?A. Anetworkfileservercanonlyholdfileswithlargeamountsofdata.B. Individualpiecesofdatacanneverbeaccessedwithoutreadingthewholefileifthedataisstoredina

computer’sinternalstorage.C. Storingfilesonahigh-speednetworkfileserverallowsfasteraccesstodatathanstoringfilesina

computer’sinternalstorage.D. Storingfilesinacomputer’sinternalstorageallowsfasteraccesstodatathanstoringfilesona

high-speednetworkfileserver.

Question 17ProceduresandtechniquesformanagingfilesincludeA. integrity,security,accuracy.B. security,archiving,backingup.C. validation,security,backingup.D. instructions,functions,controlstructures.

Question 18Whichoneofthefollowinggivesexamplesofaninformationsystemgoalandaninformationsystemobjectiveforanewfinancialinformationsystem?

Goal Objective

A. willbeattractive willworkbetter

B. willbeattractive willreduceprocessingtime

C. willprovidefasterservicetoclients

willworkbetter

D. willprovidefasterservicetoclients

willreduceprocessingtimetolessthanoneminutepertransaction

Page 6: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 6

END OF SECTION A

Question 19Whichoneofthefollowingstatementsaboutwirednetworksandwirelessnetworksiscorrect?A. Wirednetworksareeasiertosetupthanwirelessnetworks.B. Wirednetworksareconsideredmoresecurefromhackingthanwirelessnetworks.C. Wirelessnetworksareconsideredmoresecurefromhackingthanwirednetworks.D. Wirelessnetworkscaneasilybelimitedtospecificlocationscomparedtowirednetworks.

Question 20AnetworkthatallowsallmembersofanorganisationtoaccessinformationsystemresourceswhileloggedinataparticularlocationisbestdescribedasA. anintranet.B. theinternet.C. aclientserver.D. avirtualprivatenetwork.

Page 7: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

7 2017SOFTDEVEXAM

SECTION B – continuedTURN OVER

Question 1 (4marks)RoberthaspresentedanewprogramthathehasbeenworkingontoVanessasothatshecantestthecode.VanessanoticesthatRoberthasnotincludedinternaldocumentationthroughouttheprogram.ShetellsRobertthatitwillbedifficultforhertoproperlytesthiscodeunlessheaddstheinternaldocumentation.

IdentifytwocharacteristicsofinternaldocumentationandexplainhoweachwillhelpVanessatotestthecode.

Characteristic1

Explanation

Characteristic2

Explanation

SECTION B – Short-answer questions

Instructions for Section BAnswerallquestionsinthespacesprovided.

Page 8: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 8

SECTION B – continued

Question 2 (4marks)Adoctors’surgeryhasinstalledanewpatientrecordssystem.Allrecords,includingpatientrecords,emailsandfilesdownloadedfromtheinternet,arestoredinalargeserverroomlocatedonthesurgery’spremises.Thebusinessthatupgradedthesystemsuggestedthattheownersaddressdatasecurityaspartoftheupgrade.

Foreachofthefollowingthreatstotheintegrityandsecurityofthesurgery’sdata,explaintheriskthatthethreatmightposetothesurgery’sdatabaseandsuggestawayinwhichthepatientrecordssystemcanbeprotected.

Apowersurge

Staffopeningaphishingemail

Question 3 (2marks)Explainhowtwopeoplewhohaveneverphysicallymetcanusepublickeycryptographytosenddatabetweenthemsecurelyovertheinternet.

Page 9: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

9 2017SOFTDEVEXAM

SECTION B – continuedTURN OVER

Question 4 (4marks)TheAll-StarSportsClubneedstofindoutwhoiseligibletoenteranupcomingMastersevent.AllparticipantsintheMasterseventmustbe40yearsoldorolder.Theclubneedstoprintoutalistofeligiblemembers.Whentheclub’ssystemisrunning,alldataisstoredinaseriesofarrays.Therelevantfieldsare date_of_birth[],surname[],firstname[]andgender[],allwiththesameindexvalueforallfieldsofamember.Thevariablenumbermembersholdsthenumberofmembersoftheclubandthearraysstartatthevalue1.Ithasbeenproposedtoaddaprocedurethatwillstartatthefirstrecordandlookthrougheachrecord,printingoutthefirstname,surname,genderanddateofbirthofeachpersonwhoisatleast40yearsold. Tocomputeage,allmembersmustbebornbefore1977.

Writethepseudocodeforthisprocedure.

Begin

End

Page 10: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 10

SECTION B – continued

Question 5 (2marks)TCP/IPisusedwhentransmittingandreceivingdataovertheinternetandoftenoverlocalnetworks.Itconsistsoftwoprotocols–theTCPprotocolandtheIPprotocol.

a. OutlinethemainroleoftheTCPprotocolwhentransmittingandreceivingdata. 1mark

b. OutlinethemainroleoftheIPprotocol. 1mark

Page 11: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

11 2017SOFTDEVEXAM

END OF SECTION BTURN OVER

Question 6 (4marks)Aregionaldepartmentstorehasdecidedtointroducefreewi-fiforitsinstorecustomers.Thedecisiontoprovidefreewi-fiwasmadeontheunderstandingthatthedepartmentstorecouldrecoveritscoststhroughdatamining.

a. Definetheterm‘datamining’. 1mark

b. Statetwotypesofinternetdataretrievedthroughdataminingthatcouldbekeptbythedepartmentstoreandhowthesetypesofinternetdatacouldbeusedbythedepartmentstore. 2marks

c. Outlinehowthepracticeofdataminingmightcauseaconflictbetweenthedepartmentstoreanditscustomers. 1mark

Page 12: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 12

SECTION C – continued

Question 1 (4marks)Loganconsidersthedataflowsfortheproposeddemand-responsivetransport(DRT)systemandbeginstodrawadataflowdiagramforthecentralcomputer,thehardwareandsoftwareontheminibuses,andtheapplicationonpassengers’mobiledevices.

booking data file route file

bank

B

D

C

satellite

passenger

A

creditdetails

paymentconfirmation

trafficrequest

trafficdata

buslocation

routedetailsbooking

data

pick-up and drop-off time

bookingdata

CompletethedataflowdiagramthatLoganhasstartedbywritingthecorrectlabelsforA,B,CandDinthespacesprovidedbelow.

A

B

C

D

SECTION C – Case study

Instructions for Section CPleaseremovetheinsertfromthecentreofthisbookduringreadingtime.Usethecasestudyprovidedintheinserttoanswerthequestionsinthissection.Answersmustapplytothecasestudy.Answerallquestionsinthespacesprovided.

Page 13: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

13 2017SOFTDEVEXAM

SECTION C – continuedTURN OVER

Question 2 (4marks)OnceapassengerisloggedintotheMBSapplication,theymustcompletethe‘Createbooking’procedure.Oncompletionofthe‘Createbooking’procedure,thepassengerhastheoptionto‘Purchaseheadphones’,whichcomeatanadditionalcostbutcanbeusedtolistentoaseriesofpre-tunedradiostationsontheminibusthroughoutthejourney.Ifthepassenger’splanschange,itispossibleto‘Modifybooking’or‘Deletebooking’upto12hourspriortothejourney.Inordertomodifyabooking,thepassengermustusethe‘Searchexistingbookings’functionandselectthebookingthattheywishtomodify.Ifapassengerwishestousethe‘Deletebooking’feature,theycandosothrough‘Modifybooking’.

Completetheusecasediagrambelowtoshowthestatedrequirements.

<<extends>>

<<extends>>

<<includes>>

passenger

search existingbookings

Page 14: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 14

SECTION C – continued

Question 3 (2marks)SophieworksintheITDepartmentofMBSandisresponsiblefortheprojectmanagementandrolloutoftheDRTsystem.Severalmonthsago,herteamlaunchedawebsitethatallowspotentialpassengersoftheDRTsystemtoregistertheirdetails,includingname,phonenumberandaddress,sothattheycanreceiveupdatesontherolloutoftheDRTsystem.SophiewantstorecruitmanyinterestedpassengerssothatwhentheDRTsystemgoeslive,itwillalreadyhavemanypotentialpassengers.However,Sophieisconcernedaboutkeepingthecollectedpassengerdatasafeandprivate.

Describeoneaction,otherthanphysicalsecuritymethods,thatcouldbeusedtosecurepassengerdata.

Page 15: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

15 2017SOFTDEVEXAM

SECTION C – continuedTURN OVER

Question 4 (4marks)InorderforthenewDRTsystemtomeettheneedsofMBS,itsminibusdriversanditspassengers,theGCSdevelopmentteammustcollectarangeofdatatodeterminetheseneedsandtherequirementsoftheDRTsystem.

Identifyasuitabledatacollectiontechniqueforeachstakeholderlistedinthetablebelowandjustifywhythisisthebesttechniquetouseforthisstakeholder.Anexamplehasbeenprovided.

Stakeholder Technique Justification

minibusdrivers observation Observing drivers on their routes would allow the development team to get an understanding of the time it takes to pick up and drop off passengers. The development team would see regular issues that may arise during the day. The development team would also see a driver’s interaction with passengers and gain information that may influence the way the application may work.

MBS

passengers

Page 16: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 16

SECTION C – continued

Question 5 (4marks)Asafirststep,LoganstartstoplantheprojectanddecidestousethreeseparateteamstodeveloptheDRTsystem.Heestimatesthatitwilltake25daystowrite,testanddebugthesoftwareneededonthecentralcomputer.Itwilltake15daystowrite,testanddebugthesoftwareneededonthetabletonthebusand20daystowrite,testanddebugtheapplicationthatwillbeonthepassengers’mobiledevices.Itwilltake10daystoinstallthesoftwareandhardware,andtestifthecentralcomputercancommunicatewiththepassengers’mobiledevicesandwiththetabletinthebusanditsassociatedGPSsensor.ItwilltakeafurtherfivedaystotesttheDRTsystem.

Days

Task no. Task 5 10 15 20 25 30 35 40 45 50 55 60 65 70

1Write,testanddebugsoftwareoncentralcomputer.

2 Write,testanddebugsoftwareontablet.

3

Write,testanddebugapplicationonpassengers’mobiledevices.

4

Installsoftwareandhardware,andtestifcentralcomputercancommunicatewithpassengers’mobiledevicesandwithtabletinbusanditsassociatedGPSsensor.

5 TestDRTsystem.

a. IndicateontheGanttchartabovetwo milestonesthatoccurduringthisproject. 2marks

b. UsingtheGanttchartabove,identifytwotasksthatcanbeundertakenconcurrently. 1mark

c. UsingtheGanttchartabove,identifythetasksonthecriticalpath. 1mark

Page 17: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

17 2017SOFTDEVEXAM

SECTION C – continuedTURN OVER

Question 6 (4marks)IdentifytwotechniquesthatLogancouldusetorecordtheprogressoftheprojectandexplainhoweachtechniquewillassisthimwithrunningtheprojectsuccessfully.

Technique1

Explanation

Technique2

Explanation

Question 7 (4marks)ShownbelowisanextractfromtheMBSdatadictionary,listingvariablenamesandexplaininghowthevariableswillbeusedindevelopment.

Fromthefollowinglistofdatatypesandstructures,selectthemostappropriatetypeorstructureforeachvariableanditsaccompanyingexplanation.Writeyourselectioninthespacesprovidedbelow.

integer floatingpoint Boolean character string array record

Variable name Data type or structure

Explanation

Passenger_Name thenameofthepassengerusingtheMBSapplication

Passenger_Phone_Number themobilephonenumberofthepassengerusingtheMBSapplication,intheform+61444444444

Passenger_List thelistofpassengerswhohaveregisteredusingtheMBSapplication

Passenger_SMS_N avaluerepresentingwhetherthepassengerwouldlikeanSMSnotificationwhentheminibusisapproachingtheirpick-uplocation

Page 18: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 18

SECTION C – Question 8–continued

Question 8 (9marks)Whenapassengermakesabooking,theyneedtohaveenoughmoneyintheiraccount (account_balance)topayforthefareorhavegivenMBSpermissiontoautomaticallytopuptheirbalancefromanominatedcreditcard(topup=true).Ifneitheroftheseconditionsismet,thenthebookingisrefusedanda‘lowbalance’messageissenttothepassenger.Thefollowingpseudocodeisusedtochecktheseconditions.

valid_booking False If account_balance > fare AND topup = True THEN valid_booking True Else Print low balance message EndIf

a. Completethefollowingtesttablesothatthispseudocodeisfullytested,andincludeexpectedandactualresults.Useafareof$5.00fortestingpurposes. 5marks

Test no.

account_balance topup Expected result Actual result

1 6 True valid_bookingTrueNomessage

valid_bookingTrueNomessage

2

3

4

5

6

b. Whataretheerrorsinthepseudocodethatwouldcausetheinvalidresponsesinthetesttable? 2marks

Page 19: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

19 2017SOFTDEVEXAM

SECTION C – continuedTURN OVER

c. Rewritethepseudocodesothatitworkscorrectly. 2marks

Question 9 (2marks)ThefollowingisanextractfromthedatafilethatstoresjourneydatafromtheMBSapplication.

<booking> <passenger_number>1001</passenger_number> <pickup_address>17 Smith Street</pickup_address> <pickup_postcode>3934</pickup_postcode> <dropoff_address>201 Burke Street</dropoff_address> <dropoff_postcode>3921</dropoff_postcode> </booking>

Namethefileformatthathasbeenusedtocreatethisfileanddescribeoneadvantageofusingthisfileformat.

Page 20: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 20

SECTION C – continued

Question 10 (6marks)WhenapassengerlogsintotheMBSapplication,theywilldosousingapassengernumberthatwillbeissuedtothemduringregistration,alongwithapassword.Beforeauthenticatingthepassenger’spassword,theMBSapplicationwillsearchfortheirpassengernumberandensurethatitexists.Thedatainthepassengertableisorderedbypassengernumber.

Function search_passenger(search_passenger_number) For each passenger_number in passenger_table IF passenger_number = search_passenger_number THEN Return Found EndIf Next passenger_number Return Not Found End Function

a. Namethesearchtechniquethathasbeenusedtosearchforthepassengerinthepseudocodeabove. 1mark

b. Stateoneadvantageandonedisadvantageofthesearchtechniquenamedinpart a. 2marks

Advantage

Disadvantage

c. Nameamoresuitablesearchtechniquethatcouldbeused.Explainwhyitismoresuitable. 3marks

Name

Explanation

Page 21: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

21 2017SOFTDEVEXAM

SECTION C – continuedTURN OVER

Question 11 (3marks)Onthewhole,theprojecthasrunsmoothly,withtheexceptionofthecostoftheoutsourcedinterfacesbeinghigherthanwasoriginallyanticipated.JeffistheleadtechnicalofficeratLCS(aninformationmarketingfirm)andhehasapproachedRiyawiththepropositionthatMBSagreetoselltheirdatabaseofprospectivepassengersinreturnforasumofmoney.Jeffsaysthatpassengers’detailswillbeusedforadvertisingpurposesindifferentprojectsrunbyLCSandthatthereisnowaythatanyofthepassengerswillfindoutthatitwasMBSwhoprovidedtheirinformation.Riyaisconcernedthatsuchactionswouldbeillegal,butsheisnotsurewhichlegislationappliesorwhy.

Identifyonepieceoflegislationthatcouldpotentiallybebreachedifthepropositionwereacceptedandjustifyyourchoice.

Legislation

Justification

Page 22: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 22

SECTION C – continued

Question 12 (4marks)RiyaisconcernedaboutthepossibilityofMBSsufferingfromacyberattackduetothefactthattheDRTsystemwillbeonlinetomobiledevicesandwillcontainlargeamountsofsensitivedata.RiyaproposesanumberofactionstohelpprotecttheDRTsystem.Shesuggeststhataphysicalfirewallbeinstalledintheheadofficetohelpprotectthecentralcomputerfromattacksovertheinternet.

a. Whatistheroleofthefirewall? 1mark

b. Whereshouldthefirewallbeplacedtobestprotectthecentralcomputer? 1mark

c. DescribetwootherstepsthatRiyacouldproposetoprotectthedataonthecentralcomputerfromattackthroughtheinternet. 2marks

1.

2.

Page 23: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

23 2017SOFTDEVEXAM

SECTION C – continuedTURN OVER

Question 13 (4marks)MBSexpectslargeamountsofdatatobecreatedeveryday.Forexample,eachrequesttomakeabookingwillcreateGPSdata,datafromthegenerationoftheoptimumrouteanddatafromthebank.Someofthedatawillonlyberequiredforashortperiodoftime,whileotherdatawillbemorestableandchangelessfrequently.

a. Suggestabackupstrategythatcouldbeusedtobackupfrequentlychangingdataandmorestabledata.Givereasonsforyoursuggestion. 2marks

b. MBShasdecidedtoarchivethedatafiles.

Explainthedifferencebetweenarchivingandbackingup. 2marks

Question 14(2marks)OncetheDRTsystemisrunning,itisnotedthatpassengersregularlyenterahousenumberthatdoesnotexistinagivenstreet.DataaboutthelowestandhighesthousenumberisknowntotheDRTsystemandthehousenumberenteredbythepassengermustfallbetweenthese.GCSdecidestoaddsomecodesothatthepassengerispromptedwhenaninvalidhousenumberisentered.

a. Whatisthisprocesscalled? 1mark

b. Describehowthisprocessworks. 1mark

Page 24: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017SOFTDEVEXAM 24

Question 15 (4marks)LoganhasdevelopedanumberofevaluationcriteriatomeasuretheeffectivenessofthesoftwaresolutiondevelopedfortheDRTsystem.Twoofthesecriteriaareasfollows:1. Allpassengersaretobepickedupwithinfiveminutesoftherequestedtime.2. Passengersatisfactionistobegaugedbythenumberofrepeatbookings.

Outlineastrategyforevaluatingeachcriterion.

Criterion1

Criterion2

END OF QUESTION AND ANSWER BOOK

Page 25: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

TURN OVER

1 2017 SOFTDEV INSERT

Insert for Section C – Case studyPlease remove from the centre of this book during reading time.

Page 26: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

2017 SOFTDEV INSERT 2

Modern Bus Services (MBS) has approached the state government to run a demand-responsive transport (DRT) system in a new, expanding residential area currently not serviced by public transport. The company runs traditional bus services in other areas, but feels that a traditional service will not be economical in this area. The government sees the potential of this new concept and has approved a pilot program based on MBS’s proposal.The DRT system will be cheaper for passengers than a taxi or other single-use vehicle, but will be more costly than a traditional bus ride.The service will commence with three minibuses, but more can be added quickly if the demand is above what is expected. The plan is to use 20-seat luxury minibuses.The advantages of the proposal are as follows:1. door-to-door service2. pick-upclosetothetimerequested(nofixedtimetable)3. lower cost than similar single-user services, such as taxis4. luxury facilities5. reliability, as the DRT system will be run by a well-established company

Now, the software solution needs to be designed and implemented.The proposed DRT system will consist of a:• centralcomputerattheminibusdepot• mobiletabletineachminibus.

EachminibuswillalsobefittedwithaGlobalPositioningSystem(GPS)sensortoprovideitsexactlocationat all times.The central computer:• collectslocationdatageneratedfromsatellitesviatheGPSsensor• sendstrafficrequeststotheRoadsDepartment• receivestrafficwarningsandnotificationsofdelaystoassistwithcomputingthemostefficientroute• worksouttherouterequiredfortheminibustopickuppassengers• computespick-uptimes• sendscreditcarddetailsandpaymentamountstothebankwhenapassenger’saccountislow• getspaymentconfirmationfromthebankwhentheaccountistoppedup.

RegisteringTo use the DRT system, passengers will be required to install an application on their mobile device. Passengers will register an account within the system and set up their method of payment. Payment will be deducted from the passenger’s account, which will be set up through the application at the time of registration.To register, passengers will be required to supply the following information to MBS:• name• billingaddressandpostaladdress• emailaddress• paymentinformation

Options for payment will include:• depositingmoneyintoanMBSaccount• registeringfordirectdebitorcreditcardpayment.

Each registered passenger will then be provided with a unique passenger number and password for future transactions.

Page 27: COMPUTING: SOFTWARE DEVELOPMENT - … 15 15 60 Total 100 • Students are permitted to bring into the examination room: pens, pencils, highlighters, erasers, sharpeners, rulers and

3 2017 SOFTDEV INSERT

END OF INSERT

BookingPassengers will use the application on their mobile device to contact MBS and make a booking. All locations mustbewithinadefinedarea.When booking a minibus, the passenger will provide the following information:• time• date• locationforthepickup• locationforthedropoff• passengernumber(whichwillautomaticallybeadded)

As passengers make bookings, the central computer will ensure that each booking does not increase the total traveltimebymorethanfiveminutesorcauseovercrowdingonthattrip.Iftheseconditionscannotbemet,passengers will be booked on the next minibus.Using the given data, the central computer will generate a route map for each minibus and send it through to the relevant vehicle’s on-board tablet.When the booking is complete, the application will give the passenger an approximate pick-up time and produce a route map.After each completed trip, passenger feedback will be sought via the application. Passengers will be able to rate the drive, the condition of the minibus and the timeliness of each trip. This will enable MBS to continually monitor the service and to make improvements where necessary.LoganandRiyafromGrommetComputerServices(GCS)havebeenselectedbyMBStodevelopthesoftware solution and install all hardware that MBS will need to implement the DRT system.

satellite

GPS sensor

minibus

bank

central computer

passenger

Roads Department