Questions
using Dr java Objective: Write a program that takes a phrase and then counts the number...

using Dr java

Objective:

Write a program that takes a phrase and then counts the number of vowels (case does not matter) in the phrase. It then should display all of the vowels in sorted ascending order according to their count. Only consider {AEIOU} as the vowels.

Hint:

It may be a good idea to keep track and sort two arrays:

Has the vowels in alphabetic order
Has the number of said vowels

Whenever one would swap then it swaps the values in both arrays.

Example Dialog:

Welcome to the vowel counter and sorter!

Enter a phrase!

aaaaaeeeeiiioou

The vowels and their count

u 1

o 2

i 3

e 4

a 5

Another Example

Welcome to the vowel counter and sorter!

Enter a phrase!

Facetious is the only word in English that contains all vowels in order!

The vowels and their count

u 1

a 4

e 5

i 6

o 6

Yet another Example

Welcome to the vowel counter and sorter!

Enter a phrase!

I have a pen, I have an apple. Uh! Apple Pen I have a pen, I have pineapple. Uh! Pineapple Pen Apple pen... Pineapple pen... uh! Pen Pineapple Apple Pen! Pen Pineapple Apple Pen

The vowels and their count

o 0

u 3

i 9

a 17

e 29

In: Computer Science

Research results suggest a relationship between TV viewing habits of 5-year old children and their future...

Research results suggest a relationship between TV viewing habits of 5-year old children and their future performance at high school. Wright and Collins (1998) reported that children who regularly watched Sesame Street as children receives better grades than those had not watched the show as children. Suppose another researcher wants to replicate this study on 20 high school children. The researcher first surveyed the parents of the students to obtain information about their TV viewing habits during the times that the students were 5 years old. Based on the survey results researcher selects a sample of n=10 with a history of watching Sesame Street and n=10 that did not watch the program. The average high school grade is recorded for each student and the data are as follows:

Watched Sesame Street

Didn't Watch Sesame Street

86

90

87

89

91

82

97

83

98

85

99

79

97

83

94

86

89

81

92

92

How would the researcher test if there were a significant difference between the two groups of students? Use JASP to conduct an independent sample t-test. Write all the steps of hypothesis testing using t-test (as shown in the handout) and attach the document (WORD DOC) here.  

In: Statistics and Probability

A company institutes an exercise break for its workers to see the effect on job satisfaction,...

A company institutes an exercise break for its workers to see the effect on job satisfaction, as measured by a questionnaire that assesses workers’ satisfaction. Scores for 10 randomly selected workers before and after the implementation of the exercise program are shown in the following table. Determine if there is a significant increase in worker job satisfaction after the implementation of the exercise program using a 5% level of significance.

Job Satisfaction Index Table

WORKER NUMBER BEFORE AFTER
1 34 33
2 28 36
3 29 50
4 45 41
5 26 37
6 27 41
7 24 39
8 15 21
9 15 20
10 27 37

Must complete all parts of this problem:

  • PART 1: Use Excel to perform a Matched Pairs Test on the data (di = before – after). Copy and paste the output from Excel into a word document.
  • PART 2: Write 3 - 4 sentences on the findings from the Matched Pairs Test. Is there a significant increase in worker job satisfaction after the implementation of the exercise program using a 5% level of significance? Support your answer by using the output from the test. You must include: the hypotheses for the test, a discussion of the p-value, and the decision you reach and why.

In: Statistics and Probability

