Assignment 7

In: Computers and Technology

Submitted By bdvaughan
Words 303
Pages 2
Assignment 7 Instructions
Submit all of your assignments in a zip file. Your zip file must include the .java and .class files as well as a Word document with a screen shot of your program running.
Assignment 7-1 (20 pts.): Oracle eKit Practice 13-1: Using a Try/Catch Block to Handle an Exception
In this assignment, you handle an exception thrown by the parse() method of SimpleDateFormat. During the assignment, you: * Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. * Create a class that calls that parse() method. * Write a try/catch block to catch the exception thrown by parse().
See your eKit Activity Guide for more details. Run DateTest with both correctly and incorrectly formatted dates and include screen shots of both runs when you submit the rest of your assignment.
Assignment 7-2 (30 points): Enhance Assignment 6-3 with Exception Handling and Deploy
In this assignment, you are going to modify your Assignment 6-3 code to include exception handling for the setDay() and setMonth() setter methods in your Date class. If the user via the Date constructor or the setDay() method tries to set the day attribute to a value less than 1 or greater than 31, setDay() should throw an IllegalArgumentException. setMonth() should insure that the month attribute is between 1 and 12 or throw an IllegalArgumentException. The calling methods or constructors should use try/catch blocks when calling either setDay() or setMonth(). Modify your PersonTest class, as necessary, to demonstrate your exception handling.
Once you have your exception handling enhancements in place, create a JAR file for deployment and submit it along with your java, class, and Word (screen shot) files.

Submit this assignment by 11:59 p.m. (ET) on Monday of Module/Week…...

Similar Documents

It302 Assignment 6&7

...Assignment 6.1 1. A DNS servers with preform recursive queries  or an SQL server 2. An A (address) record points to a domain. 3. identifies the email servers for a domain 4. $ hostname example.com or $ dig example.com 5. etc man host.conf will tell you about the order option  etc Is for static dns resolve  etc the file for all your dns needs  then edit: /etc/resolv.conf  add the following: nameserver 192.168.1.254  nameserver 1.2.3.4 (Google) 6. Add the following line to the Options section in /etc/named.conf: allow-query { 137.44.0.0/24 }; 7. A resolver will append several different domains to an unqualified Domain Name producing FQDNS that passes them one at a time. (Google) 8. Set up a DNS cache that defines the zone . (period) clause explicitly, rather than relying on the hint file. (www.sobell.com) 10. Setting the TTL to a small number prevents DNS caches from holding DNS entries for very long. Small TTL values place a large load on the local DNS server because every query about the domain is forwarded to the local server. (www.sobell.com) Assignment 7.1 1. "hello" change and you have to edit the mail server file 2. 1. File: "df": which stores the body of the message. 2. File: "qf": which stores the headers and other information. 3. The dnl command, which stands for delete to new line, instructs the compiler to ignore anything on a line following the dnl: It is used to set off comments. (www.sobell.com) 4. # /usr/sbin/praliases...

Words: 532 - Pages: 3

Assignment 7

...Rankings United States Power Distance (PDI) Score: 40 Ranking: 6 Uncertainty Avoidance (UAI) Score: 46 Ranking: 7 Masculinity/Femininity (MAS) Score: 62 Ranking: 5 Individualism/Collectivism (IDV) Score: 91 Ranking: 2 Sweden Power Distance (PDI) Score: 31 Ranking: 5 Uncertainty Avoidance (UAI) Score: 29 Ranking: 4 Masculinity/Femininity (MAS) Score: 5 Ranking: 8 Individualism/Collectivism (IDV) Score: 71 Ranking: 3 Mexico Power Distance (PDI) Score: 81 Uncertainty Avoidance (UAI) Score: 82 Ranking: 3 Masculinity/Femininity (MAS) Score: 69 Ranking: 5 Individualism/Collectivism (IDV) Score: 30 Ranking: 6 Peru Power Distance (PDI) Score: 64 Ranking: 4 Uncertainty Avoidance (UAI) Score: 87 Ranking: 3 Masculinity/Femininity (MAS) Score: 42 Rank: 6 Individualism/Collectivism (IDV) Score: 16 Rank: 7 Costa Rica Power Distance (PDI) Score: 35 Rank: 5 Uncertainty Avoidance (UAI) Score: 86 Rank: 3 Masculinity/Femininity (MAS) Score: 21 Rank: 6 Individualism/Collectivism (IDV) Score: 15 Rank: 7 Japan Power Distance (PDI) Score: 54 Rank: 5 Uncertainty Avoidance (UAI) Score: 92 Rank: 2 ......

