Thinking | Computer Science homework help

  
“Critical Thinking Assignment #4: Java Program #4 of 6 Using Arrays with Sorting and Searching Algorithms” 
2. Critical Thinking Assignment #5: Java Program #5 Using Inheritance 
3. Program #6 Java Interactive GUI Application for Number Guessing Game. 
ITS/320
1. Critical Thinking Assignment #4:
 Java Program #4 of 6 (70 Points)Using Arrays with Sorting and Searching Algorithms(based on Module 4 material)1) This program has six required outputs and involves searching and sorting an array of integers.Write a Java application that initializes an array with the following numbers, in this order:23, 17, 5, 90, 12, 44, 38, 84, 77, 3, 66, 55, 1, 19, 37, 88, 8, 97, 25, 50, 75, 61, and 49Then display the unsorted values. This is required output #1 of 6 for this program.Using a sequential search of the unsorted array, determine and report the 1-relative (i.e. 1, 2, 3, 4, etc.) positions of the following numbers in the array (or -1 if not found), and the number of searches required to locate the numbers: 25, 30, 50, 75, and 92. This is required output #2 of 6.Then display the total number of searches for all five numbers. This is required output #3 of 6.Sort the numbers using any algorithm of your choice and then display the sorted array. This is required output #4 of 6.Using a binary search of the sorted array, determine and report the 1-relative positions of the following numbers in the array (or -1 if not found), and the number of searches required to locate the numbers: 25, 30, 50, 75, and 92. This is required output #5 of 6.Finally, display the total number of searches for all five numbers. This is required output #6 of 6.(There are six required sets of output as numbered in the above paragraphs.)Try to create an object-oriented solution for your solution vs. a procedural one. For example, you might have a class that stores an array passed by a driver class, with methods for sorting the array, searching the array via a sequential search, searching the array via a binary search, and output the current contents of the array. The driver class could not only pass in the initial array values but call various methods to perform the searches, sorting, and array contents display. You may use any output type class you want (e.g. Scanner, JOptionPane).Be sure that you include the course, the program number, your name, and the date in your program header. Include additional comments as necessary and maintain consistent indentation for good programming style as shown in the text. Be sure that you capture all of your output for this program’s execution for full credit!2) You may use any Java Integrated Development Environment (IDE) you choose to develop your source code, compile and link your code, and execute your program (jGRASP is recommended). Or you may use the Windows Command Prompt.You are to submit the following deliverables in a single Microsoft Word file in this order, and clearly labeled.a) A screen snapshot of your Java source code (all file(s) shown separately) displayed in the IDE or Windows editor showing a successful compilation if possible (only the beginning of the source file(s) are necessary).b) A listing of your entire source code file(s).c) A screen snapshot of all of your program’s outputs for the specified values in Step #1. For thisprogram there are 6 (six) total sets of item(s) to be output. Failure to show any of them will resultin lost points. In order not to confuse the grading process, and possible lose points, do not includeany other outputs besides these six items.3) Your instructor may compile and run your program to verify its correctness.4) You will be evaluated on (in order of importance):a) Following directions and inclusion and packaging of all deliverables in Step #2.b) Correct execution of your program (this includes proper compilation). This also includes gettingthe correct answers!c) Proper commenting of your Java code and indentation (as specified in the text).d) Neatness in packaging of your deliverables (to include putting the items in Step #2 in the correctorder).
  
