Java™ Programming I - Course Syllabus

pheasantarrogantSoftware and s/w Development

Aug 15, 2012 (4 years and 8 months ago)

1,944 views

Course

Design Guide

PRG/420 Version 10

1





Syllabus

College
of Information Systems
&

Technology

PRG/420

Version
10

Java


Programming I

Copyright ©

2012
, 201
0, 2009, 2008, 2007, 2006, 2005, 2004

by University of Phoenix.

All rights reserved.


Course Description


This course introduces object
-
oriented programming in the context of business applications development. The
basics of the
Java


programming language are covered.

Course Materials


Gaddis, T.

(2011
).
Starting
o
ut w
ith
Java

: Early
o
bjects
(4th ed.). Boston, MA: Pearson.


Supplemental Materials

Cadenhead, R. (2012).
Sams
t
each
y
ourself Java


in

24
h
ours
(6th ed.).
Indianapolis, IN
:
Sams
.


Deitel, P., & Deitel, H. (2012).
Java

: How to
p
rogram

(9th ed.). Boston, MA:
Pearson.


All
electronic
materials are
available
on
the

student
website
.


Week One
:
Java

and Object Oriented Programming Introduction


Details

Due

Points

Objectives

1.1

Explain the
Java


sir瑵慬 䵡c桩湥

Egs䴩j

1.2

Define object
-
oriented terminology.

1.3

Explain documenting, coding, compiling, executing, testing, and
debugging
Java


灲p杲慭s.



Reading

Read

the following sections in Ch. 1, “Introduction to Computers and
g慶a
,”

Starting Out with Java

: Early Objects
:




S散瑩潮
1⸵
Ⱐ"
W桡琠ts⁡ Pro杲慭
䵡摥 ?
"




S散瑩潮
1⸶
,


q桥⁐ro杲慭mi湧⁐r潣敳s




S散瑩潮
1⸷
,


l扪散t
J
lri敮t敤⁐r潧r慭mi湧




Reading

Read

the following sections in Ch. 2, “
g慶a

Fundamentals,” of

Starting Out with Java

: Early Objects
:




S散瑩潮
2⸱
,


q桥⁐慲瑳 ⁡
g慶a

mr潧r慭




S散瑩潮
2⸱.
,


䍯Cm敮瑳




S散瑩潮
2⸱.
,


mr潧r慭min朠gtyle




Video

Watch

the
Deitel
®

video:
"
Dive Into NetBeans
".



Video

Watch

the Deitel
®

video:

ci杵r攠2
J
1
㨠W數t
J
灲楮ti湧⁰牯杲慭
”.



Video

Watch

the Deitel
®

video:

ci杵r攠2
J
T
㨠Ad摩ti潮⁰牯杲慭⁴ 慴a摩splays


Course

Design Guide

PRG/420 Version 10

2




the sum of the two numbers”.

Participation

Participate

in class discussion.


2

DQ 1

Portable
languages and
Component
Reusability

Write

a 200
-

to

300
-
word

short
-
answer response to the following:




J慶a


is⁡ 灯r瑡扬攠e慮g畡来ⰠI湤 扥i湧 慮扪散t
J
潲o敮瑥搠
灲潧p慭mi湧慮杵a来Ⱐi琠als漠o湣o畲慧敳⁣潭灯湥湴
r敵s慢ility.⁈ w 摯敳⁊ava


慣桩敶攠eh敳攠e睯⁩m灯r瑡t琠
f敡瑵牥t㼠䡯眠慲攠w桥s攠ee慴ar敳⁤ sir慢l攠i渠n潤敲渠s潦瑷慲攠
敮gi湥敲楮朿


䑡y 㐠
cri摡y

1

DQ
2

Saving Account
as a Class

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




Y潵 慲攠a⁢ 湫 m慮慧敲⁡湤 y潵 慲攠a敬灩n朠g 湥w b慮k⁴ ll敲e
畮摥rs瑡湤⁴桥i湤 潦⁡ c潵湴n⁴桥⁢慮k f敲s⸠䥦⁡ c畳瑯t敲e
com敳⁩渠nski湧⁴ 潰e渠n 湥w⁳avi湧s

慣c潵湴n⁴ 攠e敬l敲e敤s
瑯t慳k⁷桡琠ti湤 ⁡ c潵湴

灡ss扯潫⁳慶i湧s爠 敲eific慴a
摥灯sit

t桥⁣畳瑯t敲⁷oul搠lik攠e漠o灥渮⁒敭i湤⁴ 攠c畳瑯t敲e
瑨t琠慬l⁡ c潵n瑳 wit栠h畲ub慮k⁡牥⁩湳畲敤⁢y
瑨攠
c䑉C
⸠vo甠
s桯畬搠dxpl慩渠nh慴a慬l⁡ co畮瑳⁥ rn⁳潭攠
i湴nr敳琻t愠s慶i湧s
account’s interest is compounded monthly. You should assign a
unique account number after accepting the customer’s initial
摥灯si琮⁉f⁴ e⁣畳瑯t敲⁣h潯s敳⁴ ⁲散eiv攠e瑡t敭敮t
s