Words: 416 - Pages: 2

Assignment 7

...Assignment 7 Michael Little MGMT 202 Exercises: 1. Planning: Choosing the Direct or Indirect Approach a. The direct approach because when giving you boss news most if not all want you to be straight to the point. This will not matter if it’s good or bad news. b. The indirect approach because this will prepare the reader for the bad news and then offer them a solution at the end. c. The indirect approach because in this situation the customer will be displeased and you want to soften the blow of the bad news. d. The direct approach because when you are talking to the employees you want to be quick and straight to the point. There are several things that need to be accomplished at work on a daily bases they will not want to read a long email. e. The direct approach because this should not come as a surprise because the customer would be notified before the purchase of the ticket. The customer will still receive compensation for the 1 full year after the flight. f. The indirect approach because the airline is not taking into consideration that the customer was unable to use them because of being out of the country. The customer is going to be very angry so you need to set the calming ground before the bad news by giving a buffer. g. The indirect approach because this is going to because an emotional stand point from the customer when dealing with insurance. You want to slowly insert the bad news in this situation and then proceed to......

Words: 472 - Pages: 2

Assignment 7

...Assignment 5 Universiteit van Amsterdam Business School Intermediate Financial Accounting 7139 Topic Case study Assignment 5 Due date: Friday 12th March 2010 ➢ Hand-in via the Digital Dropbox (Blackboard, Tools) ➢ Maximum of 4 students in a group ➢ Make sure that all assignments include names, student numbers and date of lecture ➢ The bonus of five points is earned when five of six assignments received a ‘pass’ grade ➢ To get a pass you need to answer all questions ➢ Copy-paste answers will not be allowed, nor graded ➢ The bonus is not valid for retake exams Blackboard Case: Harnischfeger Corporation 1984 Annual Report (abridged) Answer the following questions. 1. Describe clearly all of the accounting changes Harnischfeger made in 1984 2. What is the effect of the depreciation accounting method change on the reported income 1984? How will this change affect profits in future years? 3. What is the effect of the change in depreciation lives? How will this change affect future reported profits? 4. The depreciation accounting changes assume that Harnischfeger’s plant and machinery will last longer and will lose their value more slowly. Given the business condition Harnischfeger was facing in its primary industries in 1984, are these economic assumptions justified? 5. In Note 7, Harnischfeger describes the effect of LIFO inventory liquidation on its reported profits in 1984. Describe what you...

Words: 296 - Pages: 2

Bmis 312 Assignment 7

...SOLUTIONSLIBRARY.COM HTTP://SOLUTIONSLIBRARY.COM/INDEX.PHP/BMIS-312-ASSIGNMENT-7/ BMIS 312 ASSIGNMENT 7 ________________________________________ Assignment 7 Instructions Submit all of your assignments in a zip file. Your zip file must include the .java and .class files as well as a Word document with a screen shot of your program running. Assignment 7-1 (20 pts.): Oracle eKit Practice 13-1: Using a Try/Catch Block to Handle an Exception In this assignment, you handle an exception thrown by the parse() method of SimpleDateFormat. During the assignment, you: Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. Create a class that calls that parse() method. Write a try/catch block to catch the exception thrown by parse(). See your eKit Activity Guide for more details. Run DateTest with both correctly and incorrectly formatted dates and include screen shots of both runs when you submit the rest of your assignment. Assignment 7-2 (30 points): Enhance Assignment 6-3 with Exception Handling and Deploy In this assignment, you are going to modify your Assignment 6-3 code to include exception handling for the setDay() and setMonth() setter methods in your Date class. If the user via the Date constructor or the setDay() method tries to set the day attribute to a value less than 1 or greater than 31, setDay() should throw an IllegalArgumentException. setMonth() should insure that the month......

Words: 303 - Pages: 2

Bmis 312 Assignment 7

