[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg[/IMG]
[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image001.jpg[/IMG]
[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image003.gif[/IMG]
[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif[/IMG][IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image005.gif[/IMG][IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image006.gif[/IMG]


Cut-OffDate:TBA

CourseCode:M251

CourseTitle:ObjectOrientedProgrammingUsingJavaTutorMarke dAssignment

TotalMarks:90



ThisTMAcoversthefirst7sessionsofM251.Itisrequiredt odothefollowing:

• CreateaJavaprojectusingyourIDEandnameitusingyourna meandyourstudentID
• Implementalltherequiredclassesinthedefaultpackage
• CreateaWordfilecontainsthefollowing:
oAnswerofthegivenquestions
oAcopy(not a snapshot)ofthecodeofeachclass
oAcompletesnapshotoftheoutput
oIfpartofthecodedoesnotwork,trytoexplainyouridea
oTheheaderofeachpageshouldcontainyournameandyourstudentID
•OnLMSpageofM251,thereare2linksandyoushouldsubmit2 files(onefileperlink):
oTheWordfileyoucreated
oAcompressedfilecontainsthefolderofyourJavaproject

PlagiarismWarning:

AsperAOUrulesandregulations,allstudentsarerequired tosubmittheirownTMAworkandavoidplagiarism.TheAOUha simplementedsophisticatedtechniquesforplagiarismde tection.Youmustprovideallreferencesincaseyouuseand quoteanotherperson'sworkinyourTMA.Youwillbepenaliz edforanyactofplagiarismaspertheAOU'srulesandregula tions.

DeclarationofNoPlagiarismbyStudent(tobesignedandsu bmittedbystudentwithTMAwork):

IherebydeclarethatthissubmittedTMAworkisaresultofm yowneffortsandIhavenotplagiarizedanyotherperson'sw ork.IhaveprovidedallreferencesofinformationthatIha veusedandquotedinmyTMAwork.

NameofStudent:
Signature:
Date:

1




[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image006.gif[/IMG]
[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg[/IMG]
[IMG]file:///C:/Users/WINAMP~1.KOK/AppData/Local/Temp/msohtmlclip1/01/clip_image005.gif[/IMG]
Overview:

Acarrentalcompanywantstomakeasimpleapplicationtoke eptrackofcarsandcustomers.InthisTMA,itisrequiredto helptheheadofthecompanyimplementtherequiredapplica tion.

Requirements:

Afteraquickmeetingwiththeheadofthecompany,yougotth efollowinginformation:
• Itisrequiredtostoreallcarsinonecollectionandallren ttransactionshappenedinanothercollection.
• Itisallowedtorentanycarforonlyoneday.
• Eachcarhasauniquenumberplate,brand,rentalrate,ando therattributes(addatleast3attributesfromyourchoice ).
• EachcustomerhasauniqueCivilID,aname,andotherattrib utes(addatleast2attributesfromyourchoice).
• Foreachrenttransaction,itisrequiredtostorecar,cust omer,andthedateofrent.
• Foreachdate,itisrequiredtostoreonlyday,monthandyea r.Donotusethebuilt-inclassesforDate.

Moreover,youhavebeeninformedthatthefollowingoperat ionshappenfrequently:
• Buyinganewcarandaddingittotheapplication
• Rentingaspecificcartoaspecificcustomerinaspecificd ate.Itisnotallowedtorentthesamecartwiceinthesameda y.
• Displayingthecarthathasbeenrentthemaximumnumberoft imes.
• Savingallcarsandrenttransactionsintoatextfile.
Forcars,theyshouldbesortedinascendingorder(accordi ngtotheplateNo)

Analysis:

Q1:WhatistherelationbetweenCarandTransaction?Explainy ouranswer.
Q2:Drawasimpleclassdiagramshowingonlyrelationshipsbet weenallclasses.

Implementation:

Afteranalysingthegivenrequirements,implementthereq uiredapplication:
• withObject Oriented Programmingstyle
• followingtherulesofgoodprogrammingstyle(e.g.adding comments,etc.)
• usingonly the material covered in M251(anditsprerequisites)


حل واجب الجامعة العربية المفتوحةTMA
E304B E304B 00966562053739 TMA حل واجبات M251 الجامعة العربية المفتوحة
~ حل واجب M251 ** 00966562053739 ~ ~ حلول,واجبات,الجامعة,العربية,المفتوحة
#حل_واجب M251 00966562053739 حل واجبات M251 الجامعة العربية المفتوحة
M251 حل واجب , واجبات الجامعة العربية المفتوحة
M251 TMA Answers: حل واجب M251 00966562053739
حل , واجب , M251 00966562053739 ~ حلول واجبات الجامعـة العربية المفتوحة
حل واجب M251? 00966562053739 > لحلول الواجبات الجامعة العربية المفتوحة
M251 00966562053739 حل واجب M251 خل واجبات الجامعة
حل واجبات الإمتياز M251 << 00966562053739,,,, حلول واجبات M251
حل,واجبات,الجامعة,العربية, 00966562053739 M251,المفتوحة, حل واجب M251 حلول واجبات الجامعة ا ل واجب لعربية المفتوحة
حل واجب M251 Answers 00966562053739 حلول واجبات الجامعة العربية المفتوحة M251
حل واجب M251 (00966562053739),, حلول واجبات الجامعة العربية المفتوحة
حل واجب M251 #واجبات#الجامعة#العربية#المفتوحة 00966562053739 حل
حل واجبات جروب الإمتياز 00966562053739 تنبيه
حل الواجب M251 # _ (.00966562053739.) حلول الواجبـات الجامعة العربية المفتوحة
حل واجبات الجامعة العربية المفتوحة - 00966562053739 >>
M251 00966562053739 TMA حل واجبات M251 @ الجامعة العربية المفتوحة
حل واجب M251 ** 00966562053739 < > حلول,واجبات,الجامعة,العربية,المفتوحة
#حل_واجب M251 00966562053739 حل واجبات
2