SlideShare a Scribd company logo
1 of 5
Download to read offline
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.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!
 

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 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 newchanduruc123
 
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
 
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
 

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 (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

Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
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
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
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
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 

Recently uploaded (20)

Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
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
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
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
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.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.