SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
PRG 421 Entire Course
JAVA PROGRAMMING II
Entire Course Link
https://uopcourses.com/category/prg-421/
PRG 421 Week 1 Individual: Singleton Pattern Program
Write a Java program (non-GUI preferred) to demonstrate the Singleton pattern.
The key parts of the singleton pattern are:
 A private static variable to store the single instance called the singleton
 A public static method for callers to get a reference to the instance
 A private constructor so no callers can instantiate the object directly
Using these key parts, write a Java program that will allow a user of the program to
assign only one runner to each of the 8 lanes of running track in a field.
Include a brief documentation (in the code or in a separate document) to explain the input
(if any), processing and output of the program.
Submit your assignment using the Assignment Files tab above.
PRG 421 Week 2 Individual: ArrayList Program
Write a Java program (non-GUI preferred) to demonstrate the use of an ArrayList.
The program should allow a user to do the following:
 Add, edit, delete different types of animals
 Select an animal, and the corresponding characteristics will be displayed (such as
color, vertebrate or invertebrate, can swim, etc.)
 The program must use ArrayList(s) to work with these animal objects.
Include a brief documentation (in the code or in a separate document) to explain the input
(if any), processing and output of the program.
Submit your assignment using the Assignment Files tab above.
PRG 421 Week 2 Learning Team: Program
Improvement I
Select one program submitted by a team member in Week One.
Suggest at least 3 ways to improve the selected program. One of these improvements
must be related to applying assertion, exceptions, data formatting or localization.
Write code and test the improved program. Deliverables should include:
 The source code file(s) of the improved program.
 A 2- to 3-page paper on the approach the team has taken to improve the program.
 Why some of the changes are relevant to this week's objectives.
 Any challenges the team encountered and suggest any future improvements.
Submit your assignment using the Assignment Files tab above.
PRG 421 Week 3 Individual: Iterator Program
Write a Java program (non-GUI preferred) to demonstrate the use of Iterator.
The program should allow a user to do the following:
 Allow the reading of a collection of animal objects from an external file.
 Output on screen the content of a collection of animal objects.
 Use Iterator to achieve these goals.
Include a brief documentation (in the code or in a separate document) to explain the input
(if any), processing and output of the program.
Submit your assignment using the Assignment Files tab above.
PRG 421 Week 3 Learning Team: Program
Improvement II
Select one program submitted by a team member in Week Two.
Suggest at least 3 ways to improve the selected program. One of these improvements
must be related to the use of generic class, a collection or Java File I/O.
Write code and test the improved program. Deliverables should include:
 The source code file(s) of the improved program.
 A 2- to 3-page paper on the approach the team has taken to improve the program.
 Why some of the changes are relevant to this week's objectives.
 Any challenges the team encountered and suggest any future improvements.
Submit your assignment using the Assignment Files tab above.
PRG 421 Week 4 Individual: JDBC Program
Write a Java program (non-GUI preferred) to demonstrate the use of JDBC.
The program should allow a user to do the following:
 Write a list of animal and its characteristics to a database using JDBC
 Display the characteristics of an animal when that animal is selected.
Include a brief documentation (in the code or in a separate document) to explain the input
(if any), processing and output of the program.
Submit your assignment using the Assignment Files tab above.
Note from Instructor:
To assist, I have included a demo file "JavaDB week 4 Demo code" of a database and
installation instructions.
PLEASE USE THIS DEMO DATABASE. I have had students want to use other
database engines and it makes it very difficult when that happens. This is not a class in
different databases, but just how to connect Java to a database, and thus we are going to
use the simplest one possible, mySQL.
PRG 421 Week 4 Learning Team: Program
Improvement III
Select one program submitted by a team member in Week Three.
Suggest at least 3 ways to improve the selected program. One of these improvements
should be related to the use of JDBC.
Write code and test the improved program. Deliverables should include:
 The source code file(s) of the improved program.
 A 2- to 3-page paper on the approach the team has taken to improve the program.
 Why some of the changes are relevant to this week's objectives.
 Any challenges the team encountered and suggest any future improvements.
Submit your assignment using the Assignment Files tab above.
PRG 421 Week 5 Individual: Concurrent Programming
Write a Java program (non-GUI preferred) that has a method named atomic().
Demonstrate in the program how two threads can, sometimes, invoke atomic()
concurrently.
Create a second version of the program in which the two threads cannot invoke atomic
concurrently.
Submit both programs using the Assignment Files tab above.
To assist, I have included a demo file of a multi-thread program. Remember that the
ideal program demonstrates threading in action.
PRG 421 Week 5 Learning Team: Program
Improvement IV
Select one program submitted by a team member in Week Four.
Suggest at least 3 ways to improve the selected program. One of these improvements
should be related to the use of thread.
Write code and test the improved program. Deliverables should include:
 The source code file(s) of the improved program.
 A 2- to 3-page paper on the approach the team has taken to improve the program.
 Why some of the changes are relevant to this week's objectives.
 Any challenges the team encountered and suggest any future improvements.
