PRG 420 GENIUS Education Expert / prg420genius.com

Embed Size (px)

Citation preview

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    1/24

    PRG 420 GENIUS Education Expert / prg420genius.com

    FOR MORE CLASSES VISIT www.prg420genius.com

    http://www.prg420genius.com/http://www.prg420genius.com/

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    2/24

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    3/24

    RG 420 Week 1 D 1

    • Wat%) t)e *irst and se%ond videos *or Week 1+ E,'lain a little a#outt)e -ava .irtual /a%)ine w)at it e,e%utes )ow it mig)t #e similar to an ot)er language and )ow it is di**erent *rom a native language su%) as C +

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    4/24

    RG 420 Week 1 D 2

    • -ava is a 'orta#le language and #eing an o#$e%t3oriented 'rogramming language it also en%ourages %om'onent reusa#ilit + How does -ava a%)ieve t)ese two im'ortant *eatures How are t)ese *eatures desira#le in modern so*tware engineering

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    5/24

    RG 420 Week 1 D !

    • 5ou are a #ank manager and ou are )el'ing a new #ank teller understand t)e kind o* a%%ounts t)e #ank o**ers+ I* a %ustomer %omes in asking to o'en a new savings a%%ount t)e teller needs to ask w)at kind o* a%%ount33'ass#ook savings or %erti*i%ate o* de'osit33t)e %

    ustomer would like to o'en+ Remind t)e %ustomer t)at all a%%ounts wit) our #ank are insured # t)e 6DIC+ 5ou s)ould e,'lain t)at alla%%ounts earn some interest7 a savings a%%ount8s interest is %om'ounded mont)l + 5ou s)ould assign a uni9ue a%%ount num#er a*tera%%e'ting t)e %ustomer8s initial de'osit+

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    6/24

    RG 420 Week 1 Individual Assignment Helloworld• I"DI.ID:A; A

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    7/24

    RG 420 Week 2 D 1

    • Please wat%) t)e *irst t)ree videos *or Week 2 &around 40 minutes(+E,'lain )ow an outside %lass ma #e given a%%ess to *ind t)e valueo* a 'rivate instan%e varia#le or to %)ange t)e value o* a 'rivate instan%e varia#le+ W) does t)is add value to our 'rogram

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    8/24

    RG 420 Week 2 D 2

    • W)at are t)e t)ree t 'es o* errors t)at ou %an en%ounter in a -ava 'rogram Des%ri#e t)em and e,'lain )ow ou would minimi e

    t)e errors+ W)at are some e,am'les o* errors t)at ou )ave seen #e*ore

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    9/24

    RG 420 Week 2 D !

    • A %lass is a #lue'rint *or an o#$e%t+ A %lass ma )ave a de*ault %onstru%tor a %onstru%tor wit) arguments a%%essor met)ods mutatormet)ods 'u#li% *ields and 'rivate *ields+ C)oose a %ategor &su%)as animal ve)i%le and so on( and des%ri#e )ow ou would design

    a %lass *or it+

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    10/24

    RG 420 Week 2 Individual Assignment "et#eans ro$e%t &annual %om'ensation(• I"DI.ID:A; A

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    11/24

    RG 420 Week ! D 1

    • Please wat%) t)e *irst and t)e *i*t) &ne,t to t)e last( videos *or Week ! &*eel *ree to use t)e trans%ri'ts too ( + =ell me a#out t)e similarities #etween t)e %onditionals in i* statements and t)e %onditionalsin w)ile statements+

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    12/24

    RG 420 Week ! D 2

    • Convert t)e *ollowing 'rogram *rom *or loo' to w)ile loo'+ %lass Arit)meti%Progression K 'u#li% stati% void main &

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    13/24

    RG 420 Week ! D !

    • =)ere are ! kinds o* loo'sQ*or loo' w)ile loo' and do w)ile loo'+ :nder w)i%) %ir%umstan%es would ea%) kind o* loo' #e more a''ro'riate E,'lain our answers using s'e%i*i% e,am'les+

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    14/24

    RG 420 Week ! D 4

    • Consider t)e *ollowing %onditions C>"DI=I>" 1 w)ile & &%C)oi%eNN SS %C)oi%e NN 9 ( ( C>"DI=I>" 2 w)ile & %C)oi%e N SS )oi%e N 9 ( Do Conditions 1 and 2 give t)e same result W)at tool

    or te%)ni9ue would ou use to e,'lain t)e result

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    15/24

    RG 420 Week ! Individual Assignment "et#eans ro$e%t &annual %om'ensation wit) %omm

    ission(• I"DI.ID:A; A

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    16/24

    RG 420 Week 4 D 1

    • Assuming ou want an arra &named man ( o* seven ints w)at would #e t)e easiest wa to write t)e %ode i* ou wanted man to %ontain all eros W)at i* ou wanted man to %ontain a sele%tion o* seven values t)at were not all eros W)at would #e t)e su#s%ri'ts o

    * all t)e elements o* man

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    17/24

    RG 420 Week 4 D 2

    • W)at is t)e di**eren%e #etween arra s and Arra ;ist W)at are t)eadvantages and disadvantages o* an Arra ;ist and w)en s)ould ou use an Arra ;ist over a sim'le arra

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    18/24

    RG 420 Week 4 D !

    • W)at is t)e di**eren%e #etween string and

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    19/24

    RG 420 Week 4 Individual Assignment "et#eans ro$e%t &annual %om'ensation %om'ariso

    n(• I"DI.ID:A; A

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    20/24

    RG 420 Week D 1

    • Please e,'lain one use *or a stati% varia#le in a %lass+ Please e,'lain )ow ou mig)t use one stati% met)od & not main&( ( in a %lass+

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    21/24

    RG 420 Week D 2

    • In our o'inion w)at are t)e t)ree #iggest %)allenges in 'lanningand designing a solution *or a 'rogramming 'ro#lem W)at %an ou do to over%ome t)ese %)allenges How would ou a''l t)ese te%)ni9ues to t)e 'rograms in t)is %lass

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    22/24

    RG 420 Week D !

    • :sing an e,am'le *rom our work or dail li*e des%ri#e an Uis3aU relations)i'+ W) is an Uis3aU relations)i' im'ortant w)en designingan in)eritan%e #etween %lasses

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    23/24

    RG 420 Week =eam Assignment Resua#ilit&2 a'ers(• In t)e real world an entire 'rogram is rarel written *rom s%rat%)+

    It is ver likel t)at t)ere are %lasses or met)ods t)at alread e,ist+=)e ke to using t)ese e,isting modules su%%ess*ull de'ends on )ow modularl t)e %lasses or met)ods are written+ In t)is ;earning

    =eam assignment our mission is to take a se%tion o* one team mem#er8s Week 6our 'rogram and re'la%e a similar se%tion o* anot)er team mem#er8s Week 6our 'rogram+

  • 8/18/2019 PRG 420 GENIUS Education Expert / prg420genius.com

    24/24

    PRG 420 GENIUS Education Expert / prg420genius.com

    FOR MORE CLASSES VISIT www.prg420genius.com

    http://www.prg420genius.com/http://www.prg420genius.com/