编程1.docx

上传人:b****5 文档编号:30178674 上传时间:2023-08-05 格式:DOCX 页数:18 大小:109.13KB
下载 相关 举报
编程1.docx_第1页
第1页 / 共18页
编程1.docx_第2页
第2页 / 共18页
编程1.docx_第3页
第3页 / 共18页
编程1.docx_第4页
第4页 / 共18页
编程1.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

编程1.docx

《编程1.docx》由会员分享,可在线阅读,更多相关《编程1.docx(18页珍藏版)》请在冰豆网上搜索。

编程1.docx

编程1

GuangdongInstituteofEducation

BTECCenter

Program:

Electrical/ElectronicEngineering(Electronic)

UnitTitle:

ProgrammingConcept

UnitNo:

34AssignmentTitle:

DesignandDevelopanApplication

AssignmentNo.:

03401

IssueDate:

March9,2010

SubmissionDeadline:

Part1:

May20,2010

Assessor/Tutor:

ZhefangPeng,SunnyYao

InternalVerifier:

YuhuangZheng

Student:

ChongChen

Student’sReg.No:

B876174

NOTESTOSTUDENTS

●Checkcarefullythesubmissiondateandtheinstructionsgivenwiththeassignment.Lateassignmentswillnotbeaccepted.

●Ensurethatyougiveyourselfenoughtimetocompletetheassignmentbytheduedate.

●Donotleavethingssuchasprintingtothelastminute–excusesofthisnaturewillnotbeacceptedforfailuretohand-intheworkontime.

●Youmusttakeresponsibilityformanagingyourowntimeeffectively.

●Ifyouareunabletohandinyourassignmentontimeandhavevalidreasonssuchasillness,youmayapply(inwriting)foranextension.

●Whenyourefertotheworkofotherauthorsinyourassignment,youmustpracticecitationbyfollowingHarvardSystemforReferencing.

●Ifyouarecaughtplagiarizing,youcouldhaveyourgradereducedtozero,oratworst,youcouldbeexcludedfromthecourse.

STUDENT’SDECLARATION:

Iconfirmthatthisisallmyownwork.

StudentSignature:

ChongChene

ASSESSMENTforPart1

Outcome/

Grade

Criteria/

Descriptors

Evidence

Feedback

Assess

IV

PassAssessment

1.Designanddevelopcodeusingstructuredprogrammingmethods

1.identifyandselectappropriatepre-defineddatatypes

Variablesarecorrectlydeclaredintermsofdatatype.

Youcancorrectlydeclarevariables.

V

2.usesimpleinput/outputandappropriateoperatorswiththeabove

Propermethodsareusedtoacceptinputanddisplayoutput.

Youcanuseproperfunctionstoacceptinputanddisplayoutput.

V

3.identifyanduseappropriateselectionstructuresandloopstructuresforthegiventask

Properselectionandloopingstructuresareusedwherenecessaryintheprogram.

Youcanuseproperselectionandloopingstructures.

V

4.produceprogramstodesiredstandards

Anexecutableprogramthatmeetsthebasicrequirements.

Yourprogramcanmeetthebasicrequirements.

V

2.Usemodularizationappropriatetothechosenprogramminglanguage

1.constructaprogramfromadesignanduseappropriatefunctions/procedures

Anexecutableprogramthatmeetsthebasicrequirements(suchasusingproperfunctions/procedures)accordingtothedesign.

Youcanusenolessthanthreecustomfunctions.

V

2.demonstratetheeffectofscopeandlife-timeofvariables

Localand/orglobalvariablesareproperlyusedaccordingtonecessityandtheireffectofscopeandlife-timearedescribed.

Localandglobalvariablesareproperlyusedinyourprogramandtheirscopeandlife-timearedescribed.

V

3.passdataeffectivelybetweenmodules

Parametersareeffectivelypassedbetweenfunctions.

Parametersareeffectivelypassedbetweenfunctions.

V

3.Produceappropriatedocumentationforagivenprogramapplication

2.developdocumentationforapre-describedprogramapplication

Thedevelopingdocumentscontaintherequiredcontents.

Youaccomplishthedevelopingdocumentaccordingtorequirements.

V

GradingAssessment

M1identifyandstrategiestofindappropriatesolution

Aneffectiveapproachtostudyandresearchhasbeenapplied

Structuredprogramming.

Agoodsolutionforthegivenproblemisappliedandeffectivejudgmentsaremade.

Effectiveapproachhasbeenappliedtostudyandresearch.

Structuredprogrammingmethodiswellapplied

V

M2select/designandapplyappropriatemethods/techniques

Relevanttheoriesandtechniqueshavebeenapplied.

Theuserinterfacecontainssuchfeaturesasbeingabletoevaluateinputtoavoidinvalidcharacters,etc.

Theuserinterfacecanconverteffectiveinput,dealwithinvalidinputandexitrightly.

V

M3presentandcommunicationappropriatefindings

Arangeofmethodsofpresentationhavebeenusedandtechnicallanguagehasbeenaccuratelyused.

Developingdocumentiswritteninstraightawaylanguage;orprogramcommentsarewellwritten.

Programcommentsarewellwritten.

V

D1usecriticalreflectiontoevaluateownworkandjustifyvalidconclusion

Conclusionshavebeenarrivedatthroughsynthesisofideasandhavebeenjustified.

Thereisevaluationindevelopingdocumentthatexplainsprogram’sadvantagesanddisadvantages.