敬散瑲潮icallyⰠI桥⁳yst敭⁷ill⁳敮d⁡ e
J
m慩l wit栠h潮t
桬y
s瑡t敭敮琻⁩f⁴ 攠e畳瑯t敲⁣桯潳敳 t⁴ Ⱐ瑨t渠n 灡p敲e
s瑡t敭敮琠睩ll⁢攠e敮t⁢y慩lⁱ 慲瑥aly.


䥦⁳慶i湧s 慣c潵湴nis⁡ cl慳sⰠIiv攠e渠nx慭灬攠ef⁥ ch 潦⁴ 攠
f潬lo睩湧 慳⁩琠t敬a瑥t⁴ 瑨t琠t慶i湧s⁡ c潵湴n bx灬慩渠yo畲u
r敡s潮i湧 扥hi湤 yo畲⁥uam灬e
.


o

S
uperclass

o

S
ubclass

o

A
ttribute

o

M
ethod

o

I
nstance (object)

o

E
ncapsu
lati
on


Day 4
Friday

1

Individual


Create a
Program

Create

a program in Java™ that displays “Hello world!”. Either a GUI
E杲慰桩c 畳敲⁩n瑥牦慣攩⁰eo杲慭爠湯
J
d啉⁰牯杲慭⁩s⁡ c数瑡tl攮e


Upon successful execution, you will see the words “Hello World”
appears. Take a graphic screen shot that shows the program’s
s畣c敳sf畬⁣潭灩l慴ao渠n湤 數散畴uo渮npav攠e桥⁳cr敥n⁳桯琠t渠n
⹢.瀬p⹪灧爠⹧ f⁦il攮


B散慵s攠乥kB敡湳⁰牯 畣敳畬瑩灬e⁦il敳

f潲湥 灲潪散琬⁴桥 扥s琠
m整e潤⁴ ⁳畢mi琠t渠慳si杮m敮琠ts⁴ zi瀠p桥⁦il敳⸠.桥r攠e桯ul搠扥
潮攠灲潪散琠t潬摥r⁣r敡t敤 by 乥瑂e慮s⁵ i湧 yo畲⁰u潪散琠t慭攮ewi瀠
䑡y 㜠
䵯湤ay

Q

Course

Design Guide

PRG/420 Version 10

3




the folder
.

Submit your NetBeans project zip file

along with the
screen shot.


Note
.

N
o
points will be awarded for submitting the program alone.

Learning Team
Charter


Create

the Learning Team Charter.



C
r敡瑥t愠
䍨慲瑥a⁔桲敡h

in your team’s forum.



P潳琠tll 摩sc畳sio湳 ⁴桥 c桡r瑥爠畮摥r⁴ 攠䍨慲瑥a⁔桲敡搮 Be
s畲攠瑯u敳瑡扬is栠h潭攠e敡m⁧ i摥li湥s⁴桡琠慬lemb敲e⁷ ll
慧r敥 異o渠n湤⁢攠e扬e⁴ ⁦潬low⸠
C潭扩湥⁡ll敭扥r⁩湰畴u
慮搠dill i渠n湥 䱥慲ain朠g敡m⁃桡r瑥爠t潲m.



S畢mit

瑨t⁌ 慲湩湧⁔敡m 䍨慲瑥C
.


䑡y 㜠
䵯湤ay

1



Week
Two:
Java


and Object
-
Oriented Programming Fundamentals


Details

Due

Points

Objectives

2.1

Apply simple I/O and ba
sic computation.

2.2

Apply classes and methods in
Object
-
Oriented

Programming
.

2.3

Design, implement, test, and debug a simple
Java


灲潧r慭
c潮瑡t湩湧扪散瑳.



Reading

Read

Ch. 2
,


gava

c畮d慭敮瑡ls
,”


Starting Out with Java

: Early
Objects

(
except sections already covered in Week One).



Reading

Read

Ch. 3
,


A⁆楲 琠l潯k⁡
䍬慳s敳⁡ 搠佢d散瑳
,”


Starting Out
with Java

: Early Objects
.



Video

Watch

the Deitel
®

video:

ci杵r攠〳
J

J


dra摥B潯k⁣l慳s
摥cl慲慴io渠睩瑨t潮攠e整eo搻d䍲敡tin朠g⁇ra摥B潯k j散琠t湤
c慬li湧 i瑳⁤is灬ayj敳s慧e m整e潤
”.




Video

Watch

the Deitel
®

video:

ci杵r攠〳
J

J
〵㨠䍬慳s⁤散lar慴a潮 wit栠
潮攠e整e潤⁴桡琠桡s⁡⁰ ram整er㬠䍲敡瑥t愠䝲慤敂潯k j散琠t湤
灡ss⁡ p瑲i湧⁴ i瑳⁤is灬ay䵥ss慧攠e整e潤.




Video

Watch

the Deitel
®

video:

ci杵r攠〳
J

J
〸㨠Wra摥B潯k⁣l慳s⁴ 慴a
c潮瑡t湳⁡ c潵rs敎慭攠e湳
瑡tc攠v慲a慢l攠e湤整e潤s⁴ ⁳整ea湤
get its value; Creating and manipulating a GradeBook object”.



Video

Watch

the Deitel
®

video:
“Figure 03
J