2) You may use any Java Integrated Development Environment (IDE) you choose to develop your source code, compile and link your code, and execute your program (jGRASP is recommended). Or you may use the Windows Command Prompt.
You are to submit the following deliverables in a single Microsoft Word file in this order, and clearly labeled.
a) A screen snapshot of your Java source code (all file(s) shown separately) displayed in the IDE or Windows editor showing a successful compilation if possible (only the beginning of the source file(s) are necessary
b) A listing of your entire source code file(s).
c) A screen snapshot of all of your program’s outputs for the specified values in Step #1. Failure to show any of them will result in lost points.
3) Your instructor may compile and run your program to verify its correctness.
4) You will be evaluated on (in order of importance):
a) Following directions and inclusion and packaging of all deliverables in Step #2.
b) Correct execution of your program (this includes proper compilation). This also includes getting the correct answers!
c) Proper commenting of your Java code and indentation (as specified in the text).
d) Neatness in packaging of your deliverables (to include putting the items in Step #2 in the correct order).
  
ITS 320
3. Critical Thinking Assignment #6: Java Program #6 of 6 (70 Points)
Java Interactive GUI Application for Number Guessing with Colored Hints
(based on Module 7 material)
1) Develop a Java application that plays a “guess the number” game as described below.
a) Your application first gets a random number in the range 1-1000 inclusive (you might want to use Math.random() or the Random class).
b) The application then displays the following prompt (probably via a JLabel):
I have a number between 1 and 1000. Can you guess my number?
Please enter your first guess.
Post a textbox for the user to enter a number and post a message telling the user to hit ‘Enter’ after entering a guess in a textbox (probably using a JTextField).
c) Input the user’s guess in the code for a previously-registered event-handler method (consider using the event-handling approach discussed in the text, or the actionPerformed() method of class based on the ActionListener interface, which will require some additional research outside the text).
d) For the first guess, color the entire background red, meaning that they are getting warmer (you might want to use the setBackground() method for a container). If this is the second or later guess, and they are further from the correct number than the last guess, then color the entire background blue. If they get the correct number then color the background some other color than red or blue.
e) If the user guessed the number correctly, respond with their number, post a congratulatory message, get a new random number, and display a JButton to start a new game. Otherwise, to help the user close in on the correct number, post a message, with their guessed number, whether they are “TOO HIGH” or “TOO LOW” from the correct number, and whether they are “WARMER” or “COLDER” (this should match the background color). Also report the guess number of the next guess (e.g. “Enter guess number nnn”). You might want to use a concatenated string in JLabel for these incorrect guess messages.
f) The process is repeated each game until the user guesses the correct number. Be sure that you erase obsolete status messages.
You must run your program for a scenario where the number is not guessed correctly for at least 4 (four) tries (it can be more). A game where you guess the correct number on the fourth try is acceptable. You must show all user inputs and program outputs for this scenario, not just a sample.
Your submitted output must include the appropriate red or blue background after each guess.
You must include at least one “warmer” and one “cooler” result.
To help you visualize what is required for this program please review the sample output from the last step in these specifications below.
(This program was taken from Exercise 11.15 on page 592 of Deitel & Deitel’s “Java How to Program (Sixth Edition)” (2005 by Pearson Publishing Co.))
Be sure that you include the course, the program number, your name, and the date in your program header. Include additional comments as necessary and maintain consistent indentation for good programming style as shown in the text. Be sure that you capture all of your output for this program’s execution for full credit!
2) You may use any Java Integrated Development Environment (IDE) you choose to develop your source code, compile and link your code, and execute your program (jGRASP is recommended). Or you may use the Windows Command Prompt.
3) You are to submit the following deliverables in a single Microsoft Word file in this order, and clearly labeled.

Inventory Management Paper

1.Research two (2) manufacturing or two (2) service companies that manage inventory and complete this assignment.Write a five to seven  page paper in which you:1.Determine the types of inventories these companies currently manage and describe their essential inventory characteristics.2.Analyze how each of their goods and service design concepts are integrated.3.Evaluate the role their inventory plays in the company’s performance, operational efficiency, and customer satisfaction.4.Compare and contrast the four (4) different types of layouts found with each company; explain the importance of the layouts to the company’s manufacturing or service operations.5.Determine at least two (2) metrics to evaluate supply chain performance of the companies; suggest improvements to the design and operations of their supply chains based on those metrics.6.Suggest ways to improve the inventory management for each of the companies without affecting operations and the customer benefit package. Provide a rationale to support the suggestion.

Promotion and Pricing Strategies Paper

“Entrepreneurs must determine what to sell, to whom and how often, on what terms and at what price, and how to get the product or service to the customer. In short, a marketing plan identifies a company’s target customers and describes how it will attract and keep them. The process does not have to be complex.” (Scarborough & Cornwall, 2015, p. 274).With this assignment, you will address some of the basic areas within a marketing plan and help to refine your strategies for creating a successful business.Using the business from Assignment 2, write a three to four page paper in which you:1.Identify its primary target market.2.Specify three (3) methods you will use to research customer needs and wants.3.Describe the marketing mix: a) product, b) pricing strategy, c)promotion, and d) placement/distribution.4.Create a one-year advertising budget and plan that incorporates the use of various advertising media and publicity.

An online music store offers

  
Java 
An online music store offers all songs for 3$ each. The store requires members to prepay any amount of money they wish, and then download as many songs accordingly. You are required to write a program that would ask the user for the amount that he/she will pay, then display a message indicating how many songs that user will be able to purchase as well as how much funds will remain in the account after that. For this assignment, assume that the user will always enter a valid integer value that is >= 0, and within the limit of the integer range.Here is an example of how your program should behave (the value (shown in bolded italic for clarification purpose only) is entered by the user):How much money do you wish to prepay? 80 With this amount, you will be able to purchase 26 songs. You will then have 2$ left as a credit on your account. Thanks for Shopping at Best Music Store!

California University of Management and Sciences Adverse Event or Near Miss Analysis