...SOLUTIONSLIBRARY.COM HTTP://SOLUTIONSLIBRARY.COM/INDEX.PHP/BMIS-312-ASSIGNMENT-7/ BMIS 312 ASSIGNMENT 7 ________________________________________ Assignment 7 Instructions Submit all of your assignments in a zip file. Your zip file must include the .java and .class files as well as a Word document with a screen shot of your program running. Assignment 7-1 (20 pts.): Oracle eKit Practice 13-1: Using a Try/Catch Block to Handle an Exception In this assignment, you handle an exception thrown by the parse() method of SimpleDateFormat. During the assignment, you: Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. Create a class that calls that parse() method. Write a try/catch block to catch the exception thrown by parse(). See your eKit Activity Guide for more details. Run DateTest with both correctly and incorrectly formatted dates and include screen shots of both runs when you submit the rest of your assignment. Assignment 7-2 (30 points): Enhance Assignment 6-3 with Exception Handling and Deploy In this assignment, you are going to modify your Assignment 6-3 code to include exception handling for the setDay() and setMonth() setter methods in your Date class. If the user via the Date constructor or the setDay() method tries to set the day attribute to a value less than 1 or greater than 31, setDay() should throw an IllegalArgumentException. setMonth() should insure that the month......

Words: 303 - Pages: 2

Bmis 312 Assignment 7

...SOLUTIONSLIBRARY.COM HTTP://SOLUTIONSLIBRARY.COM/INDEX.PHP/BMIS-312-ASSIGNMENT-7/ BMIS 312 ASSIGNMENT 7 ________________________________________ Assignment 7 Instructions Submit all of your assignments in a zip file. Your zip file must include the .java and .class files as well as a Word document with a screen shot of your program running. Assignment 7-1 (20 pts.): Oracle eKit Practice 13-1: Using a Try/Catch Block to Handle an Exception In this assignment, you handle an exception thrown by the parse() method of SimpleDateFormat. During the assignment, you: Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. Create a class that calls that parse() method. Write a try/catch block to catch the exception thrown by parse(). See your eKit Activity Guide for more details. Run DateTest with both correctly and incorrectly formatted dates and include screen shots of both runs when you submit the rest of your assignment. Assignment 7-2 (30 points): Enhance Assignment 6-3 with Exception Handling and Deploy In this assignment, you are going to modify your Assignment 6-3 code to include exception handling for the setDay() and setMonth() setter methods in your Date class. If the user via the Date constructor or the setDay() method tries to set the day attribute to a value less than 1 or greater than 31, setDay() should throw an IllegalArgumentException. setMonth() should insure that the month......

Words: 303 - Pages: 2

Bmis 312 Assignment 7

...SOLUTIONSLIBRARY.COM HTTP://SOLUTIONSLIBRARY.COM/INDEX.PHP/BMIS-312-ASSIGNMENT-7/ BMIS 312 ASSIGNMENT 7 ________________________________________ Assignment 7 Instructions Submit all of your assignments in a zip file. Your zip file must include the .java and .class files as well as a Word document with a screen shot of your program running. Assignment 7-1 (20 pts.): Oracle eKit Practice 13-1: Using a Try/Catch Block to Handle an Exception In this assignment, you handle an exception thrown by the parse() method of SimpleDateFormat. During the assignment, you: Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. Create a class that calls that parse() method. Write a try/catch block to catch the exception thrown by parse(). See your eKit Activity Guide for more details. Run DateTest with both correctly and incorrectly formatted dates and include screen shots of both runs when you submit the rest of your assignment. Assignment 7-2 (30 points): Enhance Assignment 6-3 with Exception Handling and Deploy In this assignment, you are going to modify your Assignment 6-3 code to include exception handling for the setDay() and setMonth() setter methods in your Date class. If the user via the Date constructor or the setDay() method tries to set the day attribute to a value less than 1 or greater than 31, setDay() should throw an IllegalArgumentException. setMonth() should insure that the month......

Words: 303 - Pages: 2

Bmis 312 Assignment 7

