SlideShare a Scribd company logo
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.

More Related Content

What's hot

CIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.comCIS 406 Effective Communication - tutorialrank.com
CIS 406 Effective Communication - tutorialrank.com
Bartholomew21
 
CIS 406 Inspiring Innovation/tutorialrank.com
 CIS 406 Inspiring Innovation/tutorialrank.com CIS 406 Inspiring Innovation/tutorialrank.com
CIS 406 Inspiring Innovation/tutorialrank.com
jonhson112
 
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 new
uopassignment
 
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
dixonbakerr
 
Testing
TestingTesting
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 technology
Saransh Garg
 
Software Testing
Software TestingSoftware Testing
Software Testing
Aakashjit Bhattacharya
 
Paper CS
Paper CSPaper CS
Paper CS
techweb08
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | Edureka
Edureka!
 

What's hot (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
 

Similar to 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 new
lroselyn
 
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
charlesangles123
 
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
chanduruc123
 
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
shyaminfo40
 
Prg 421 entire course
Prg 421 entire coursePrg 421 entire course
Prg 421 entire course
ACC421
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
sholingarjosh58
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
Robinson071
 
PRG 420 Massive success / tutorialrank.com
PRG 420 Massive success / tutorialrank.comPRG 420 Massive success / tutorialrank.com
PRG 420 Massive success / tutorialrank.com
Bromleyz1
 
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.com
bellflower87
 
PRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.comPRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.com
donaldzs37
 
PRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.comPRG 421 Massive success / tutorialrank.com
PRG 421 Massive success / tutorialrank.com
Bromleyz1
 
PRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.comPRG 421 Education Specialist / snaptutorial.com
PRG 421 Education Specialist / snaptutorial.com
McdonaldRyan108
 
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
ULLPTT
 
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
williamwordsworth25
 
PRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.comPRG 420 Education Counseling / prg420.com
PRG 420 Education Counseling / prg420.com
kopiko76
 
PRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.comPRG 420 Inspiring Innovation--prg420.com
PRG 420 Inspiring Innovation--prg420.com
kopiko112
 
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
myblue101
 
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.com
venkat60044
 

Similar to 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
 

More from GOODCourseHelp

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

More from 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
 

Recently uploaded

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 

Recently uploaded (20)

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 

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.