Submit your assignment using the Assignment Files tab above.

Weitere ähnliche Inhalte

Was ist angesagt?

CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comBartholomew21
 
CIS 406 Inspiring Innovation/tutorialrank.com
 CIS 406 Inspiring Innovation/tutorialrank.com CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.comjonhson112
 
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   bellflower5
 
Strayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio newStrayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio newuopassignment
 
Strayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio newStrayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio newdixonbakerr
 
As your final project use microsoft/tutorialoutlet
As your final project use microsoft/tutorialoutlet As your final project use microsoft/tutorialoutlet
As your final project use microsoft/tutorialoutlet Leytonz
 
Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technologySaransh Garg
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | EdurekaEdureka!
 

Was ist angesagt? (11)

CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.com
 
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 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   
 
Strayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio newStrayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio new
 
Strayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio newStrayer cis 406 week 6 assignment 1 financial portfolio new
Strayer cis 406 week 6 assignment 1 financial portfolio new
 
Testing
TestingTesting
Testing
 
As your final project use microsoft/tutorialoutlet
As your final project use microsoft/tutorialoutlet As your final project use microsoft/tutorialoutlet
As your final project use microsoft/tutorialoutlet
 
Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Paper CS
Paper CSPaper CS
Paper CS
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | Edureka
 

Ähnlich wie Prg421 prg 421

Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newlroselyn
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newshyaminfo40
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newcharlesangles123
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newchanduruc123
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire courseACC421
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comsholingarjosh58
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comRobinson071
 
PRG 420 Massive success / tutorialrank.com
PRG 420 Massive success / tutorialrank.comPRG 420 Massive success / tutorialrank.com
PRG 420 Massive success / tutorialrank.comBromleyz1
 
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   bellflower47
 
CIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.comCIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.combellflower87
 
PRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.comPRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.comdonaldzs37
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comBromleyz1
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comMcdonaldRyan108
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comULLPTT
 
PRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.comPRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.comwilliamwordsworth25
 
PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comkopiko76
 
PRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comPRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comkopiko112
 
PRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.comPRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.commyblue101
 
PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com myblue41
 
PRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.comPRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.comvenkat60044
 

Ähnlich wie Prg421 prg 421 (20)

Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Strayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade newStrayer cis 406 week 10 assignment 2 u grade new
Strayer cis 406 week 10 assignment 2 u grade new
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire course
 
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
 
PRG 420 Massive success / tutorialrank.com
PRG 420 Massive success / tutorialrank.comPRG 420 Massive success / tutorialrank.com
PRG 420 Massive success / tutorialrank.com
 
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
 
PRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.comPRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.com
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.com
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
 
PRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.comPRG 420 Education for Service--prg420.com
PRG 420 Education for Service--prg420.com
 
PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.com
 
PRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comPRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.com
 
PRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.comPRG 421 Creative and Effective/newtonhelp.com
PRG 421 Creative and Effective/newtonhelp.com
 
PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com PRG 421 Extraordinary Life/newtonhelp.com 
PRG 421 Extraordinary Life/newtonhelp.com 
 
PRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.comPRG 420 NERD Education Counseling--prg420nerd.com
PRG 420 NERD Education Counseling--prg420nerd.com
 

Mehr von GOODCourseHelp (20)

Soc 110 soc110
Soc 110 soc110Soc 110 soc110
Soc 110 soc110
 
Soc 110 soc110
Soc 110 soc110Soc 110 soc110
Soc 110 soc110
 
Psy 203 psy203
Psy 203 psy203Psy 203 psy203
Psy 203 psy203
 
Psy 103 psy103 UOP
Psy 103 psy103 UOPPsy 103 psy103 UOP
Psy 103 psy103 UOP
 
Prg 211 prg211
Prg 211 prg211Prg 211 prg211
Prg 211 prg211
 
Pos 433 pos433
Pos 433 pos433Pos 433 pos433
Pos 433 pos433
 
Mkt 421 mkt421
Mkt 421 mkt421Mkt 421 mkt421
Mkt 421 mkt421
 
Mgt 312 mgt312
Mgt 312 mgt312Mgt 312 mgt312
Mgt 312 mgt312
 
Law 421 law421
Law 421 law421Law 421 law421
Law 421 law421
 
It 242 it242
It 242 it242It 242 it242
It 242 it242
 
It 241 it241
It 241 it241It 241 it241
It 241 it241
 
It 240 it240
It 240 it240It 240 it240
It 240 it240
 
It 237 it237
It 237 it237It 237 it237
It 237 it237
 
It 236 it236
It 236 it236It 236 it236
It 236 it236
 
It 200 it200
It 200 it200It 200 it200
It 200 it200
 
Hum 186 hum186
Hum 186 hum186Hum 186 hum186
Hum 186 hum186
 
Hum 115 hum115
Hum 115 hum115Hum 115 hum115
Hum 115 hum115
 
Hrm 498 hrm498
Hrm 498 hrm498Hrm 498 hrm498
Hrm 498 hrm498
 
