SlideShare una empresa de Scribd logo
1 de 31
Broncos/build.xml
Builds, tests, and runs the project Broncos.
Broncos/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
Broncos/nbproject/build-impl.xml
Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar
Must set javac.includes
No tests executed.
Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in
profiler.info.jvmargs.agent
Broncos/nbproject/genfiles.properties
build.xml.data.CRC32=dd03dd72
build.xml.script.CRC32=ab548cbe
[email protected]
# This file is used by a NetBeans-based IDE to track changes in
generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will
never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=dd03dd72
nbproject/build-impl.xml.script.CRC32=24a063c6
nbproject/[email protected]
Broncos/nbproject/project.properties
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.
dir}/ap-source-output
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection
transport:
#debug.transport=dt_socket
debug.classpath=
${run.classpath}
debug.modulepath=
${run.modulepath}
debug.test.classpath=
${run.test.classpath}
debug.test.modulepath=
${run.test.modulepath}
# Files in build.classes.dir which should be excluded from
distribution jar
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/Broncos.jar
dist.javadoc.dir=${dist.dir}/javadoc
excludes=
includes=**
jar.compress=false
javac.classpath=
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.external.vm=true
javac.modulepath=
javac.processormodulepath=
javac.processorpath=
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.test.classpath=
${javac.classpath}:
${build.classes.dir}:
${libs.junit_4.classpath}:
${libs.hamcrest.classpath}
javac.test.modulepath=
${javac.modulepath}
javac.test.processorpath=
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=broncos.MonthCollection
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=
${javac.classpath}:
${build.classes.dir}
# Space-separated list of JVM arguments used when running the
project.
# You may also define separate properties like run-sys-
prop.name=value instead of -Dname=value.
# To set system properties for unit tests define test-sys-
prop.name=value:
run.jvmargs=
run.modulepath=
${javac.modulepath}
run.test.classpath=
${javac.test.classpath}:
${build.test.classes.dir}
run.test.modulepath=
${javac.test.modulepath}
source.encoding=UTF-8
src.dir=src
test.src.dir=test
Broncos/nbproject/project.xml
org.netbeans.modules.java.j2seproject
Broncos
Broncos/src/broncos/Month.javaBroncos/src/broncos/Month.jav
apackage broncos;
publicclassMonth<T>{
private T month;
publicvoid add(T month){
this.month = month;
}
public T get(){
return month;
}
}
Broncos/src/broncos/MonthCollection.javaBroncos/src/broncos/
MonthCollection.javapackage broncos;
import java.util.ArrayList;
publicclassMonthCollection{
publicstaticvoid main(String[] args){
// add 12 months in integer format and 12 months in string form
at
ArrayList<Month> intMonths =newArrayList<>();
ArrayList<Month> stringMonths =newArrayList<>();
String[] calendarMonths =newString[]{"January","February","M
arch",
"April","May","June","July","August","September","October",
"November","December"};
Month intMonth, stringMonth;
for(int i =1; i <=12; i++){
//add integer months to collection
intMonth =newMonth();
intMonth.add(i);
intMonths.add(intMonth);
//add string months to collection
stringMonth =newMonth();
stringMonth.add(calendarMonths[i -1]);
stringMonths.add(stringMonth);
}
//print out string months
printMonths(stringMonths);
//print our all integer months
printMonths(intMonths);
}
privatestaticvoid printMonths(ArrayList<Month> months){
for(Month month: months){
System.out.println("Month = "+ month.get()
+" type= "+ month.get().getClass());
}
System.out.println();
}
}
Broncos/test/broncos/MonthTest.javaBroncos/test/broncos/Mont
hTest.java/*
* To change this license header, choose License Headers in Pro
ject Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package broncos;
import org.junit.Test;
importstatic org.junit.Assert.*;
/**
*
* @author fumba
*/
publicclassMonthTest{
/**
* Test of add method, make sure that Integer months are sav
ed as Integers
*/
@Test
publicvoid testAddInteger(){
Month instance =newMonth();
instance.add(1);
assertEquals(Integer.class, instance.get().getClass());
}
/**
* Test of add method, make sure that String months are save
d as Strings
*/
@Test
publicvoid testAddString(){
Month instance =newMonth();
instance.add("January");
assertEquals(String.class, instance.get().getClass());
}
/**
* Test of get method, of class Month.
*/
@Test
publicvoid testGetString(){
Month instance =newMonth();
instance.add("january");
assertEquals(instance.get(),"january");
}
/**
* Test of get method, of class Month.
*/
@Test
publicvoid testGetInteger(){
Month instance =newMonth();
instance.add(1);
assertEquals(instance.get(),1);
}
}
PURPOSE OF ASSIGNMENT
The University has a need to develop an Object-Oriented
Parking System. Each assignment will build towards creating
the parking system.
1. The University has several parking lots and the parking fees
are different for each parking lot.
1. Customers must have registered with the University parking
office in order to use any parking lot. Customers can use any
parking lot. Each parking transaction will incur a charge to their
account.
1. Customers can have more than one car, and so they may
request more than one parking permit for each car.
1. The University provides a 20% discount to compact cars
compare to SUV cars.
1. For simplicity, assume that the Parking Office sends a
monthly bill to customer and customer pays it outside of the
parking system.
1. Each week you will need to submit an updated Class Diagram
along with the other deliverables for the assignment.
The goal of this assignment is to create ParkingOffice and
ParkingLot classes that demonstrate the use of Java Generics
and Collections. You will also need to lookup the Java Enum
type and use it to describe the type of the car.
ASSIGNMENT INSTRUCTIONS
Develop Java code for the ParkingOffice, ParkingLot and
Money classes, and the CarType enum, shown in the diagram
below. The data attributes and methods are provided as a guide,
please feel free to add more as you feel necessary. Explain your
choices in the write-up. Note that the ParkingLot and Money
classes should be immutable; once created with values they
cannot be modified.
Class: Money
1. Data Attributes
0. amount : long
0. currency : String
Enum: CarType
1. Values
0. COMPACT
0. SUV
Class: ParkingLot
1. Data Attributes
0. id : String
0. name : String
0. address : Address
1. Behaviors
1. getDailyRate(CarType) : Money
Class: ParkingOffice
1. Data Attributes
0. parkingOfficeName : String
0. listOfCustomers : List<Customer>
0. listOfParkingLots : List<ParkingLot>
0. parkingOfficeAddress : Address
1. Behaviors
1. getParkingOfficeName() : String
1. register(Customer) : void
Create a 500-word write-up that explains your assignment. You
may address some of the below questions.
1. What did you find difficult or easy?
1. What helped you?
1. What you wish you knew before?
1. Outline any implementation decisions and the reasoning
behind those.
1. Include screenshots of the successful code compilation and
test execution.
Submit a zip file that includes Class diagrams, write-up, Source
java files, and Unit Test java files. In your write-up include
screen shots of successful unit tests.
FORMATTING AND STYLE REQUIREMENTS
1. Write-ups should be between 400 and 500 words.
1. Where applicable, refer to the UCOL Format and Style
Requirements (Links to an external site.) on the Course
Homepage, and be sure to properly cite your sources
using Turabian Author-Date style citations (Links to an external
site.).
1.
1.
1.
1.
1.
1. Rubric
Programming Rubric
Programming Rubric
Criteria
Ratings
Pts
This criterion is linked to a Learning OutcomeCode
Functionality and Efficiency
The class(es) created meet the design specification and
therefore accomplishes the task at hand. It/they are written with
proper OOP techniques applied. The class(es) are set up with
proper interfaces so they can collaborate with other classes and
execute the necessary tasks. The code compiles without errors.
60.0 pts
This criterion is linked to a Learning OutcomeCode Testing
The test code is written to test the class(es) and is designed and
implemented properly.
20.0 pts
This criterion is linked to a Learning OutcomeCode Quality
The code contains only the necessary variables. Variable names
are meaningful. The code is well-formatted, easy to read and
appropriately commented. The code includes proper error and
exception handling.
10.0 pts
This criterion is linked to a Learning OutcomeWrite-Up
The write-up summarizes lessons learned and any difficulty the
student may have encountered. It also outlines any
implementation decision and reasoning behind those.
Screenshots of the successful code compilation and test
execution are included.
10.0 pts
Total Points: 100.0