J
ㄱ㨠Wra摥B潯k⁣l慳s⁷ 瑨⁡
c潮s瑲畣瑯爠瑯ti湩瑩alize⁴ e c潵rs攠e慭攻edr慤敂潯k⁣潮s瑲畣瑯爠
畳敤⁴ ⁳灥cify
t桥⁣潵rs攠湡m攠e琠瑨攠eim攠e慣栠䝲a摥B潯k j散琠
is created”.



Video

Watch

the Deitel
®

video:

ci杵r攠〳
J

J
ㄴ㨠Acc潵n琠tlass⁷it栠h
c潮s瑲畣瑯爠瑯tvalid慴a 慮d⁩湩ti慬iz攠i湳瑡tce⁶慲楡扬攠e慬a湣攠ef
typ攠eo畢l攻ef湰u瑴t湧⁡湤 潵瑰畴ui湧⁦lo慴a湧
J
灯i湴

湵m扥rs⁷i瑨t
Account objects”.



Course

Design Guide

PRG/420 Version 10

4




Participation

Participate

in class discussion.


2

DQ 1

Blueprint for an
Object

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




A⁣l慳s⁩s⁡⁢ 略灲楮琠t潲⁡n j散琮⁁⁣l慳say 桡v攠

摥f慵lt
c潮s瑲畣瑯爬t

c潮s瑲畣t潲⁷楴栠慲杵a敮瑳,

慣c敳s潲整e潤sⰠ
m畴u瑯爠m整e潤sⰠ,u扬ic⁦i敬摳Ⱐ,湤⁰物v慴攠ei敬摳⸠
䍨潯s攠e
c慴a杯ry