Web 240 web240
Web 240 web240Web 240 web240
Web 240 web240
 
Sci220 sci 220
Sci220 sci 220Sci220 sci 220
Sci220 sci 220
 

Kürzlich hochgeladen

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...christianmathematics
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Kürzlich hochgeladen (20)

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...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Prg421 prg 421

  • 1. PRG 421 Entire Course JAVA PROGRAMMING II Entire Course Link https://uopcourses.com/category/prg-421/ PRG 421 Week 1 Individual: Singleton Pattern Program Write a Java program (non-GUI preferred) to demonstrate the Singleton pattern. The key parts of the singleton pattern are:  A private static variable to store the single instance called the singleton  A public static method for callers to get a reference to the instance  A private constructor so no callers can instantiate the object directly Using these key parts, write a Java program that will allow a user of the program to assign only one runner to each of the 8 lanes of running track in a field. Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program. Submit your assignment using the Assignment Files tab above. PRG 421 Week 2 Individual: ArrayList Program Write a Java program (non-GUI preferred) to demonstrate the use of an ArrayList. The program should allow a user to do the following:  Add, edit, delete different types of animals  Select an animal, and the corresponding characteristics will be displayed (such as color, vertebrate or invertebrate, can swim, etc.)  The program must use ArrayList(s) to work with these animal objects.
  • 2. Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program. Submit your assignment using the Assignment Files tab above. PRG 421 Week 2 Learning Team: Program Improvement I Select one program submitted by a team member in Week One. Suggest at least 3 ways to improve the selected program. One of these improvements must be related to applying assertion, exceptions, data formatting or localization. Write code and test the improved program. Deliverables should include:  The source code file(s) of the improved program.  A 2- to 3-page paper on the approach the team has taken to improve the program.  Why some of the changes are relevant to this week's objectives.  Any challenges the team encountered and suggest any future improvements. Submit your assignment using the Assignment Files tab above. PRG 421 Week 3 Individual: Iterator Program Write a Java program (non-GUI preferred) to demonstrate the use of Iterator. The program should allow a user to do the following:  Allow the reading of a collection of animal objects from an external file.  Output on screen the content of a collection of animal objects.  Use Iterator to achieve these goals.
  • 3. Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program. Submit your assignment using the Assignment Files tab above. PRG 421 Week 3 Learning Team: Program Improvement II Select one program submitted by a team member in Week Two. Suggest at least 3 ways to improve the selected program. One of these improvements must be related to the use of generic class, a collection or Java File I/O. Write code and test the improved program. Deliverables should include:  The source code file(s) of the improved program.  A 2- to 3-page paper on the approach the team has taken to improve the program.  Why some of the changes are relevant to this week's objectives.  Any challenges the team encountered and suggest any future improvements. Submit your assignment using the Assignment Files tab above. PRG 421 Week 4 Individual: JDBC Program Write a Java program (non-GUI preferred) to demonstrate the use of JDBC. The program should allow a user to do the following:  Write a list of animal and its characteristics to a database using JDBC  Display the characteristics of an animal when that animal is selected. Include a brief documentation (in the code or in a separate document) to explain the input (if any), processing and output of the program.
  • 4. Submit your assignment using the Assignment Files tab above. Note from Instructor: To assist, I have included a demo file "JavaDB week 4 Demo code" of a database and installation instructions. PLEASE USE THIS DEMO DATABASE. I have had students want to use other database engines and it makes it very difficult when that happens. This is not a class in different databases, but just how to connect Java to a database, and thus we are going to use the simplest one possible, mySQL. PRG 421 Week 4 Learning Team: Program Improvement III Select one program submitted by a team member in Week Three. Suggest at least 3 ways to improve the selected program. One of these improvements should be related to the use of JDBC. Write code and test the improved program. Deliverables should include:  The source code file(s) of the improved program.  A 2- to 3-page paper on the approach the team has taken to improve the program.  Why some of the changes are relevant to this week's objectives.  Any challenges the team encountered and suggest any future improvements. Submit your assignment using the Assignment Files tab above. PRG 421 Week 5 Individual: Concurrent Programming Write a Java program (non-GUI preferred) that has a method named atomic(). Demonstrate in the program how two threads can, sometimes, invoke atomic() concurrently.
  • 5. Create a second version of the program in which the two threads cannot invoke atomic concurrently. Submit both programs using the Assignment Files tab above. To assist, I have included a demo file of a multi-thread program. Remember that the ideal program demonstrates threading in action. PRG 421 Week 5 Learning Team: Program Improvement IV Select one program submitted by a team member in Week Four. Suggest at least 3 ways to improve the selected program. One of these improvements should be related to the use of thread. Write code and test the improved program. Deliverables should include:  The source code file(s) of the improved program.  A 2- to 3-page paper on the approach the team has taken to improve the program.  Why some of the changes are relevant to this week's objectives.  Any challenges the team encountered and suggest any future improvements. Submit your assignment using the Assignment Files tab above.