SlideShare a Scribd company logo
Click here for the solution


                                         PRG/421 V10

                               PRG-421 Java Programming II

                                         WEEK 1
              Write a 200- to 300-word short-answer response for the following:



        What is an event? How are events and graphical user interfaces (GUIs) related? Provide
                            an example of an event and relate it to a GUI.


              Write a 200- to 300-word short-answer response for the following:



       How are containers used in the Java® language? Write a small program in which you add
                 components to a container. Then post the code for your program.


              Write a 200- to 300-word short-answer response for the following:



         What do you feel are the advantages and disadvantages to using Swing versus AWT?


 A city is sponsoring a run to support local charities and would like an application to track the
pledges. The result will be a database that holds data on individuals, total pledges obtained, and
                        the charity for which the donation is designated.



Design and implement a GUI-based program to accept a participant’s name, the amount pledged,
  and the designated charity’s name. The program will store these data for later retrieval. The
    project will be completed in several stages, with the first deliverable due in Week Two.
    Design, implement, test, and debug a GUI-based version of a “Hello, World!” program.
Click here for the solution


Create a JFrame that includes a JLabel that reads “Hello, World!” Use a layout manager of your

                                            choice.

                          Include an Exit button to close the program.

     Submit assignment per the APA template that will be provided, to include cover page,
description of code, flowchart or pseudocode, code with header data, and finally a screen shot of
             your code executing on your computer. Please submit your assignment
  as YourLastNameWk1.doc and YourLastNameWk1.java. Ensure that your code executes
                                       prior to submittal.




                                         WEEK 2
              Write a 200- to 300-word short-answer response for the following:



       How do arrays and combo boxes work together? Write a small program in which you add
            the elements of an array to a combo box and post the code for your program.

              Write a 200- to 300-word short-answer response for the following:



       What are advantages of using menus in a GUI application? Design a menu structure for a
       program you would find useful in your work or hobbies. Write and post the code for the
                                          menu creation.


              Develop a project plan for the fundraiser program due in Week Five.



             The project plan should describe the design of the program and how it is to be
                    modularized. The design should include the layout of the GUI.

            Note. The program should be designed in a modular way so that individual team
members can write the code for specific methods.
                   The project plan should also include individual task assignments.



                            Submit the project plan to your facilitator.
                For this assignment, you will choose from the following options:



                                      Option 1: Retail Calculator
                                     Option 2: Payroll Application



Read the instructions in the University of Phoenix Material: GUI Components Program located
           on the student website and select one option to complete the assignment.



     Submit assignment per the APA template that will be provided, to include cover page,
description of code, flowchart or pseudocode, code with header data, and finally a screen shot of
             your code executing on your computer. Please submit your assignment
  as YourLastNameWk2.doc and YourLastNameWk2.java. Ensure that your code executes
                                       prior to submittal.




                                         WEEK 3
              Write a 200- to 300-word short-answer response for the following:



         Think of a programming task—other than the individual or team assignments in this
        course—in which you would choose to use an exception handler. Write the code for the
                         try-catch block. Explain the activity and your code.


              Write a 200- to 300-word short-answer response for the following:



          Think of a programming task—other than the individual or team assignments in this
course—in which you would choose to use a data file. Write the code to read or write the
                             file. Explain the activity and your code.


               Write a 200- to 300-word short-answer response for the following:



          What are the advantages and disadvantages of sequential and random access files?
       Provide an example in which a sequential file is a better choice than a random access file.
                                           Explain why.
       Provide an example in which a random access file is better than a sequential file. Explain
                                                why.


 Create a GUI-based program to accept name of donor, name of charity, and amount of pledge
                                      from the user.

                        Display a list of entries in a JTextArea or JTable.

                          Submit the .java source file for this program.
                                This is a two-part assignment.



                                              Part 1



   Design, implement, test, and debug a program with a JFrame that allows the user to enter a
  series of contacts’ names, ages, e-mail addresses, and cell phone numbers, and creates a file
from the entered data. Validate the age entry to ensure that it is numeric and between 0 and 120.
                          Include information for three to five contacts.



                                              Part 2



Design, implement, test, and debug a program that reads the file you created by the list in Part 1
  and displays the records in a JFrame. You may either display all entries in the list at once or
display them one at a time; the user interface is up to you. Protect against not being able to open
                                              the file.
Click here for the solution


     Submit assignment per the APA template that will be provided, to include cover page,