...SOLUTIONSLIBRARY.COM HTTP://SOLUTIONSLIBRARY.COM/INDEX.PHP/BMIS-312-ASSIGNMENT-7/ BMIS 312 ASSIGNMENT 7 ________________________________________ Assignment 7 Instructions Submit all of your assignments in a zip file. Your zip file must include the .java and .class files as well as a Word document with a screen shot of your program running. Assignment 7-1 (20 pts.): Oracle eKit Practice 13-1: Using a Try/Catch Block to Handle an Exception In this assignment, you handle an exception thrown by the parse() method of SimpleDateFormat. During the assignment, you: Use the Java API documentation to examine the SimpleDateFormat class and find the exception thrown by its parse() method. Create a class that calls that parse() method. Write a try/catch block to catch the exception thrown by parse(). See your eKit Activity Guide for more details. Run DateTest with both correctly and incorrectly formatted dates and include screen shots of both runs when you submit the rest of your assignment. Assignment 7-2 (30 points): Enhance Assignment 6-3 with Exception Handling and Deploy In this assignment, you are going to modify your Assignment 6-3 code to include exception handling for the setDay() and setMonth() setter methods in your Date class. If the user via the Date constructor or the setDay() method tries to set the day attribute to a value less than 1 or greater than 31, setDay() should throw an IllegalArgumentException. setMonth() should insure that the month......

Words: 303 - Pages: 2

Assignment 7

...Assignment #7: Chapter 7 Questions 1. Why would demand forecasting make sense in a “make to stock” situation? It projects the standard components needed so that the product can be made after customer receiving a customer order. 2. Briefly describe the three (3) types of demand forecasting models. * Judgmental- using judgment or intuition and is preferred where there is limited or no historical data, such as with a new product introduction. * Time series- use of a model to predict future values based on previously observed values. * Cause-and-effect- assumes that one or more factors are related to demand and that the relationship between cause and effect can be used to estimate future demand. 3. Why is forecast accuracy important to logistics? If it fails to maintain an accurate forecast it can cause financially setbacks. 4. Explain the difference between order cycle and order to cash cycle. Order cycle is the management of the various activities and order to cash cycle is the length of time it takes an organization to receive payment for an order. 5. Briefly describe the four (4) components of the order cycle. * Order transmittal- time from when the customer places an order until the seller receives the order. * Order processing- time from when the seller receives an order until an appropriate location (such as a warehouse) is authorized to fill the order. * Order picking and assembly- next stage of the order management......

Words: 716 - Pages: 3

It 133 Unit 7 Assignment

...IT 133 Unit 7 Assignment http://homeworklance.com/downloads/133-unit-7-assignment/ Design a contact page and add to the website.•Create a CSS navigation bar with roll over effects for the website. Course outcome(s) practiced in this unit: IT117-4: Use forms, various cascading styles, and global standardization to develop a more robust webpage. Review the Grading Rubric before beginning this activity. Remember: All of your Web pages should include the DOCTYPE statement above the opening html tag, like this: All your Web pages are also required to contain the tag pair within the head section, like this: Your Name, Career Information Assignment Instructions are located in the PDF below (click the Rubric icon). Submit your Assignment to the Dropbox for this unit. Be sure to review the grading rubric before you begin. Assignment Instructions Complete your Contact Page. 1. You created a file named contact.htm in the previous unit. Now, you will add content to complete that same page. The page should contain: A heading• A title • Your unordered• Your contact information (can be fictitious) • Your email link (you already added this•list for your navigation bar when you completed Assigment 7). 2. Open externalstylesheet.css in Notepad. 3. Add the required code for a navigation bar (see the PDF file “Special reading on CSS for Unit 8” in the reading section for this unit for full instructions.) 4. Change the background and text colors......

Words: 381 - Pages: 2

It 133 Unit 7 Assignment

...IT 133 Unit 7 Assignment http://homeworklance.com/downloads/133-unit-7-assignment/ Design a contact page and add to the website.•Create a CSS navigation bar with roll over effects for the website. Course outcome(s) practiced in this unit: IT117-4: Use forms, various cascading styles, and global standardization to develop a more robust webpage. Review the Grading Rubric before beginning this activity. Remember: All of your Web pages should include the DOCTYPE statement above the opening html tag, like this: All your Web pages are also required to contain the tag pair within the head section, like this: Your Name, Career Information Assignment Instructions are located in the PDF below (click the Rubric icon). Submit your Assignment to the Dropbox for this unit. Be sure to review the grading rubric before you begin. Assignment Instructions Complete your Contact Page. 1. You created a file named contact.htm in the previous unit. Now, you will add content to complete that same page. The page should contain: A heading• A title • Your unordered• Your contact information (can be fictitious) • Your email link (you already added this•list for your navigation bar when you completed Assigment 7). 2. Open externalstylesheet.css in Notepad. 3. Add the required code for a navigation bar (see the PDF file “Special reading on CSS for Unit 8” in the reading section for this unit for full instructions.) 4. Change the background and text colors......