Más contenido relacionado

Similar a Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx

Debug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docxDebug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docx
edwardmarivel
 

Similar a Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx (20)

Angularjs2 presentation
Angularjs2 presentationAngularjs2 presentation
Angularjs2 presentation
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.com
 
Java interview questions and answers
Java interview questions and answersJava interview questions and answers
Java interview questions and answers
 
CIS 406 Inspiring Innovation/tutorialrank.com
 CIS 406 Inspiring Innovation/tutorialrank.com CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.com
 
CIS 406 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEW
 
CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Imagine Your Future/newtonhelp.com   CIS 406 Imagine Your Future/newtonhelp.com   
CIS 406 Imagine Your Future/newtonhelp.com   
 
CIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.comCIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.com
 
CIS 406 Life of the Mind/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   CIS 406 Life of the Mind/newtonhelp.com   
CIS 406 Life of the Mind/newtonhelp.com   
 
Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
Debug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docxDebug and Fix If Statements In this assessment, you will d.docx
Debug and Fix If Statements In this assessment, you will d.docx
 
Spring boot
Spring bootSpring boot
Spring boot
 
Angularj2.0
Angularj2.0Angularj2.0
Angularj2.0
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.com
 
Spring Framework
Spring FrameworkSpring Framework
Spring Framework
 

Más de hartrobert670