description of code, flowchart or pseudocode, code with header data, and finally a screen shot of
             your code executing on your computer. Please submit your assignment
  as YourLastNameWk3.doc and YourLastNameWk3.java. Ensure that your code executes
                                       prior to submittal.




                                          WEEK 4
               Write a 200- to 300-word short-answer response for the following:



       What are three ways Java® applets enhance network security? Describe how each is used
                                    and how it affects security.


               Write a 200- to 300-word short-answer response for the following:



           How would you differentiate a website that uses a Java® applet from one that uses
         JavaScript® code? Locate a website that includes a Java® applet and provide its URL.
          Describe each user interface component used and how the applet uses each of them.
           Do you think the applet uses interface components effectively? Why or why not?.

                             Write an applet that includes a pie chart.



 Use a news article with statistics that are good candidates for a pie chart: for example, political
 candidate preferences; percentages of those for, against, or undecided about a ballot measure;
                                             and so forth.



                             Cite the source for your input statistics.
Click here for the solution


   Submit the applet along with an HTML file to launch it. Submit assignment per the APA
    template that will be provided, to include cover page, description of code, flowchart or
 pseudocode, code with header data, and finally a screen shot of your code executing on your
           computer. Please submit your assignment as YourLastNameWk4.doc,
YourLastNameWk4.html andYourLastNameWk4.java. Ensure that your code executes prior
                                          to submittal.




                                           WEEK 5
Conduct an Internet search for JavaDB tutorial. You may choose to use either a text-based or a
         video tutorial. Follow the steps in the tutorial to learn how to use JavaDB.



 Modify one of the demo programs with the JavaDB download to create and manipulate your
                                     own database.



           Write a 200- to 300-word description of the challenges you encountered.



                            Post the source code of your program.


              Write a 200- to 300-word short-answer response for the following:



      What type of mobile app would you find useful? What steps would you take to create and
                                        deploy this app?

 Write a program to create a database from the data in the sequential file you created in Week
                                            Four.
Modify the GUI to connect to this database and add entries to it and read entries from it. Entries
           read from the database should be displayed in the JTextArea or JTable.



                               Test and debug this final program.



                              Submit the .java source file or files.

More Related Content

Similar to PRG 421 version 10 Entire Course

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.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
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
Stephenson01
 
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 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com
amaranthbeg148
 
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 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
 
CIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.comCIS 406 Focus Dreams/newtonhelp.com
CIS 406 Focus Dreams/newtonhelp.com
bellflower87
 
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 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEW
shyamuopfive
 
PRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALSPRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALS
Sharon Reynolds
 
PRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALSPRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALS
Sharon Reynolds
 
Prg 421 week 4
Prg 421 week 4Prg 421 week 4
Prg 421 week 4helpido6
 
PRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.comPRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.com
donaldzs37
 
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
shyaminfo16
 
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
dixonbakerr
 
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
 

Similar to PRG 421 version 10 Entire Course (20)

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
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
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 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/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 Imagine Your Future/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   
CIS 406 Life of the Mind/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
 
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 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEW
 
PRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALSPRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALS
 
PRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALSPRG/420 ENTIRE CLASS UOP TUTORIALS
PRG/420 ENTIRE CLASS UOP TUTORIALS
 
Prg 421 week 4
Prg 421 week 4Prg 421 week 4
Prg 421 week 4
 
PRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.comPRG 420 Effective Communication - snaptutorial.com
PRG 420 Effective Communication - snaptutorial.com
 
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
 
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
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 