How would you compare the artistic representations of the Paleolithic period to the Neolithic period?Use a standard essay format for responses to all questions (i.e., an introduction, middle paragraphs and conclusionResponses must be submitted as a MS Word Document only, typed double-spaced, using a standard font (i.e. Times New Roman) and 12 point type sizeEssay should be 350-500 wordsI need 1 citation from:(S) Art History Vol. 1 Marilyn Stokstad & Michael W. Cothren, 2018 Pearson  ISBN.13: 978-0-134-47927-9 Citations need to be in APA style. Under this style, you should have a short-form in-text citation at the end of a cited sentence, and a complete reference at the very end of the essay in a Reference section. Footnotes and Endnotes are not used in APA citation format.The short-form citation is written inside parentheses and contains the following information: the authors’ last names, the year of publication, and the specific page number where the information was read. In subsequent (short-form in-text) citations, you do not need to write the year of publication again.

Valencia DRAFT Outline/Script

Team Project #2: DRAFT Outline/ScriptThe purpose of this assignment is to take technical topic that you selected on an engineering work setting and develop you Team Project further. You will Expand upon this topic by developing and DRAFT Outline/Script of the various elements of your final presentation, and some points of discussion, along with your FIRST DRAFT of the words that will be spoken in the final presentation, presented via Item 3. PowerPoint, and Item 4. Final Video. I would encourage you to think about the DRAFT Outline/Script that is related to your planned future career. The DRAFT Outline/Script must contain a statistical topic that you learned in this course, so that you can show your ability to synthesize the information you have learned here into a real-world engineering situation.You will be graded as follows:Group Submission:This second assignment on the Team Project #2 in a Group Submission. Develop your “DRAFT Outline/Script” together. Only one person will need to submit it.Chapter 1: Overview and Descriptive StatisticsChapter 2: ProbabilityChapter 3: Discrete Random Variables and Prob DistChapter 4: Continuous Random Variables and ProbChapter 5: Joint Probability Dist and Random SampChapter 6: Point EstimationChapter 7: Stat Intervals Based on a Single Sample

CC Art and Design Discussion Questions

Part A Post your discussion by the due date and time and then respond to two others with whether you agree or disagree with them by the end of day.part IClosely examine the two drawings by Vincent Van Gogh. Images are side by side in the powerpoint and pdf attached. Part IIWatercolor can be used for both quick sketches and highly detailed studies.  One of the best known of the latter is Albrecht Durer’s Large Piece of Turf from 1503.  Compare the style of work with that of John Singer Sargent’s watercolor Rio de Santa Maria Formosa.  Think about all the elements and principles of design we have recently studied and how they are each using them- the same way or differently.  Images are side by side in the powerpoint and pdf attached.VanGogh.Durer.Sargent.pptxVanGogh.Durer.Sargent.pdfPick an Advertisement from a magazine or other print media. Photo or scan and upload as a jpeg or pdf to the discussion board then post your discussion. Write an analysis of the photograph in terms of chapter 9 vocabulary AND the elements and principles of design.  Do a little background research on the artist and the photograph.  How are the elements and principles used to strengthen the concept of this work?Tina ModottiMother and child, Tehuantepec, Oaxaca, Mexico, 1929

International Operations Discussion

1. What is your opinion of the course? Did it meet your expectations? What suggestions can you offer for improvements of this course for future students?Have any of these conceptions changed? Why?What have you learned about international law that you did not know?Is there anything that you thought you knew that you now understand differently after studying the materials in this course?Answer in couple sentences. subject is international operations and then agree or disagree within 2-3 sentences to post below2.I have to say I enjoyed this course a lot. I actually learned a lot. I especially enjoyed the course project, constructing a memo letter for the expansion of our selected businesses in our choice of country. I learned a lot about the country of Singapore and what my business would need to be knowledgeable of when settling in this country. I just think this assignment was great for business professionals in researching international law and what important aspects to consider to start a successful business. At this point, I do not think I would change much about this course. I found it very helpful. Since unit 1, my preconceptions seem to still be accurate, as I believed that business overseas get more tax breaks and less regulations, cheaper labor costs and initial overhead costs.

Systems Approach to Thinking and Management Diagram

I need help with a Health & Medical question. All explanations and answers will be used to help me learn. Identify the structural, behavioral, and intersectional (relationship) attributes of your current or most recent employer’s organization.Create a detailed diagram that maps the stock, inflows, outflows, and feedback loops of the organization.

Sociological Imagination Short Essays

1. What is the sociological imagination? (40 points possible) ? What is the text’s definition? o Cite the location  in our text where you found the definition ? Give a definition in your own words with an appropriate example. ? 150 words  2. What is a social norm and please give an example? (40 points possible) ? What is the text’s definition?  Cite the text’s definition ? Give a definition in your own words ? Give an example of a social norm using “The Body Rituals of the Nacirema” o This article can be found on the internet at: 3. Using the “Ring of Gyges” you must: (40 points possible)  This story can be found on the internet at: 4. After reading the essay by Timothy Knight please give your personal reflection.  Think about the sociological impact of the catharsis brought about by watching the movie.  Do you think this movie would give you a new insight, or reinforce how you already feel?  This reflection must be at least 150 words. (40 points possible)  (I have added this reflection at the end of this syllabus). 5. Mary wants to write an academic paper on Fetal Alcohol syndrome (FAS).  She wants to know if the laws passed have had a positive or negative effect on the number of occurrences of FAS.  Address the following points:  (40 points possible) ? What is qualitative sociological research? ? What is quantitative sociological research?   ? Which method would be best for Mary?  Explain why. ? Minimum of 150 words.