(s畣栠hs⁡湩m慬Ⱐ,敨icl攬e
a湤⁳漠潮

a湤

摥scri扥⁨ow
you w潵l搠摥si杮 愠al慳s

f潲⁩t
.


Day 4
Friday

1

DQ 2

Rubric

Resource
:

Excel scoring instrument


Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




T桥
sc潲楮朠g湳瑲畭敮t

桡s⁡ s散瑩o渠n渠ntyl攮eT桥s攠ar攠e桥
f潵r

cri瑥物愠a潲⁳tyl攺


o

Do identifiers logically describe use?

o

Is indentation used
correctly to illustrate the structure of the
program?

o

Is there a consistent naming convention?

o

Do comments explain processing that is not obvious?


Give an example or counter

example that demonstrates each
criterion. Why is each criterion important to a pr
ogram?


Day 4
Friday

1

Learning Team

Quality Control
Sheet

Resource
:

Excel scoring instrument


Create

a quality control (QC) sheet based on the scoring instrument.
The QC sheet will be used later in this course to evaluate team
members’ programs. As a team, share your ideas with
敡c栠
潴桥r
慮搠dr敡t攠
o湥

c潭m潮⁑䌠C桥整e瑨tt yo畲⁴u慭⁷ill 畳攮ev潵r⁦i湡l
n䌠C桥整esh潵l搠d攠e潭灩l敤⁩渠nicr潳潦t
®

Excel and must include
the following:




Areas to enter the evaluator’s name, the name of the program
扥i湧⁥valu慴a搬da湤⁴桥⁤慴a⁴桥⁰牯杲慭⁩s⁲散敩ved



A⁳整e潦⁤ 瑡tle搠dri瑥ti愠a潲⁥oalu慴a潮⁢慳敤 潮⁴桥⁳c潲o
湧n
i湳瑲畭敮t



T桥⁶慬略s⁡ sig湥d⁴ 敡c栠h潭灯湥湴n潦⁴ 攠eval畡ti潮
扡s敤 潮⁴桥⁳c潲楮朠g湳瑲um敮t



Ar敡s⁦潲⁤整oil敤 敶慬畡tio渠n潭m敮瑳†



O瑨tr⁥ 敭敮瑳⁡ ⁡ 灲p灲p慴a


Submit
your team’s final QC sheet to your instructor.

䑡y 㜠
䵯湤ay

5

Individual

Simple
Commission
C
alculation
P
rogram
Part 1

W
rite

a Java


慰灬ic慴a潮 畳i湧
乥kB敡湳


䥮瑥tr慴敤
䑥a敬o灭敮琠tnviro湭敮琠⡉䑅t

瑨t琠t慬cul慴敳⁴ e⁴ t慬⁡湮u慬
com灥湳慴a潮 ⁡ sal敳灥rs潮⸠
bi瑨敲⁡⁇啉
杲慰hic 畳敲e
i湴nrf慣攩⁰e潧r慭爠湯
J
d啉⁰牯杲慭⁩s⁡ c数瑡tl攮
䍯湳i摥r⁴ e

f潬lo睩湧⁦慣瑯牳
W

䑡y

p慴ar
摡y



Course

Design Guide

PRG/420 Version 10

5







A⁳慬敳灥rs潮 睩ll 敡r渠n⁦i敤
慮湵al
s慬慲y 潦
␲㔬0〰⸰0
.





A⁳慬敳灥rs潮 睩ll 慬s漠牥o敩v攠e⁣潭missi潮⁡ ⁡ sal敳
incentive. Commission is a percentage of the salesperson’s
慮湵慬⁳al敳⸠.桥⁣畲u敮t⁣潭missi潮
is
㄰B

潦⁴ 瑡l⁳慬敳.




T桥⁴ 瑡t 慮n畡l⁣潭灥湳慴a潮⁩s⁴ 攠ei敤⁳al慲y 灬畳 瑨t
commissi潮⁥ r湥d
.


T
桥⁊慶a


慰plica瑩o渠n桯畬搠d敥琠瑨敳攠e散h湩cal⁲e煵ir敭敮瑳W




䍲敡瑥t愠乥tBe慮s⁰牯 散琠慮搠湡m攠e琠
XXX䥁
2

塘X

is y潵r
l慳琠t慭攮e
It is important to use your last name

so that each
student’s project name is unique. When your team evaluation
the members’

灲潧p慭Ⱐ瑨攠e敡m⁷ill湯w 睨潭⁴ 攠er潧r慭
扥l潮朠瑯t†vo畲⁳ys瑥t⁣慮⁡ soo慤 i渠n畬瑩灬e⁰牯 ec瑳
睩瑨潵琠to湦lic瑩n朠gr潪散琠n慭敳⸠
q桥 m扥r
2

i渠n桥 fil攠e慭攠
is⁴ 攠慣慤敭ic⁷敥k m扥r.




T桥⁡ 灬ic慴i潮⁳h潵l搠d慶攠e琠l敡s琠潮e⁣l慳sⰠ,渠
慤摩瑩潮⁴ ⁴桥
application’s controlling class (a controlling class is where the
m慩渠n畮c瑩潮⁲敳id敳F
.




T桥r攠e桯畬d⁢ 灲潰敲⁤ecum敮瑡ti潮 i渠n桥⁳o畲u攠e潤e
.




T桥⁡ 灬ic慴i潮⁳h潵l搠dsk⁴ 攠es敲⁴漠o湴nr⁡湮u慬⁳al敳Ⱐ,湤⁩琠
s桯畬搠dis灬ay⁴桥⁴潴ol
a湮畡l⁣潭灥湳慴i潮
.


B散慵s攠乥NB敡湳⁰牯 畣敳畬瑩灬e⁦il敳⁦潲湥 灲潪散琬⁴桥 扥s琠
m整e潤⁴ ⁳畢mi琠t渠慳si杮m敮琠ts⁴ zi瀠p桥⁦il敳⸠.桥r攠e桯ul搠扥
潮攠灲潪散琠t潬摥r⁣r敡t敤 by 乥瑂e慮s⁵ i湧 yo畲⁰u潪散琠t慭攮eZi瀠
瑨t⁦潬d敲⸠
S畢mi琠yo畲u
乥NB敡湳⁰牯 散琠zi瀠pile
.




Week
Three:
Conditional and Iterative Structures


Details

Due

Points

Objectives

3.1

Apply
standard conditional structures.

3.2

Apply standard iterative structures
.

3.3

Design, implement, test, and debug a simple
Java


program
containing structures.



Reading

Read

Ch. 4
,


Decision Structure
,”

of
Starting Out with Java

: Early
Objects
.



Reading

Read

Ch. 5
,


Loops and Files
,”

of
Starting Out with Java

: Early
Objects
(except section 5.10)
.



Course

Design Guide

PRG/420 Version 10

6




Video

Watch

the Deitel
®

video:
“Figure 2
J
ㄵW⁃潭灡r攠en瑥ters⁵ i湧⁩f
statements, relational operators and equality operators”.



Video

Watch

the Deitel
®

video:

ci杵r攠〴
J

J
〷㨠Wra摥B潯k⁣l慳s⁴ 慴a
s潬v敳⁣l慳s
J
慶敲e来 灲潢l敭⁵ i湧⁣潵湴敲
J
controlled repetition”.



Video

Watch

the Deitel
®

video:

ci杵r攠〴
J

J
㄰㨠Wra摥B潯k⁣l慳s⁴ 慴a
s潬v敳⁴ 攠el慳s
J
慶敲e来 灲潢p敭⁵ i湧⁳敮ti湥l
J
c潮瑲olle搠
repetition”.



Video

Watch

the Deitel
®

video:
“Figure 05
J
07: do…while repetition
statement”.



Video

Watch

the Deitel
®

video:

ci杵r攠〵
J
0ㄺ1䍯畮t敲
J
c潮瑲潬l敤
repetition with the while repetition statement”.




Video

Watch

the Deitel
®

video:

ci杵r攠〵
J
0㈺2䍯畮t敲
J
c潮瑲潬l敤
repetition with the for repetition statement”.




Participation

Participate

in class discussion.


2

DQ
1

Conditions

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




䍯湳id敲⁴e攠e潬lowi湧⁣潮摩ti潮s:


CONDITION 1
: while ( !(cChoice == 'Q' || cChoice == 'q') )

CONDITION 2
: while ( cChoice != 'Q' || cChoice != 'q' )


Do Conditions 1 and 2
give the same result? What tool or
technique would you use to explain the result?

Day 4
Friday

1

DQ 2

Three Kinds of
Loops

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




T桥r攠er攠ei湤s o潰s

f潲

l潯瀬 while

l潯p
I

慮搠摯

whil攠
l潯瀮p啮摥r 睨wc栠hirc畭st慮c敳 w潵l搠敡c栠hi湤 潦潯瀠扥
m潲攠慰灲潰pi慴政 bx灬慩n yo畲u慮sw敲e⁵ i湧⁳p散ific
數慭灬敳.

䑡y 㐠
cri摡y


Learning Team

Quality Control
Review

As one of the requirements for the Bachelor of Science in
Information Technology program,
you

must design and develop a
computer program using professional principles and standards



C
omplete

an evaluation of each team member’s
t敥k⁔w漠
i湤ivid畡l⁰牯杲慭
畳i湧

瑨攠元⁳桥e琠yo畲⁴u慭⁤ vel潰敤 i渠
teek qw漮o
䍯湳id敲

瑨t⁦潬lo睩n机g




T漠o慩渠n潩湴nⰠ,敭扥r mus琠tval畡t攠et敡s琠t湥 潴o敲e
member’s program and participate in the team discussion.




M
慫攠e畲攠瑨u琠瑨t⁳o畲u攠c潤攠e畢mi瑴t搠d潲⁥val畡ti潮⁩s⁴h

sam攠e湥⁴桡琠is⁳畢mi瑴t搠f潲⁴桥oin摩vi摵al⁡ si杮m敮琮t


䑡y 㜠
䵯湤ay

5

Course

Design Guide

PRG/420 Version 10

7






As⁡ 瑥慭Ⱐ,杲敥渠n 摥a摬i湥⁦潲em扥rs⁴ ⁨ ve⁴桥
敶alu慴a潮s⁣潭灬整e搮⁔桩s⁩s c敳s慲y⁳漠o桥⁴敡m⁨ s⁴ m攠
to compile all members’ evaluations. Team members who do
湯琠t敥琠瑨攠敶慬畡t
i潮⁤ 慤li湥 will 湯琠t散敩v攠e畬l⁣r敤it⁦潲o
瑨ts⁡ sig湭敮琮




E慣栠
L
敡rni湧
T
敡m s桯畬搠dr条湩z攠e桥ir⁩n灵琠慮搠d畢mi琠
潮o

fil攠enly.




N
潴o⁴桡琠畳in朠gop
-
異⁣omm敮瑳
s畣栠hs‼S䡉HT
-
F㈾ i渠
䵩cr潳潦t
®

Excel) is not acceptable. Team members are
encouraged to provide unique comments for each other.


Submit

your team’s compl
整e搠元⁳桥整
.

Individual

Simple
Commission
C
alculation
P
rogram
Part 2


Modify

the Week Two Java


慰灬ic慴a潮⁵ i湧⁊慶a


乥瑂敡湳


䥄f⁴漠o敥琠瑨敳攠慤di瑩潮慬⁡n
搠dh慮g敤⁢畳in敳s⁲敱畩r敭敮瑳⸠
bit桥r⁡ dr䤠⡧f慰桩c⁵ 敲ei湴nrf慣攩⁰e潧r慭爠湯
J
d啉⁰牯杲慭⁩s
慣c数瑡tl攮




T桥⁣om灡ny⁨慳⁲散敮tly c桡湧e搠d瑳⁴ 瑡l⁡湮u慬
com灥湳慴a潮⁰潬icy⁴漠
im灲潶攠eal敳
.




A⁳慬敳灥rs潮 睩ll⁣o湴n湵e⁴ ⁥慲渠愠ai敤⁳al慲y
␲㔬50〮00
.

T桥⁣畲u敮琠t慬敳⁴慲来琠a潲⁥ 敲y⁳al敳灥rs潮
is

2
0,〰0
.




T桥⁳慬敳⁩湣e湴nve will 潮ly⁳瑡牴t睨敮 㠰┠潦⁴ 攠eal敳⁴ r来琠
is整e T桥⁣畲u敮琠t潭missi潮 is
㄰1

潦⁴ 瑡l⁳
慬敳.




䥦⁡ s慬敳灥rs潮 數c敥摳⁴h攠e慬敳⁴慲来琬⁴ e⁣潭missi潮 睩ll
i湣r敡s攠扡s敤 潮 慮⁡ cel敲慴eo渠n慣瑯爮⁔桥⁡ c敬敲e瑩潮
f慣瑯爠
is‱ 2
5

睨wch敡湳⁡ l⁳慬敳 慢ov攠瑨t⁳al敳⁴ar来琠will
扥⁥慲湩湧′㔥⁣潭missi潮⸠




T桥⁡ 灬ic慴i潮⁳h潵l搠dsk⁴ 攠es
敲⁴漠o湴nr⁡湮u慬⁳al敳Ⱐ,湤⁩琠
s桯畬搠dis灬ay⁴桥⁴潴ol⁡湮畡l⁣潭灥湳慴i潮
.




T桥⁡ 灬ic慴i潮⁳h潵l搠dlso⁤ splay⁡ t慢l攠ef⁰ 瑥ttial 瑯tal
慮湵慬⁣潭灥湳慴i潮 瑨tt⁴桥⁳慬敳灥rs潮⁣o畬搠dave 敡r湥搬d
in $5000 increments above the salesperson’s annual sa
l敳Ⱐ畮til
it reaches 50% above the salesperson’s annual sales.


p慭灬攠
q
慢l攺⁁ss畭i湧⁡ 瑯tal⁡ 湵al⁳al敳 ․ 〰ⰰ〰ⰠI桥
瑡tl攠wo畬搠d潯kik攠e桩s㨠


Total Sales

Total Compensation

100,000

<<Program calculated value>>

105,000

<<Program calculated
value>>

110,000

<<Program calculated value>>

115,000

<<Program calculated value>>

Day
5

Satur
day

15

Course

Design Guide

PRG/420 Version 10

8




120,000

<<Program calculated value>>

125,000

<<Program calculated value>>

130,000

<<Program calculated value>>

135,000

<<Program calculated value>>

140,000

<<Program
calculated value>>

145,000

<<Program calculated value>>

150,000

<<Program calculated value>>


The Java


慰plica瑩o渠n桯畬搠慬s漠o敥琠瑨敳攠e散h湩c慬
r敱畩r敭敮瑳W




䍲敡瑥t愠乥tBe慮s⁰牯 散琠慮搠湡m攠e琠
XXX䥁
3

塘X

is y潵r
l慳琠t慭攮e
It is important to
use your last name

so that each
student’s project name is unique. When your team evaluation
the members’ program, the team will know whom the program
扥l潮朠瑯t†vo畲⁳ys瑥t⁣慮⁡ soo慤 i渠n畬瑩灬e⁰牯 ec瑳
睩瑨潵琠to湦lic瑩n朠gr潪散琠n慭敳⸠
q桥 m扥r
3

i渠n桥 fil攠e慭攠
is⁴ 攠慣慤敭ic⁷敥k m扥r.




T桥⁡ 灬ic慴i潮⁳h潵l搠d慶攠e琠l敡s琠潮e⁣l慳sⰠ,渠nd摩瑩潮⁴ ⁴桥
application’s controlling class
.



T桥⁳潵rc攠e潤攠e畳琠t敭潮s瑲慴a⁴桥 畳攠ef⁣潮di瑩o湡l 慮d
l潯灩n朠g瑲畣瑵牥t
.



T桥r攠e桯畬d⁢ 灲潰敲⁤ecum
敮瑡ti潮 i渠n桥⁳o畲u攠e潤e
.


B散慵s攠乥NB敡湳⁰牯 畣敳畬瑩灬e⁦il敳⁦潲湥 灲潪散琬⁴桥 扥s琠
m整e潤⁴ ⁳畢mi琠t渠慳si杮m敮琠ts⁴ zi瀠p桥⁦il敳⸠.桥r攠e桯ul搠扥
潮攠灲潪散琠t潬摥r⁣r敡t敤 by 乥瑂e慮s⁵ i湧 yo畲⁰u潪散琠t慭攮eZi瀠
瑨t⁦潬d敲⸠
S畢mi琠yo畲

乥NB敡湳⁰牯 散琠zi瀠pile
.



Week
Four:
Fundamental Data Structures


Details

Due

Points

Objectives

4.1

Apply arrays an
d
ArrayList in
Java


p
rogramming
.

4.2

Apply strings in
Java


p
rogramming
.

4.3

Design, implement, test and debug a simple Java


program
containing arrays and strings.



Reading

Read

Ch. 7
,


Arrays and the ArrayList Class
,”

of
Starting Out with
Java

: Early Objects
.



Reading

Read

Ch. 8
,


Text Processing and Wrapper Classes
,”

of
Starting
Out with Java

: Early Objects
.




Video

Watch

the Deitel
®

video:

Figure 07
-
02: Initializing the elements of
an array to default values of zero”.



Course

Design Guide

PRG/420 Version 10

9




Video

Watch

the Deitel
®

video:

ci杵r攠〷
J
0㌺3䥮iti慬izi湧⁴桥 敬敭敮瑳
慮⁡牲ay 睩瑨t慮⁡牲ay ini瑩慬iz敲e.




Video

Watch

the Deitel
®

video:
“Figure 07
J
2㐺Qd敮敲楣⁁rray䱩s琠t潬l散ti潮
demonstration”.



Video

Watch

the Deitel
®

video:

ci杵r攠〷
J
0㐺Q䍡lcul慴i湧 瑨t⁶al略s⁴漠o攠
placed into the elements of an array”.



Video

Watch

the Deitel
®

video:

ci杵r攠〷
J
0㔺5䍯C灵瑩湧⁴桥⁳畭f⁴ 攠
elements of an array”.



Participation

Participate

in class discussion.


2

DQ 1

ArrayList

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




Wh慴ais⁴ 攠eiff敲敮e攠e整睥敮
a
rrays⁡湤 ArrayList
㼠Wh慴a慲攠
瑨t⁡摶慮t慧敳⁡湤 摩sa摶慮瑡来s ⁡ ArrayLis琬t慮搠w桥渠
s桯畬搠yo甠畳攠en⁁rrayLis琠tv敲⁡⁳im灬攠
a
rray㼠

䑡y 㐠
Fri摡y

1

SQ 2

StringBuilder

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




Wh慴ais⁴ 攠eiff敲敮e攠e整睥敮
s
瑲i湧⁡湤 S瑲i湧Builder㼠W桡t

慲攠瑨a⁡ va湴n来s⁡ 搠dis慤v慮t慧敳 ⁡ S瑲i湧B畩ld敲Ⱐ慮e
睨敮⁳h潵l搠y潵⁵ 攠愠a瑲i湧B畩l摥r 潶敲⁡⁳im灬攠S瑲i湧㼠

䑡y 㐠
Fri摡y

1

Learning Team

Quality Control
Review

As one of the requirements for the Bachelor of
Science in
Information Technology program, students must design and develop
a computer program using professional principles and standards
.



C
omplete

an evaluation of each team member’s
t敥k⁔桲敥h
䥮fivi摵慬 灲潧p慭⁡ si杮m敮琠tr潭 teek q桲敥

u
si湧⁴ 攠元

s桥整ey潵r⁴敡m⁤ velo灥d⁩渠t敥k qw漮o
C潮si摥r

瑨攠e潬lo睩n机g




T漠o慩渠n潩湴nⰠ,敭扥r mus琠tval畡t攠et敡s琠t湥 潴o敲e
member’s program and participate in the team discussion.




M
慫攠e畲攠瑨u琠瑨t⁳o畲u攠c潤攠e畢mi瑴t搠d潲⁥val畡ti潮⁩s⁴桥
sam攠e湥⁴
桡琠is⁳畢mi瑴t搠f潲⁴桥oin摩vi摵al⁡ si杮m敮琮t




As⁡ 瑥慭Ⱐ,杲敥渠n 摥a摬i湥⁦潲em扥rs⁴ ⁨ ve⁴桥
敶alu慴a潮s⁣潭灬整e搮⁔桩s⁩s c敳s慲y⁳漠o桥⁴敡m⁨ s⁴ m攠
to compile all members’ evaluations. Team members who do
湯琠t敥琠瑨攠敶慬畡ti潮⁤ 慤li湥

will 湯琠t散敩v攠e畬l⁣r敤it⁦潲o
瑨ts⁡ sig湭敮琮




E慣栠
L
敡rni湧
T
敡m s桯畬搠dr条湩z攠e桥ir⁩n灵琠慮搠d畢mi琠
潮o

fil攠enly.




N
潴o⁴桡琠畳in朠gop
-
異⁣omm敮瑳
s畣栠hs‼S䡉HT
-
F㈾ i渠
䵩cr潳潦t
®

Excel) is not acceptable. Team members are
encouraged to provide unique comments for each other.