In this assignment, you will write a cover letter and a resume (or customize your current...

In this assignment, you will write a cover letter and a resume (or customize your current resume) for a specific job posting. Follow the steps below:

  1. Select a job that you would like to apply for now. This could be a full-time position, part-time position, or internship. In your assignment submission, be sure to provide a link to the job posting or a copy of the position description.
  2. Based on this job posting, write and customize your resume as if you were going to apply for this position. Before you write your resume, refer to the lecture for this Module for ideas to include. You may also want to visit websites that show example resumes like Monster.com or Resume.com.
  3. Write a customized cover letter that highlights your qualifications for the position. Before you write your cover letter, refer to the lecture for this Module or search for examples online.
  4. Submit a single Word document that includes the specific job posting, your cover letter, and your customized resume.

Submit your completed assignment using the link below.

For reference, here are examples of a poorly written resume and cover letter, along with a well-written resume and cover letter:

Poorly Written Resume.docx

Poorly Written Cover Letter.docx

Well-Written Resume.docx

Well-Written Cover Letter.docx

In: Operations Management

Purchase Income ($ '000) Age Gender 0 71.9 42 2 0 100.4 42 1 0 105.6...

Purchase

Income ($ '000)

Age

Gender

0

71.9

42

2

0

100.4

42

1

0

105.6

44

1

1

83.1

39

2

0

114.2

43

1

1

113.5

44

1

0

115.2

42

1

0

100.4

35

2

0

92.6

43

2

0

123.8

42

1

0

122.8

45

1

1

98.6

46

2

0

107.6

41

2

0

108.4

42

2

1

138.8

41

1

1

109.9

44

2

1

136.2

47

1

1

117.6

38

2

1

122.8

43

2

0

121.8

45

2

1

126.6

41

2

1

125.8

46

2

1

138.8

42

2

0

149.6

37

1

1

159.5

33

2

Code definitions: Purchase 0 – Not purchased and 1 – Purchased;   Gender 1 – Male and 2 – Female

Fit a logistic regression model to predict purchase decision. Identify significant predictors and comment on classification accuracy.

Submit a word doc including key results and their interpretation for both parts A and B. Attach Excel files to support your results which is a must to get credit for the assignment.

In: Statistics and Probability

Access the CallCenterWaitingTime.xlsx file. Each row in the database corresponds to a different call. The column...

Access the CallCenterWaitingTime.xlsx file. Each row in the database corresponds to a different call. The column variables are as follows:

  • Protocol Type: indicates protocol type, either PT or PE
  • QueueTime: Time in Queue, in seconds
  • Service Time: Service Time, in seconds
  • Perform a test of hypothesis to determine whether the average TiQ is lower than the industry standard of 2.5 minutes (150 seconds). Use a significance level of α=0.05.  
  • Evaluate if the company should allocate more resources to improve its average TiQ.
  • Perform a test of hypothesis to determine whether the average ST with service protocol PE is lower than with the PT protocol. Use a significance level of α=0.05.  
  • Assess if the new protocol served its purpose. (Hint: this should be a test of means for 2 independent groups.)
  • Submit your calculations and a 175-word summary of your conclusions.
  •         
    QueueTime service time
  • PE

    43

    976

    PE

    151

    33

    PE

    57

    35

    PE

    715

    39

    PE

    45

    41

    PE

    97

    43

    PE

    239

    43

    PE

    33

    48

    PE

    31

    48

    PE

    299

    49

    PE

    27

    50

    PE

    189

    50

    PE

    51

    51

    PE

    71

    52

    PE

    57

    56

In: Statistics and Probability

Shopping Cart Read at least three articles that are no more than 12 months old. Apply...

Shopping Cart

Read at least three articles that are no more than 12 months old. Apply the content from the articles to the use of e-Commerce Shopping carts.

The following requirements must be met:

Write between 1,000 – 1,500 words using Microsoft Word in APA 6th edition style.

Use an appropriate number of references to support your position, and defend your arguments. The following are examples of primary and secondary sources that may be used, and non-credible and opinion based sources that may not be used.

Primary sources such as government websites (United States Department of Labor - Bureau of Labor Statistics, United States Census Bureau, The World Bank), peer reviewed and scholarly journals in EBSCOhost (Grantham University Online Library) and Google Scholar.

Secondary and credible sources such as CNN Money, The Wall Street Journal, trade journals, and publications in EBSCOhost (Grantham University Online Library).

Non-credible and opinion based sources such as, Wikis, Yahoo Answers, eHow, blogs, etc. should not be used.

Cite all reference material (data, dates, graphs, quotes, paraphrased statements, information, etc.) in the paper and list each source on a reference page using APA style. An overview of APA 6th edition in-text citations, formatting, reference list, and style is provided here.

In: Economics

a.The sample space consists of the results of a single probability experiment. True or False b....

a.The sample space consists of the results of a single probability experiment. True or False

b. Two events are dependent if the occurrence of one event changes to occurrence of the second event. True or False

c. Using a standard deck of 52 cards, the probability of selecting a 4 of diamonds or a 4 of hearts is an example of a mutually exclusive event. True of False

d. In a discrete probability distribution, the sum of the probabilities for the discrete variables will be > 1. True or False

e. Which of the following is NOT a possible probability? a. 25/100 b. 1.25 c. 1 d. 0

f. A fair coin is thrown in the air four times. If the coin lands with the head up on the first three tosses, what is the probability that the coin will land with the head up on the fourth toss? a. 0 b. 1/16 c. 1/8 d. 1/2

g. How many different 6-letter arrangements can be formed using the letters in the word ABSENT, if each letter is used only once? a. 6 b. 36 c. 720 d. 46,656

h. If P(E) is the probability of an event occurring, which of the following must be false?

a. P(E) =1 b. P(E)=1/2 c. P(E)= .69 d.P(E) = -1.2

In: Statistics and Probability

Create a fictitious manufacturing or service business and integrate any 25 of the following terms in...

Create a fictitious manufacturing or service business and integrate any 25 of the following terms in the description of your business operation. Underline each of these words when typing your response. Your business operation narrative should be accurate, explanatory, and very descriptive. Please be advised that the 400-word requirement is the bare minimum for your assignments.

1. Process

2. Product-service bundling

3. Mass customization

4. Sustainability

5. Efficiency

6. Effectiveness

7. Value

8. External Benchmarking

9. Straddling

10. Order winner

11. Order qualifier

12. Productivity

13. Contract manufacturer

14. Core competency

15. Quality function deployment

16. Value analysis/ value engineering

17. Design for manufacturing and assembly

18. Work breakdown structure

19. Slack time

20. Economies of scope

21. Capacity cushion

22. Capacity

23. Best operating level

24. Capacity utilization rate

25. Learning curve

26. Lead time

27. Work center

28. Lean manufacturing

29. TQM

30. Six Sigma

31. DPMO

32. DMAIC

33. PDCA

34. ISO 9000

35. Conformance quality

36. Quality at the source

37. Dimensions of quality

In: Operations Management

Code in Java Write a recursive method, reverseString, that accepts a String and returns the String...

  • Code in Java
  • Write a recursive method, reverseString, that accepts a String and returns the String reversed.
  • Write a recursive method, reverseArrayList, that accepts an ArrayList of Strings and returns the ArrayList in reserve order in reserve order of the input ArrayList.
  • Write a main method that asks the user for a series of Strings, until the user enters “Done” and puts them in an ArrayList. Main should make use to reverseArrayList and reverseString to reverse each String in the ArrayList and then reverse the ArrayList.

Input Format

a series of Strings followed by the word done.

Constraints

none

Output Format

The strings reversed and in reverse order

Sample Input 0

Keyboard
Done

Sample Output 0

Enter a series of Strings, each on a different line. When done, type "Done".
draobyeK

Sample Input 1

Mouse
Keyboard
Done

Sample Output 1

Enter a series of Strings, each on a different line. When done, type "Done".
draobyeK
esuoM

Sample Input 2

Mouse
Monitor
Computer
Headphones
Done

Sample Output 2

Enter a series of Strings, each on a different line. When done, type "Done".
senohpdaeH
retupmoC
rotinoM
esuoM

Sample Input 3

Done

Sample Output 3

Enter a series of Strings, each on a different line. When done, type "Done".

In: Computer Science