BUS M02C – Managerial Accounting SLO Assessment project .docx
BUS M02C – Managerial Accounting SLO Assessment project .docxBUS M02C – Managerial Accounting SLO Assessment project .docx
BUS M02C – Managerial Accounting SLO Assessment project .docx
hartrobert670
 
BUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docx
BUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docxBUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docx
BUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docx
hartrobert670
 
BUS LAW2HRM Management Discussion boardDis.docx
BUS LAW2HRM Management Discussion boardDis.docxBUS LAW2HRM Management Discussion boardDis.docx
BUS LAW2HRM Management Discussion boardDis.docx
hartrobert670
 
BUS 571 Compensation and BenefitsCompensation Strategy Project.docx
BUS 571 Compensation and BenefitsCompensation Strategy Project.docxBUS 571 Compensation and BenefitsCompensation Strategy Project.docx
BUS 571 Compensation and BenefitsCompensation Strategy Project.docx
hartrobert670
 
BUS 475 – Business and Society© 2014 Strayer University. All Rig.docx
BUS 475 – Business and Society© 2014 Strayer University. All Rig.docxBUS 475 – Business and Society© 2014 Strayer University. All Rig.docx
BUS 475 – Business and Society© 2014 Strayer University. All Rig.docx
hartrobert670
 
BUS 210 Exam Instructions.Please read the exam carefully and a.docx
BUS 210 Exam Instructions.Please read the exam carefully and a.docxBUS 210 Exam Instructions.Please read the exam carefully and a.docx
BUS 210 Exam Instructions.Please read the exam carefully and a.docx
hartrobert670
 
BUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docx
BUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docxBUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docx
BUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docx
hartrobert670
 
BUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docx
BUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docxBUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docx
BUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docx
hartrobert670
 
BUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docx
BUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docxBUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docx
BUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docx
hartrobert670
 
BullyingIntroductionBullying is defined as any for.docx
BullyingIntroductionBullying is defined as any for.docxBullyingIntroductionBullying is defined as any for.docx
BullyingIntroductionBullying is defined as any for.docx
hartrobert670
 
BUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docx
BUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docxBUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docx
BUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docx
hartrobert670
 
BUMP implementation in Java.docxThe project is to implemen.docx
BUMP implementation in Java.docxThe project is to implemen.docxBUMP implementation in Java.docxThe project is to implemen.docx
BUMP implementation in Java.docxThe project is to implemen.docx
hartrobert670
 
BUS 303 Graduate School and Further Education PlanningRead and w.docx
BUS 303 Graduate School and Further Education PlanningRead and w.docxBUS 303 Graduate School and Further Education PlanningRead and w.docx
BUS 303 Graduate School and Further Education PlanningRead and w.docx
hartrobert670
 
Bulletin Board Submission 10 Points. Due by Monday at 900 a.m..docx
Bulletin Board Submission 10 Points. Due by Monday at 900 a.m..docxBulletin Board Submission 10 Points. Due by Monday at 900 a.m..docx
Bulletin Board Submission 10 Points. Due by Monday at 900 a.m..docx
hartrobert670
 
BUS 371Fall 2014Final Exam – Essay65 pointsDue Monda.docx
BUS 371Fall 2014Final Exam – Essay65 pointsDue  Monda.docxBUS 371Fall 2014Final Exam – Essay65 pointsDue  Monda.docx
BUS 371Fall 2014Final Exam – Essay65 pointsDue Monda.docx
hartrobert670
 
Burn with Us Sacrificing Childhood in The Hunger GamesSus.docx
Burn with Us Sacrificing Childhood in The Hunger GamesSus.docxBurn with Us Sacrificing Childhood in The Hunger GamesSus.docx
Burn with Us Sacrificing Childhood in The Hunger GamesSus.docx
hartrobert670
 
BUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docx
BUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docxBUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docx
BUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docx
hartrobert670
 
Burgerville- Motivation Goals.Peer-reviewed articles.Here ar.docx
Burgerville- Motivation Goals.Peer-reviewed articles.Here ar.docxBurgerville- Motivation Goals.Peer-reviewed articles.Here ar.docx
Burgerville- Motivation Goals.Peer-reviewed articles.Here ar.docx
hartrobert670
 
Bullying Bullying in Schools PaperName.docx
Bullying     Bullying in Schools PaperName.docxBullying     Bullying in Schools PaperName.docx
Bullying Bullying in Schools PaperName.docx
hartrobert670
 
Building Design and Construction FIRE 1102 – Principle.docx
Building Design and Construction FIRE 1102 – Principle.docxBuilding Design and Construction FIRE 1102 – Principle.docx
Building Design and Construction FIRE 1102 – Principle.docx
hartrobert670
 

Más de hartrobert670 (20)

BUS M02C – Managerial Accounting SLO Assessment project .docx
BUS M02C – Managerial Accounting SLO Assessment project .docxBUS M02C – Managerial Accounting SLO Assessment project .docx
BUS M02C – Managerial Accounting SLO Assessment project .docx
 
BUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docx
BUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docxBUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docx
BUS 409 – Student Notes(Prerequisite BUS 310)COURSE DESCR.docx
 
BUS LAW2HRM Management Discussion boardDis.docx
BUS LAW2HRM Management Discussion boardDis.docxBUS LAW2HRM Management Discussion boardDis.docx
BUS LAW2HRM Management Discussion boardDis.docx
 
BUS 571 Compensation and BenefitsCompensation Strategy Project.docx
BUS 571 Compensation and BenefitsCompensation Strategy Project.docxBUS 571 Compensation and BenefitsCompensation Strategy Project.docx
BUS 571 Compensation and BenefitsCompensation Strategy Project.docx
 
BUS 475 – Business and Society© 2014 Strayer University. All Rig.docx
BUS 475 – Business and Society© 2014 Strayer University. All Rig.docxBUS 475 – Business and Society© 2014 Strayer University. All Rig.docx
BUS 475 – Business and Society© 2014 Strayer University. All Rig.docx
 
BUS 210 Exam Instructions.Please read the exam carefully and a.docx
BUS 210 Exam Instructions.Please read the exam carefully and a.docxBUS 210 Exam Instructions.Please read the exam carefully and a.docx
BUS 210 Exam Instructions.Please read the exam carefully and a.docx
 
BUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docx
BUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docxBUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docx
BUS 137S Special Topics in Marketing (Services Marketing)Miwa Y..docx
 
BUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docx
BUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docxBUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docx
BUS 313 – Student NotesCOURSE DESCRIPTIONThis course intro.docx
 
BUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docx
BUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docxBUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docx
BUS 1 Mini Exam – Chapters 05 – 10 40 Points S.docx
 
BullyingIntroductionBullying is defined as any for.docx
BullyingIntroductionBullying is defined as any for.docxBullyingIntroductionBullying is defined as any for.docx
BullyingIntroductionBullying is defined as any for.docx
 
BUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docx
BUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docxBUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docx
BUS1001 - Integrated Business PerspectivesCourse SyllabusSch.docx
 
BUMP implementation in Java.docxThe project is to implemen.docx
BUMP implementation in Java.docxThe project is to implemen.docxBUMP implementation in Java.docxThe project is to implemen.docx
BUMP implementation in Java.docxThe project is to implemen.docx
 
BUS 303 Graduate School and Further Education PlanningRead and w.docx
BUS 303 Graduate School and Further Education PlanningRead and w.docxBUS 303 Graduate School and Further Education PlanningRead and w.docx
BUS 303 Graduate School and Further Education PlanningRead and w.docx
 
Bulletin Board Submission 10 Points. Due by Monday at 900 a.m..docx
Bulletin Board Submission 10 Points. Due by Monday at 900 a.m..docxBulletin Board Submission 10 Points. Due by Monday at 900 a.m..docx
Bulletin Board Submission 10 Points. Due by Monday at 900 a.m..docx
 
BUS 371Fall 2014Final Exam – Essay65 pointsDue Monda.docx
BUS 371Fall 2014Final Exam – Essay65 pointsDue  Monda.docxBUS 371Fall 2014Final Exam – Essay65 pointsDue  Monda.docx
BUS 371Fall 2014Final Exam – Essay65 pointsDue Monda.docx
 