Day 7
Monday

5

Course

Design Guide

PRG/420 Version 10

10





Submit

your team’s compl
整e搠元⁳桥整.

Individual

Simple
C
ommissio
n
Calculation
Program Part 3


Modify

the Week Three Java


慰灬ic慴a潮⁵ i湧⁊慶a


乥瑂敡湳


䥄f⁴ 敥琠瑨敳攠ed摩ti潮慬 慮
搠d桡n来d⁢ sin敳s
r敱畩r敭敮瑳⸠
bi瑨敲⁡⁇啉rE杲慰桩c 畳敲⁩n瑥牦慣攩⁰eo杲慭爠湯
J
d啉⁰牯杲慭⁩s⁡ c数瑡tl攮




T桥⁡ 灬ic慴i潮 睩ll 湯w⁣om灡r攠e桥⁴ 瑡l⁡湮u慬⁣潭灥湳慴i潮
潦⁡ e慳琠
tw漠oal敳p敲e潮s
.




䥴Iwill⁣alc畬慴a 瑨t 慤diti潮慬⁡ 潵湴n潦⁳慬敳⁴ a琠t慣栠
s慬敳灥rs潮畳琠tc桩敶攠e漠o慴a栠hr⁥ c敥搠dh攠ei杨敲e⁴ 攠
瑷漠t慲湥as.