Youhaven’tprovidedtheevaluationthatexplainsyourprogram’sadvantagesanddisadvantages.

X

D2takeresponsibilityformanagingandorganizingactivities.

Autonomy/independencehasbeendemonstrated

Manageyourdevelopingworkaccordingtoatimescheduleandimplementtheapplicationindependently.

Youcan’tcompleteyourassignmentindependently.

X

D3demonstrateconvergent/latercreativethinking.

Innovationandcreativethoughthavebeenapplied

Multiplesolutionsordifferentoptionstrategiesarepresentandevaluated.

Receptivenesstonewideasisshowninthedesignofalgorithmoruserinterface.

Yourprogramhasnoinnovation.

X

Assessor’sadditionalcomments

Thisassignmentwassuccessfullycompleted,andallrequirementshavebeenmet.Itisgoodthatyouhavegraspedstructuredprogrammingmethodandhavedesignedgooduserinterfaces.Welldone.Butifyoucouldevaluateyourworkobjectively,completeitindependentlyandpresentyourcreativethought,youwouldhavebeenabletogetD.Dobetternexttime!

Assessor’ssignature:

SunnyYao

Student’sFeedback

Thisassignmentdesignedverywell,afterIfinishedit,Ilearnedalot.Forexample,Ilearnedhowtoputourknowledgethatwelearnedintostudy.Ialsolearnedthatifyouwanttodotheassignmentbetter,youshouldreadmoreconferencebooksandtakepartinthegroupdiscussion.ishoulddoitbetternexttime.

Student’ssignature:

AssignmentDescription

Scenario:

Thesoftwarecompanywhereyouareworkingisgoingtodevelopaprogramthathelpsstudentslearnunittransformation,orprovidescalculationtoolsforengineers.Thisprogramcanperformanumberofunittransformations.Someofthesefunctionsarelistedbelow:

1)Lengthconversionwithdifferentunits;

2)Areaconversionwithdifferentunits;

3)Pressureconversionwithdifferentunits;

4)Temperatureconversionwithdifferentunits.

Numbertransferbetweendifferentunitsystems(e.g.Celsiustemperature,Fahrenheitscale,Absolutetemperature,etc).

Youareonememberofthedevelopmentteam.ThedevelopmentteamhasdecidedtodevelopthisapplicationbyusingthedevelopingenvironmentofTurboC2.0,andoneofyourteammateshasdesignedtheframeworkoftheuserinterfaceasshownbelow.

************************************

*1Lengthconversion*

*2Areaconversion*

*3Pressureconversion*

*Pleaseinputthenumbertoselect:

__*

************************************

Part1(ThispartmustbecompletedbeforeMay20,2010):

Youarerequiredtoimplementoneortwofunctionsofthisapplication.Youmustsubmitadesignreportandtheapplicationimplementedfromthedesign.Thesubmittedapplicationonlyneedstocontainthreeorfourfunctionsyouhaveselectedtoworkon.Thedesignreportmustcontainthefollowingcontents:

1.Listthefunctionsoftheprogramorexpressthemwithadiagramwhichshowshowmanylibraryfunctionfunctionsthereareinyourprogram,andhowmanycustomizedfunctionsthereare;

2.Theexplanationoftheuseofvariables.Youmaynotuseglobalvariablesinthefunction,butyouneedtoexplainthefeaturesofbothglobalvariablesandlocalvariables,andexplainwhyyouuseordonotusetheglobalvariables.

3.Atleastoneflowchartrepresentingthemainalgorithmofthecalculationfunctionyouhavechosentoworkon.

Thespecificrequirementsarelistedbelow.

Tasks:

1(Criterion1.1):

Identifyandselectappropriatepre-defineddatatypes.Allvariablesintheprogramarecorrectlydeclaredintotheproperdatatypes.

2(Criterion1.2):

Usesimpleinput/outputandappropriateoperatorswiththeabove.Propermethodsareappliedtoacceptinputanddisplayoutput,andtherightdatatypesareproperlyused.

3(Criterion1.3):

Identifyanduseappropriateselectionstructuresandloopstructuresforthegiventask.

4(Criterion1.4,2.1,2.3):

Producetheprogramtothedesiredstandards,constructingitfromthedesignwiththeappropriatefunctions.Theremustbeatleastonecustomizedfunctionthatcanbeinvokedbyotherfunctionsinthispartoftheprogramandthereshouldbedatapassedeffectivelybetweentheinvokedandinvokingfunctions.

5(Criterion2.2):

Demonstratetheeffectofscopeandlife-timeofvariables.Youshouldplantheuseofvariables,describetheminyourreport,andusethemaccordingtoyourplan.

6(Criterion3.2):

Developdocumentationforthisprogramapplication.Thedesignreportordevelopingdocumentshouldcontainthebasicrequiredcontents.

NOTE:

Youshouldkeeprecordsofyourandyourteam’sbehaviours,suchastestinganddebuggingtheprogram.Thisalsocontributestogooddocumentationoftheprogramandyouwillneedtherecordsforthelaterpartofyourassignment.

 

Designspecification

Userinterface

Thisapplicationcanhelpsustoimplementingtheconversionoftemperature,length,andpressure

1.Temperatureconversion(FahrenheittoCelsius).

2.Lengthconversion(metertomillimeter)

3.Pressureconversion(kilopascaltoPascal).

Letusruntheprogram,firstIselect’1,’theuserinterfaceshowsasfollows

Iinputanumber20,itwillappear68.000000likethis

 

IfIinputa

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 动物植物

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1