...implement a Java program that will gather a user’s first name, middle initial, last name, age in years, and 3 lucky numbers. Analysis: 1. Design and implement a Java program that will gather a user’s first name, middle initial, lastname, age in years, and 3 lucky numbers. The program should output the following based on the user’s input: a. A welcome message repeating their full name (e.g. Welcome John Q Smith) b. A message based on their age with these types of messages. Display “You are just a kid!”, if the user is less than 12 years old Display “Welcome teenager!”, if the user is greater than 12 and less than 20 years old Display “Welcome almost adult!”, if the user is 20 years old. Display “Welcome adult!” , if the user is 21 years old or greater. c. A message displaying the average of their 3 lucky numbers. For example “The average of your 3 lucky numbers is : 20” 2. Additional requirements include: a. Use JOptionPane.showInputDialog() methods for your user to input their data b. Use JOptionPane.showMessageDialog() methods to display your messages. c. Include a comprehensive set of application test data that you used to test your program. Your test data can be shown in a table that includes input data, expected output, actual output and pass/fail results from the test. Your test data can be presented in the form of a table as follows: Code: /* The purpose of this project is to demonstrate my understanding of datatypes, * input/output, sequential...
Words: 619 - Pages: 3
...Understanding Racism and Discrimination Being a white female I could never fully understand racism and the feelings that come from discrimination based on my looks or the color of my skin. Through literary works like Alice Walker’s “The Welcome Table” I get a glimpse into what it might be like. It is also through this type of writing that I am reminded of issues from the past that still exist in the present. Through the reader response analysis approach I will discuss how “The Welcome Table” has inspired me to evaluate how I treat others and if my actions are conducive to a progressive society. In regards to the reader response approach Clugston (2010, section 16.2) states “you must account for your feelings by finding specific aspects of the literary work that make you feel as you do.” (P. 413). What grabbed my attention to this story was the imagery “She was angular and lean and the color of poor gray Georgia earth, beaten by king cotton and the extreme weather.” (as cited in Clugston, 2010, Section 3.1) that made me wonder about the old woman’s story. The metaphor Alice Walker uses to describe the old woman’s face “on her face centuries were folded into the circles around one eye, while around the other, etched and mapped as if for print, ages more threatened again to live.” (as cited in Clugston, 2010, Section 3.1) leads me to believe she has lived a difficult life. Her age and appearance don’t come from her hard work alone but from something much...
Words: 859 - Pages: 4
...CMIS102 Homework Assignment 3 Problem definition: Write a program that would calculate and display the results for the multiplication table for values ranging from 1 to 100. A. Problem Analysis – Following the directions in the assignment, clearly write up your problem analysis in this section. In order to write this program, two variables, ROWNUM and COLUMNNUM, will be used with nested repetition loop to complete the necessary calculations. ROWNUM will be used in an outerloop and contain numbers between1-10 and COLUMNNUM will be used in an innerloop and contain numbers between 1-10. For each iteration of the outerloop, the inner loop will be executed 10 times and the product of ROWNUM*COLUMNNUM will produce the multiplication table of ROWNUM. The ROWNUM and COLUMNNUM variables will be incremented by 1in each iteration of loops. The new line will be printed to display the multiplication table for each value of ROWNUM in a separate line. This table shows the outputs that will be generated from the calculations: 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 14 16 18 20 3 6 9 12 15 18 21 24 27 30 4 8 12 16 20 24 28 32 36 40 5 10 15 20 25 30 35 40 45 50 6 12 18 24 30 36 42 48 54 60 7 14 21 28 35 42 49 56 63 70 8 16 24 32 40 48 56 64 72 80 9 18 27 36 45 54 63 72 81 90 10 20 30 40 50 60 70 80 90 100 B. Program...
Words: 565 - Pages: 3
...CMIS102 Homework Assignment 1 (Worth 13% of your grade) Student Name: Angelica Hines Class/Section: CMIS 102.1202.7983 Professor Name: Ronald McFarland Assignment due date: 04/01/2012 Problem definition: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. A. Problem Analysis – Following the directions in the assignment, clearly write up your problem analysis in this section. In this program the overall goal is to obtain the usable area in square feet in a house. The results or overall goal would be considered the required output. To obtain the required output we would need the necessary input. The necessary information regarding the house is that it contains a maximum of four rooms that are rectangular in shape. I will obtain the required output from the given input by multiplying length x width to find the number of square feet in each rectangular room. Once the combined square footage of each room is determined this will give me the amount of usable living space. We would need to know each room length and width, then calculate each rooms area and then find the sum of all four rooms. Area of Room 1= Length1 x Width1 Area of Room 2= Length2 x Width2 Area of Room 3= Length3 x Width3 Area of Room 4= Length4 x Width4 Area of Room 1 + Room 2 + Room 3 =Room 4 = Total Square footage B. Program Design – Following the directions in the assignment, clearly...
Words: 643 - Pages: 3
...CUSTOMER PERCEPTION OF THE IMPORTANCE OF VALUE ADDED SERVICES PROVIDER BY THE VARIOUS MOBILE PHONE OPERATORS IN THE CONTEXT OF BANGLADESH. by Faisal Rezwan ID: 0220227 An Internship Report Presented in Partial Fulfillment of the Requirements for the Degree Bachelor of Business Administration INDEPENDENT UNIVERSITY, BANGLADESH September, 2007 CUSTOMER PERCEPTION OF THE IMPORTANCE OF VALUE ADDED SERVICES PROVIDER BY THE VARIOUS MOBILE PHONE OPERATORS IN THE CONTEXT OF BANGLADESH. CUSTOMER PERCEPTION OF THE IMPORTANCE OF VALUE ADDED SERVICES PROVIDER BY THE VARIOUS MOBILE PHONE OPERATORS IN THE CONTEXT OF IN BANGLADESH. by Faisal Rezwan ID: 0220227 has been approved September, 2007 Mr. Rumman Hassan Lecturer School of business INDEPENDENT UNIVERSITY, BANGLADESH September 13, 2007 To Mr. Rumman Hassan Lecture, School of Business Independent University, Bangladesh Subject: Submission of Internship Report Dear Sir, It is a great pleasure for me to submit the report on “The customer perception of the importance of value added services provided by the various mobile phone operators in the context of Bangladesh.” I found this study to be useful and practical where the intent was to incorporate the Knowledge gathered throughout the period of my graduation. The intriguing part was the data collection period where I came to learn different type of Value Added Services. I tried to the maximum competence to meet all the dimensions required from this report...
Words: 13794 - Pages: 56
...also found that employees in the weakest-performing companies did not clearly understand the connection between their individual efforts and the overall goals of their employers. That is why it is important to set an inherent value of goal setting in a growing business with the right direction. Here are our short term and long term goal : Short term goal : 1. Create awareness about our company as well as the service that we provided. 2. Achieve BEP(Break Even Point). 3. Open as many branches as possible. Long-term goals 1. Position our company and service in customers’ minds to achieve strong brand equity. 2. Enter the maturity stage of business life cycle and maintain it at that level as long as possible SWOT Analysis...
Words: 866 - Pages: 4
...Global Communications Worksheet Your supervisor wants to send a brief e-mail message to welcome employees who have recently transferred to your department from Brazil, Russia, India, and China. He has written a draft message and would like your feedback. Review your supervisor’s message below. Rewrite the message to make it appropriate for the communication style of one of the four countries of your choice. Conduct research to know more about the communication style of your chosen country. I wanted to welcome you ASAP to our little family here in the States. It’s high time we shook hands in person and not just across the sea. I’m pleased as punch about getting to know you all, and I for one will do my level best to sell you on America. Research: Communicating in a diverse business environment is not always an easy task, but you can improve your sensitivity by respecting the communication styles and preferences of other cultures. An important step in understanding and adapting to other cultures is to recognize the influences that your own cultures has on your communication style and recognizing the variations among the components of cultures in a diverse world. Here is a site you may find helpful: http://geert-hofstede.com/countries.html Audience Analysis: In chapter 5, refer to the section on setting the tone of your message and the You/I voice. Use the Hofstede website to help you determine the individualism or collectivism or each of the four countries...
Words: 450 - Pages: 2
...Associate Program Material Appendix G Sequential and Selection Process Control Structure In the following example, the second line of the table specifies that tax due on a salary of $2,000.00 is $225.00 plus 16% of excess salary over $1,500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00. | |Salary Range in Dollars |Base Tax in Dollars |Percentage of Excess | |1 |0.00-1,499.99 |0.00 |15 % | |2 |1,500.00-2,999.99 |225.00 |16 % | |3 |3,000.00-4,999.99 |465.00 |18 % | |4 |5,000.00-7,999.99 |825.00 |20 % | |5 |8,000.00-14,999.99 |1425.00 |25 % | Problem Analysis: Process: 1. Display welcome message with program title 2. Get the salary 3. Calculate the taxes 4. Output the results Input: Salary (real: Salary) Output: Total taxes (real: Taxes) Salary Input-Process-Output Chart |Input |Processes...
Words: 259 - Pages: 2
...writing your journal entries. This journal entry is designed to help you document ideas about conflicts in literature, which will contribute to the information required for the Week Three Draft and the Week Five Literary Analysis. Recognizing conflict is essential to understanding the various commentaries literature can provide. In Journal One, you identified conflict as it might appear in our everyday world and from other sources. Now, consider the following definition of conflict and how it relates to literature from the textbook or the story/poetry links provided under the requirements for the Literary Analysis: Conflict is opposing actions, ideas, and decisions that hold a plot together...the struggle that shapes the plot in a story. Chapters 1-7 of our text contain a number of stories and poems, each of which rely on at least one conflict. Choose two of this week’s assigned literary works and write about the conflicts presented in each of them. In 250 to 500 words Individual versus Society --- “Still she had come down the road toward the big white church alone. Just herself, an old forgetful woman, nearly blind with age” (para 3.1,2) --- appears to be the main conflict in Alice Walker’s narrative ironically, yet metaphorically named "The Welcome Table”. The theme coming across is that of racism, correct me if I am wrong, with the imagery/ symbolism of “the big white church” versus the lone black Elder. This is the story of an elderly African-American woman, who on...
Words: 2568 - Pages: 11
...IT110-1302A-06 Introduction to Programming Hockey Performance 5/6/2013 TABLE OF CONTENTS Contents TITLE PAGE 1 TABLE OF CONTENTS 2 Week 1: Project Outline 3 Week 1: Project Outline 4 Week 1: Use Case Diagrams 5 Week 1: Class Diagram 6 Week 2: Java Fundamental 7 Week 2: Java Fundamental 8 Week 3: Java Control Structures 9 Week 3: Java Control Structures 10 Week 4: Error Handling and File Input/Output 11 Week 4: Error Handling and File Input/Output 13 Week 4: Error Handling and File Input/Output 14 Week 4: Error Handling and File Input/Output 15 Week 4: Error Handling and File Input/Output 16 Week 4: Error Handling and File Input/Output 17 Week 4: Error Handling and File Input/Output 18 Week 4: Error Handling and File Input/Output 19 Week 4: Error Handling and File Input/Output 20 Week 5: Final Application Design & Screenshots 21 Week 5: Final Application Design & Screenshots 22 Week 5: Final Application Design & Screenshots 23 Week 5: Final Application Design & Screenshots 24 Week 5: Final Application Design & Screenshots 25 Week 5: Final Application Design & Screenshots 26 Week 5: Final Application Design & Screenshots 27 Week 5: Final Application Design & Screenshots 28 Week 5: Final Application Design & Screenshots 29 REFERENCE: An Introduction to Java Programming and Object-Oriented Application Development 29 ISBN-13: 9780619217464 29 Author(s): Johnson 29 Week 1: Project Outline ...
Words: 773 - Pages: 4
...Staffing Handbook Sierra, Vicki DeVry University Strategic Staffing Professor: Michelle Preiksaitis April 18, 2015 Table of Content Cover Page Page1 Table of content Page 2 Introduction Page 3 Strategic Planning Page 3 Job Analysis Page 3-4 Example of job analysis Page 4 Posting a job position Page 4-5 Job posting example Page 5 Interview Process Page 6 Example of non-genetic and legally acceptable interview questions Page 6-7 Pre-employment testing and assessment Page 7 Three additional staffing elements Page 7-8 Employee Handbook Set Forth Expectations Page 8 Employee Handbook Protect Employers Page 8-9 Conclusion Page 9 ...
Words: 1499 - Pages: 6
...College Dublin. Module Co-ordinator: Dr Yousef Eiadat & Dr Richard Tan Contact details Mobile: TBA Office: TBA Email: rich_bsc@yahoo.com.sg 2 TABLE OF CONTENTS PAGE Welcome message 1. INTRODUCTION a. Background details b. Module aims 2. MODULE OUTLINE a. Module learning outcomes b. Themes and topics c. Learning supports 3. MODULE DELIVERY SCHEDULE a. Session arrangements b. Student engagement c. Office hours arrangements 4. ASSESSMENT DETAILS a. Assignments b. Module assessment components i. Pre module assignment ii. Group project iii. Examination 5. GRADING a. University grading policy b. Grade descriptors for assessment components 6. CONCLUDING COMMENTS APPENDICES 5 6 10 12 16 19 21 3 Welcome message Welcome to this unit on Business Policy. Dr Yousef Eiadat will be joining me in teaching this course. In this unit we aim to build skills in Strategic planning – the analysis behind strategic decisions, the crafting of strategies and the implementation of them to ensure organisational success. Strategy involves managing the interface between an organization and its external environment. To this end, the first three topics develop skills in strategic analysis, leading to consideration of the positioning of an organisation in its strategic environment. These cover internal and external analysis, and the options in setting strategic...
Words: 4379 - Pages: 18
...------------------------------------------------- ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- UNIVERSITY COLLEGE DUBLIN ------------------------------------------------- NATIONAL UNIVERSITY OF IRELAND, DUBLIN ------------------------------------------------- ------------------------------------------------- MASTER OF SCIENCE (SINGAPORE) ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- Business Policy ------------------------------------------------- BMGT 4025S ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- STUDY GUIDE ------------------------------------------------- ------------------------------------------------- ------------------------------------------------- MSc14/15 FT / Singapore ------------------------------------------------- ------------------------------------------------- Copyright October 2012 Author: Dr Yousef Eiadat and Dr Richard Tan (2012) This manual was prepared for University College Dublin as a comprehensive support for students...
Words: 4355 - Pages: 18
...PROJECT 1 INSTRUCTIONS Based on Larson & Farber: section 2.1 A temperature data set has been posted under Course Content>>Assignment Instructions>>Projects in Blackboard. Use the data in that data set to create the graphs and tables in questions 1–4 and to answer both parts of question 5. If you can’t figure out how to make the graphs and tables in Excel, you are welcome to draw them by hand and then submit them as a scanned document or photo. 1. Open a blank Excel file and create a grouped frequency distribution of the maximum daily temperatures for the 50 states for a 30 day period. Use 8 classes. (8 points) 2. Add midpoint, relative frequency, and cumulative frequency columns to your frequency distribution. (8 points) 3. Create a frequency histogram using Excel. You will probably need to load the Data Analysis Add in within Excel. If you do not know how to create a histogram in Excel, view the video located at: http://www.youtube.com/watch?v=_gQUcRwDiik. Or a simple bar graph will also work. If you cannot get the histogram or bar graph features to work, you may draw a histogram by hand and then scan or take a photo (your phone can probably do this) of your drawing and email it to your teacher. (8 points) 4. Create a frequency polygon in Excel (or by hand). For help, view http://www.youtube.com/watch?v=7Q-KdmDJirg (8 points) 5. A. Do any of the temperatures appear to be unrealistic or in error? If yes, which ones and why. (4...
Words: 304 - Pages: 2
...drink at least a cup of coffee each day. In Singapore, coffee can be easily bought in any coffee shops, cafes, restaurants and even sold by vending machines. Besides that, Singapore is one of the highest coffee-consuming countries in the world which is meant that 4.4kg of coffee per year (280 cups of coffee) (Channel NewsAsia, July 14, 2013). For coffee lovers, Starbucks is a famous name. It is because of the high quality of coffee bean used and the environment that lets customers enjoy the coffee. So, Starbucks is always the first choice of many people. The purpose of this report is to investigate about how Starbucks can expand their market in Singapore. This report will provide the background of the company and country. A SWOT analysis, PEST analysis and Porter’s 5 forces also will be provided in this report. Lastly, this report will give the recommendation and conclusion. 2. Company Background Starbucks is mainly famous for selling coffee, but it also sells other hot and cold beverages, pastries, sandwiches and other snacks. Today, Starbucks is the top largest coffee chain in the world which has more than 19000 branches in more than 60 countries (Hawthorn, October 30, 2013). Singapore is the third international country outside North American to introduce the Starbucks (Our heritage, 2011). 3. Country Background Singapore is a prosperous developing country. It is one of the commercial hubs in the world. Although it is a small country, it has education, healthcare...
Words: 2911 - Pages: 12