T桥⁡ 灬ic慴i潮⁳h潵l搠dsk⁦潲⁴桥o湡m攠ef⁥ c栠h慬敳灥rs潮
扥i湧⁣潭灡r敤⸠


T桥⁊慶a


慰plica瑩o渠nh
o畬搠慬s漠o敥琠瑨敳攠e散h湩c慬
r敱畩r敭敮瑳W




䍲敡瑥t愠乥tBe慮s⁰牯 散琠慮搠湡m攠e琠
XXX䥁
4

塘X

is y潵r
l慳琠t慭攮e
It is important to use your last name

so that each
student’s project name is unique. When your team evaluation
the members’ program, the team

will湯w 睨潭⁴ 攠er潧r慭
扥l潮朠瑯t†vo畲⁳ys瑥t⁣慮⁡ soo慤 i渠n畬瑩灬e⁰牯 ec瑳
睩瑨潵琠to湦lic瑩n朠gr潪散琠n慭敳⸠
q桥 m扥r
Q

i渠n桥 fil攠e慭攠
is⁴ 攠慣慤敭ic⁷敥k m扥r.




T桥⁡ 灬ic慴i潮⁳h潵l搠d慶攠e琠l敡s琠潮e⁣l慳sⰠ,渠nd摩瑩潮⁴ ⁴桥
慰plica
tion’s controlling class
.