Burn with Us Sacrificing Childhood in The Hunger GamesSus.docx
Burn with Us Sacrificing Childhood in The Hunger GamesSus.docxBurn with Us Sacrificing Childhood in The Hunger GamesSus.docx
Burn with Us Sacrificing Childhood in The Hunger GamesSus.docx
 
BUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docx
BUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docxBUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docx
BUS 305 SOLUTIONS TOPRACTICE PROBLEMS EXAM 21) B2) B3.docx
 
Burgerville- Motivation Goals.Peer-reviewed articles.Here ar.docx
Burgerville- Motivation Goals.Peer-reviewed articles.Here ar.docxBurgerville- Motivation Goals.Peer-reviewed articles.Here ar.docx
Burgerville- Motivation Goals.Peer-reviewed articles.Here ar.docx
 
Bullying Bullying in Schools PaperName.docx
Bullying     Bullying in Schools PaperName.docxBullying     Bullying in Schools PaperName.docx
Bullying Bullying in Schools PaperName.docx
 
Building Design and Construction FIRE 1102 – Principle.docx
Building Design and Construction FIRE 1102 – Principle.docxBuilding Design and Construction FIRE 1102 – Principle.docx
Building Design and Construction FIRE 1102 – Principle.docx
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Último (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx

  • 1. Broncos/build.xml Builds, tests, and runs the project Broncos. Broncos/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Broncos/nbproject/build-impl.xml Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar
  • 2.
  • 3.
  • 4.
  • 5.
  • 7.
  • 8.
  • 9.
  • 10.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Broncos/nbproject/genfiles.properties build.xml.data.CRC32=dd03dd72 build.xml.script.CRC32=ab548cbe [email protected] # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=dd03dd72 nbproject/build-impl.xml.script.CRC32=24a063c6 nbproject/[email protected] Broncos/nbproject/project.properties annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processor.options= annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources. dir}/ap-source-output build.classes.dir=${build.dir}/classes build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results # Uncomment to specify the preferred debugger connection transport:
  • 22. #debug.transport=dt_socket debug.classpath= ${run.classpath} debug.modulepath= ${run.modulepath} debug.test.classpath= ${run.test.classpath} debug.test.modulepath= ${run.test.modulepath} # Files in build.classes.dir which should be excluded from distribution jar dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist dist.jar=${dist.dir}/Broncos.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.external.vm=true javac.modulepath= javac.processormodulepath= javac.processorpath= ${javac.classpath} javac.source=1.8 javac.target=1.8 javac.test.classpath= ${javac.classpath}: ${build.classes.dir}: ${libs.junit_4.classpath}: ${libs.hamcrest.classpath} javac.test.modulepath=
  • 23. ${javac.modulepath} javac.test.processorpath= ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= main.class=broncos.MonthCollection manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false platform.active=default_platform run.classpath= ${javac.classpath}: ${build.classes.dir} # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys- prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys- prop.name=value: run.jvmargs= run.modulepath= ${javac.modulepath} run.test.classpath= ${javac.test.classpath}: ${build.test.classes.dir} run.test.modulepath= ${javac.test.modulepath}
  • 25. Broncos/src/broncos/MonthCollection.javaBroncos/src/broncos/ MonthCollection.javapackage broncos; import java.util.ArrayList; publicclassMonthCollection{ publicstaticvoid main(String[] args){ // add 12 months in integer format and 12 months in string form at ArrayList<Month> intMonths =newArrayList<>(); ArrayList<Month> stringMonths =newArrayList<>(); String[] calendarMonths =newString[]{"January","February","M arch", "April","May","June","July","August","September","October", "November","December"}; Month intMonth, stringMonth; for(int i =1; i <=12; i++){ //add integer months to collection intMonth =newMonth(); intMonth.add(i); intMonths.add(intMonth); //add string months to collection stringMonth =newMonth(); stringMonth.add(calendarMonths[i -1]); stringMonths.add(stringMonth); } //print out string months printMonths(stringMonths); //print our all integer months printMonths(intMonths);
  • 26. } privatestaticvoid printMonths(ArrayList<Month> months){ for(Month month: months){ System.out.println("Month = "+ month.get() +" type= "+ month.get().getClass()); } System.out.println(); } } Broncos/test/broncos/MonthTest.javaBroncos/test/broncos/Mont hTest.java/* * To change this license header, choose License Headers in Pro ject Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package broncos; import org.junit.Test; importstatic org.junit.Assert.*; /** * * @author fumba */ publicclassMonthTest{ /** * Test of add method, make sure that Integer months are sav ed as Integers */ @Test
  • 27. publicvoid testAddInteger(){ Month instance =newMonth(); instance.add(1); assertEquals(Integer.class, instance.get().getClass()); } /** * Test of add method, make sure that String months are save d as Strings */ @Test publicvoid testAddString(){ Month instance =newMonth(); instance.add("January"); assertEquals(String.class, instance.get().getClass()); } /** * Test of get method, of class Month. */ @Test publicvoid testGetString(){ Month instance =newMonth(); instance.add("january"); assertEquals(instance.get(),"january"); } /** * Test of get method, of class Month. */ @Test publicvoid testGetInteger(){ Month instance =newMonth(); instance.add(1); assertEquals(instance.get(),1);
  • 28. } } PURPOSE OF ASSIGNMENT The University has a need to develop an Object-Oriented Parking System. Each assignment will build towards creating the parking system. 1. The University has several parking lots and the parking fees are different for each parking lot. 1. Customers must have registered with the University parking office in order to use any parking lot. Customers can use any parking lot. Each parking transaction will incur a charge to their account. 1. Customers can have more than one car, and so they may request more than one parking permit for each car. 1. The University provides a 20% discount to compact cars compare to SUV cars. 1. For simplicity, assume that the Parking Office sends a monthly bill to customer and customer pays it outside of the parking system. 1. Each week you will need to submit an updated Class Diagram along with the other deliverables for the assignment. The goal of this assignment is to create ParkingOffice and ParkingLot classes that demonstrate the use of Java Generics and Collections. You will also need to lookup the Java Enum type and use it to describe the type of the car. ASSIGNMENT INSTRUCTIONS Develop Java code for the ParkingOffice, ParkingLot and Money classes, and the CarType enum, shown in the diagram below. The data attributes and methods are provided as a guide, please feel free to add more as you feel necessary. Explain your choices in the write-up. Note that the ParkingLot and Money
  • 29. classes should be immutable; once created with values they cannot be modified. Class: Money 1. Data Attributes 0. amount : long 0. currency : String Enum: CarType 1. Values 0. COMPACT 0. SUV Class: ParkingLot 1. Data Attributes 0. id : String 0. name : String 0. address : Address 1. Behaviors 1. getDailyRate(CarType) : Money Class: ParkingOffice 1. Data Attributes 0. parkingOfficeName : String 0. listOfCustomers : List<Customer> 0. listOfParkingLots : List<ParkingLot> 0. parkingOfficeAddress : Address 1. Behaviors 1. getParkingOfficeName() : String 1. register(Customer) : void Create a 500-word write-up that explains your assignment. You may address some of the below questions. 1. What did you find difficult or easy? 1. What helped you? 1. What you wish you knew before? 1. Outline any implementation decisions and the reasoning behind those. 1. Include screenshots of the successful code compilation and test execution. Submit a zip file that includes Class diagrams, write-up, Source
  • 30. java files, and Unit Test java files. In your write-up include screen shots of successful unit tests. FORMATTING AND STYLE REQUIREMENTS 1. Write-ups should be between 400 and 500 words. 1. Where applicable, refer to the UCOL Format and Style Requirements (Links to an external site.) on the Course Homepage, and be sure to properly cite your sources using Turabian Author-Date style citations (Links to an external site.). 1. 1. 1. 1. 1. 1. Rubric Programming Rubric Programming Rubric Criteria Ratings Pts This criterion is linked to a Learning OutcomeCode Functionality and Efficiency The class(es) created meet the design specification and therefore accomplishes the task at hand. It/they are written with proper OOP techniques applied. The class(es) are set up with proper interfaces so they can collaborate with other classes and execute the necessary tasks. The code compiles without errors. 60.0 pts This criterion is linked to a Learning OutcomeCode Testing The test code is written to test the class(es) and is designed and implemented properly. 20.0 pts This criterion is linked to a Learning OutcomeCode Quality
  • 31. The code contains only the necessary variables. Variable names are meaningful. The code is well-formatted, easy to read and appropriately commented. The code includes proper error and exception handling. 10.0 pts This criterion is linked to a Learning OutcomeWrite-Up The write-up summarizes lessons learned and any difficulty the student may have encountered. It also outlines any implementation decision and reasoning behind those. Screenshots of the successful code compilation and test execution are included. 10.0 pts Total Points: 100.0