PRG/421 PRG421 PRG 421 New V.10 All Weeks DQ's ( Original A+ Work ) - 15232

Solution Posted by
javaxpert

javaxpert

Rating : (22)A+
Solution Detail
Price: $20.00
Request Description

Week 1: User Interfaces

DISCUSSION QUESTION # 1

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.

DISCUSSION QUESTION # 2

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.

DISCUSSION QUESTION # 3

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

 

Week 2: GUI Components 

DISCUSSION QUESTION # 1

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.

DISCUSSION QUESTION # 2

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.

 

 

Week 3: Files
 

DISCUSSION QUESTION # 1 

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.

DISCUSSION QUESTION # 2

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.

DISCUSSION QUESTION # 3

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.

 

 

Week 4: Applets and Graphics


WEEK 4


DISCUSSION QUESTION # 1

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

DISCUSSION QUESTION # 2

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?.

 

 

Week 5: Database Connectivity and Mobile Computing

 

DISCUSSION QUESTION # 1

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.

DISCUSSION QUESTION # 2

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.

 
Solution Description

Attachments