T桥⁳潵rc攠e潤攠e畳琠t敭潮s瑲慴a⁴桥 畳攠ef⁁rray
ArrayList
.



T桥r攠e桯畬d⁢ 灲潰敲⁤ecum敮瑡ti潮 i渠n桥⁳o畲u攠e潤e
.


B散慵s攠乥NB敡湳⁰牯 畣敳畬瑩灬e⁦il敳⁦潲湥 灲潪散琬⁴桥 扥s琠
m整e潤⁴ ⁳畢mi琠t渠慳si杮m敮琠ts⁴ zi瀠
t桥⁦il敳⸠.桥r攠e桯ul搠扥
潮攠灲潪散琠t潬摥r⁣r敡t敤 by 乥瑂e慮s⁵ i湧 yo畲⁰u潪散琠t慭攮eZi瀠
瑨t⁦潬d敲⸠
S畢mi琠yo畲⁎整B敡湳⁰牯 散琠zi瀠pile
.

Day
5

Satur
day

20



Week
Five: Advanced
Java


and Object
-
Oriented

Programming


Details

Due

Points

Objectives

5.1

Apply classes and methods in
Object
-
Oriented Programming

at
an advanced level.

5.2

Explain inheritance
.

5.3

Design, implement, test and debug a simple Java


program
addressing inheritance.