Words: 381 - Pages: 2

Week 7 Assignment

...Week 7 Assignment Click Link Below To Buy: http://hwcampus.com/shop/finc600-week-7-assignment-homework-problems/ Complete this assignment according to the following: 1.Design a class that you would like to teach someday. The class must be at least 4 hours in length and must be multiple sessions. It can be four sessions of 1 hour each, or two sessions of 2 hours each, depending on your topic and target audience. 2.Begin by describing the institution that is sponsoring the class (e.g., academic, hospital, or community agency). Include the philosophy of the sponsoring organization and how that will affect the course you are developing. 3.Explain how you determined a need for this class (needs assessment). 4.Write a one-paragraph description of the class. 5.Identify the target audience. 6.Identify the learning resources you will use for the class (textbooks or other resources). 7.Write the program outcomes for the course and the learner objectives for each class session. Indicate which domains of learning are represented by each learner objective. There is no predetermined length criterion for this assignment. It is intended that each student will develop a class that they can use in their selected area of education. You will complete this project in your next class NUR 649E. While APA format is not required for the body of this assignment, solid academic writing is expected and in-text citations and references should be presented using APA documentation......

Words: 301 - Pages: 2

Finc5000Homework Assignment for Week 7

...FINC5000Homework Assignment for Week 7 Click Link Below To Buy: http://hwcampus.com/shop/finc5000homework-assignment-for-week-7/ For Week 7, please turn in the answers to the following questions: 1. When analysts use the term “capital structure,” what are they referring to? 2. Why does capital structure affect the market value of a firm? 3. Define “total risk” as it is used in capital structure theory. How is total risk measured? 4. The forecast for your firm indicates there's a 20% chance that Net Income will be $200,000, a 50% chance it will be $300,000, and a 30% chance it will be $400,000. b. Given these conditions and your answer to part a, what is the standard deviation of the Net Income estimate? c. Given your answers to parts a & b, what is the coefficient of variation (CV) of the net income estimate? 5. What’s the difference between business risk and financial risk? 6. Assume your firm is zero-growth and pays all its net income in dividends each year Also assume your firm can borrow money when it needs to at an interest rate of 6%. Currently your firm’s cost of equity (Rs) is 10%, but if any money is borrowed that cost will rise to 11%. Sales this year are expected to be $500,000 and operating costs are expected to be $400,000. Your firm’s effective tax rate is 40%. Given these conditions, what is the current value of your firm? What will be the new value of your firm if it takes on $250,000 in...

Words: 267 - Pages: 2

It 133 Unit 7 Assignment

...IT 133 Unit 7 Assignment Follow Below Link to Download Tutorial http://homeworklance.com/downloads/133-unit-7-assignment/ For More Information Visit Our Website ( http://homeworklance.com/ ) Email us At: Support@homeworklance.com or lancehomework@gmail.com Design a contact page and add to the website.•Create a CSS navigation bar with roll over effects for the website. Course outcome(s) practiced in this unit: IT117-4: Use forms, various cascading styles, and global standardization to develop a more robust webpage. Review the Grading Rubric before beginning this activity. Remember: All of your Web pages should include the DOCTYPE statement above the opening html tag, like this: All your Web pages are also required to contain the tag pair within the head section, like this: Your Name, Career Information Assignment Instructions are located in the PDF below (click the Rubric icon). Submit your Assignment to the Dropbox for this unit. Be sure to review the grading rubric before you begin. Assignment Instructions Complete your Contact Page. 1. You created a file named contact.htm in the previous unit. Now, you will add content to complete that same page. The page should contain: A heading• A title • Your unordered• Your contact information (can be fictitious) • Your email link (you already added this•list for your navigation bar when you completed Assigment 7). 2. Open externalstylesheet.css in Notepad. 3. Add the required......

Words: 406 - Pages: 2