PRG 421 version 10 Entire Course

  • 1. Click here for the solution PRG/421 V10 PRG-421 Java Programming II WEEK 1 Write a 200- to 300-word short-answer response for the following: What is an event? How are events and graphical user interfaces (GUIs) related? Provide an example of an event and relate it to a GUI. Write a 200- to 300-word short-answer response for the following: How are containers used in the Java® language? Write a small program in which you add components to a container. Then post the code for your program. Write a 200- to 300-word short-answer response for the following: What do you feel are the advantages and disadvantages to using Swing versus AWT? A city is sponsoring a run to support local charities and would like an application to track the pledges. The result will be a database that holds data on individuals, total pledges obtained, and the charity for which the donation is designated. Design and implement a GUI-based program to accept a participant’s name, the amount pledged, and the designated charity’s name. The program will store these data for later retrieval. The project will be completed in several stages, with the first deliverable due in Week Two. Design, implement, test, and debug a GUI-based version of a “Hello, World!” program.
  • 2. Click here for the solution Create a JFrame that includes a JLabel that reads “Hello, World!” Use a layout manager of your choice. Include an Exit button to close the program. Submit assignment per the APA template that will be provided, to include cover page, description of code, flowchart or pseudocode, code with header data, and finally a screen shot of your code executing on your computer. Please submit your assignment as YourLastNameWk1.doc and YourLastNameWk1.java. Ensure that your code executes prior to submittal. WEEK 2 Write a 200- to 300-word short-answer response for the following: How do arrays and combo boxes work together? Write a small program in which you add the elements of an array to a combo box and post the code for your program. Write a 200- to 300-word short-answer response for the following: What are advantages of using menus in a GUI application? Design a menu structure for a program you would find useful in your work or hobbies. Write and post the code for the menu creation. Develop a project plan for the fundraiser program due in Week Five. The project plan should describe the design of the program and how it is to be modularized. The design should include the layout of the GUI. Note. The program should be designed in a modular way so that individual team
  • 3. members can write the code for specific methods. The project plan should also include individual task assignments. Submit the project plan to your facilitator. For this assignment, you will choose from the following options: Option 1: Retail Calculator Option 2: Payroll Application Read the instructions in the University of Phoenix Material: GUI Components Program located on the student website and select one option to complete the assignment. Submit assignment per the APA template that will be provided, to include cover page, description of code, flowchart or pseudocode, code with header data, and finally a screen shot of your code executing on your computer. Please submit your assignment as YourLastNameWk2.doc and YourLastNameWk2.java. Ensure that your code executes prior to submittal. WEEK 3 Write a 200- to 300-word short-answer response for the following: Think of a programming task—other than the individual or team assignments in this course—in which you would choose to use an exception handler. Write the code for the try-catch block. Explain the activity and your code. Write a 200- to 300-word short-answer response for the following: Think of a programming task—other than the individual or team assignments in this
  • 4. course—in which you would choose to use a data file. Write the code to read or write the file. Explain the activity and your code. Write a 200- to 300-word short-answer response for the following: What are the advantages and disadvantages of sequential and random access files? Provide an example in which a sequential file is a better choice than a random access file. Explain why. Provide an example in which a random access file is better than a sequential file. Explain why. Create a GUI-based program to accept name of donor, name of charity, and amount of pledge from the user. Display a list of entries in a JTextArea or JTable. Submit the .java source file for this program. This is a two-part assignment. Part 1 Design, implement, test, and debug a program with a JFrame that allows the user to enter a series of contacts’ names, ages, e-mail addresses, and cell phone numbers, and creates a file from the entered data. Validate the age entry to ensure that it is numeric and between 0 and 120. Include information for three to five contacts. Part 2 Design, implement, test, and debug a program that reads the file you created by the list in Part 1 and displays the records in a JFrame. You may either display all entries in the list at once or display them one at a time; the user interface is up to you. Protect against not being able to open the file.
  • 5. Click here for the solution Submit assignment per the APA template that will be provided, to include cover page, description of code, flowchart or pseudocode, code with header data, and finally a screen shot of your code executing on your computer. Please submit your assignment as YourLastNameWk3.doc and YourLastNameWk3.java. Ensure that your code executes prior to submittal. WEEK 4 Write a 200- to 300-word short-answer response for the following: What are three ways Java® applets enhance network security? Describe how each is used and how it affects security. Write a 200- to 300-word short-answer response for the following: How would you differentiate a website that uses a Java® applet from one that uses JavaScript® code? Locate a website that includes a Java® applet and provide its URL. Describe each user interface component used and how the applet uses each of them. Do you think the applet uses interface components effectively? Why or why not?. Write an applet that includes a pie chart. Use a news article with statistics that are good candidates for a pie chart: for example, political candidate preferences; percentages of those for, against, or undecided about a ballot measure; and so forth. Cite the source for your input statistics.
  • 6. Click here for the solution Submit the applet along with an HTML file to launch it. Submit assignment per the APA template that will be provided, to include cover page, description of code, flowchart or pseudocode, code with header data, and finally a screen shot of your code executing on your computer. Please submit your assignment as YourLastNameWk4.doc, YourLastNameWk4.html andYourLastNameWk4.java. Ensure that your code executes prior to submittal. WEEK 5 Conduct an Internet search for JavaDB tutorial. You may choose to use either a text-based or a video tutorial. Follow the steps in the tutorial to learn how to use JavaDB. Modify one of the demo programs with the JavaDB download to create and manipulate your own database. Write a 200- to 300-word description of the challenges you encountered. Post the source code of your program. Write a 200- to 300-word short-answer response for the following: What type of mobile app would you find useful? What steps would you take to create and deploy this app? Write a program to create a database from the data in the sequential file you created in Week Four.
  • 7. Modify the GUI to connect to this database and add entries to it and read entries from it. Entries read from the database should be displayed in the JTextArea or JTable. Test and debug this final program. Submit the .java source file or files.