Course

Design Guide

PRG/420 Version 10

11




Reading

Read

Ch. 6
,


A p散潮搠do潫⁡ ⁃ 慳s敳⁡ d⁏扪散瑳
,”


Starting Out
with Java

: Early Objects
.



Reading

Read

the following sections in Ch. 9, “Inheritance,”

Starting Out
with Java

: Early Objects
:




S散瑩潮
9⸱
,

"
W桡琠ts⁉ 桥ri瑡tc政
"



S散瑩潮
9⸲
,

"
䍡llin朠gh攠eu灥rcl慳s⁃潮s瑲畣瑯t
"



S散瑩潮
9⸳
,

"
Ov敲eidi湧 Su灥rcl慳s⁍ t桯摳
"



S散瑩潮
9⸴
,


mr潴oc瑥搠dem扥rs




S散瑩潮
9⸵
,


Cl慳s敳⁴ a琠t湨敲楴⁦rom⁓畢cl慳s敳




Video

Watch

the Deitel
®

video:

ci杵r攠〸
J
0㌺3mriv慴a敭b敲e ⁣l慳s
Time1 are not accessible”.



Video

Watch

the Deitel
®

video:

ci杵r攠〸
J
0㐺Q瑨is⁵ 敤⁩m灬ici瑬y⁡ 搠
explicitly to refer to members of an object”.



Video

Watch

the Deitel
®

video:

ci杵r攠〸
J

J
〶㨠Wim攲⁣l慳s⁷ 瑨t
overloaded constructors”.




Participation

Participate

in class discussion.


2

DQ 1

Programming
Challenges

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




䥮Iyo畲灩nio測n睨慴 慲攠瑨攠e桲敥⁢ 杧敳琠t桡lle湧敳 i渠nl慮nin朠
慮搠摥sig湩湧 愠a潬畴u潮⁦潲⁡⁰牯杲慭mi湧⁰牯扬敭㼠?h慴ac慮
you⁤ 瑯tov敲e潭攠e桥s攠c桡ll敮g敳㼠?ow wo畬搠you

慰灬y
瑨ts攠e散桮i煵敳⁴漠oh攠ero杲慭s⁩渠n桩s⁣l慳s?


䑡y 㐠
Fri摡y

1

DQ 2

“Is
J
a”
剥oa瑩o湳桩p

Write

a 200
-

to 300
-
word short
-
answer response
to

the following:




Using an example from your work or daily life, describe an “is
J
a”
r敬慴i潮shi瀮 t桹 is⁡
n

“is
J
a” relationship important when
摥sig湩n朠g渠n湨敲i瑡tc攠ee瑷敥n⁣l慳s敳?

䑡y 㐠
cri摡y

1

Learning Team

Reusability

In the real world, an entire program

is rarely written

from scratch. It is
very likely that there are classes or functions that already
exist. The
key to using these existing modules successfully depends on how
modular the classes or functions are written.


In this
L
earning
T
eam assignment,
your

mission is to take a section
of one team member’s Week Four program and replace a similar
section of another team member’s Week Four program.


q漠o慩渠n潩湴nⰠI敭扥r mus琠t慲瑩cip慴a i渠瑨t 摩sc畳si潮⁡湤
c潮瑲i扵瑥tt漠oh攠e潮t敮琠潦⁴ 攠牥e潲琠o湤⁴桥
灲潧r慭⁣潤攠e桡湧敳.


Submit

the following

deliverables for this
L
earning
T
eam assignment
:






㜰0
-

瑯t㄰50
-
w潲搠
灡p敲e摥scri扩湧⁴桥⁦潬lo睩湧:

Day 7
Monday

15

Course

Design Guide

PRG/420 Version 10

12





o

How the two programs were selected

o

The process of identifying the classes or functions for
replacement

o

The
changes needed to make the final Java


慰灬ic慴i潮
灲潧p慭⁷潲o⁣潲o散瑬y†




T桥⁎整 e慮s⁰牯 散琠zi瀠pil攮


Copyright


University of Phoenix® is a registered trademark of Apollo Group, Inc. in the United States and/or other countries.


Microsoft®, Windows®, and Windows NT® are registered trademarks of Microsoft Corporation in the United States and/or other co
untries.
All other company and product names are trademarks or registered trademarks of their respective companies. Use of these ma
rks is not
intended to imply endorsement, sponsorship, or affiliation.


Edited in accordance with University of Phoenix® editorial standards and practices.