Questions
Write a function which lets the user enter English words. The user can keep entering English...

Write a function which lets the user enter English words. The user can keep entering English words as long as the user has not entered the word “exit”. Once the user enters “exit” the function will return and print the list of all distinct words starts with English alphabets. Like: A: Ali, apple, … B: Bob, book … until Z. Write a python program for this question. Use main function.

In: Computer Science

Write a program to reverse the lines of a file and to reverse the words plus...

Write a program to reverse the lines of a file and to reverse the words plus the letter's of each word within each line using ArrayList.

A file name mobydick.txt

Example:

Original file contains the following

MOBY DICK; OR THE WHALE

by Herman Melville


CHAPTER 1

Loomings.

Out put should be

.sgnimooL

1 RETPAHC


ellivleM namreH yb

ELAHW EHT RO ;KCID YBOM

its for java eclipse

In: Computer Science

MATLAB is program Respond fast please a quiz Create a MATLAB script. Using nested for loops,...

MATLAB is program

Respond fast please a quiz

Create a MATLAB script.

Using nested for loops, evaluate the multivariable function:

z = sin ⁡ ( x ) cos ⁡ ( y )

for

  • x between -4 and 4 in steps of 1
  • y between -2 and 2 in steps of 1

Display the matrix z

Cut and paste the following into a word doc and submit to this question.

  • Your script code
  • Your input
  • Your output

In: Computer Science

For many organizations, objective performance data (such as production figures) is preferred rather than subjective data...

For many organizations, objective performance data (such as production figures) is preferred rather than subjective data when it comes to assessing the performance of employees. While this may seem like a no-brainer approach to use objective data for performance management, it does have its drawbacks. Discuss some of the reasons objective data may be less effective as a performance measure than subjective data. 250 word response please!

In: Operations Management

After attending a seminar about corporate social responsibility (CSR), John advised Mary to focus her investment...

After attending a seminar about corporate social responsibility (CSR), John advised Mary to focus her investment on those companies with CSR plans. However, Mary argued with John that maximizing shareholders’ wealth is the only goal of financial management, not CSR. Do you agree with Mary’s viewpoint? Think of some specific scenarios to illustrate your arguments and justify your stance. (word limit: 300 words)

In: Finance

Write a public Java method called WriteToFile that opens a file called words.dat which is empty....

Write a public Java method called WriteToFile that opens a file called words.dat which is empty. Your program should read a String array called words and write each word onto a new line in the file. Your method should include an appropriate throws clause and should be defined within a class called TextFileEditor.

The string should contain the following words:
{“the”, “quick”, “brown”, “fox”}

In: Computer Science

After attending a seminar about corporate social responsibility (CSR), John advised Mary to focus her investment...

After attending a seminar about corporate social responsibility (CSR), John advised Mary to
focus her investment on those companies with CSR plans. However, Mary argued with John
that maximizing shareholders’ wealth is the only goal of financial management, not CSR. Do
you agree with Mary’s viewpoint? Think of some specific scenarios to illustrate your
arguments and justify your stance. (word limit: 300 words)

In: Finance

Empathy, congruence, and unconditional positive regard are core aspects of Rogerian therapy. According to Rogers, these...

Empathy, congruence, and unconditional positive regard are core aspects of Rogerian therapy. According to Rogers, these aspects allow the therapist to facilitate positive change in the client. Is it possible to be fully empathetic and congruent with someone who is not of your race and/or culture? If someone from another background was your therapist, what would he/she need to know to act with empathy or congruence toward you? ( 300 word response please)

In: Psychology

Write a program in python that opens a text file, whose name you enter at the...

Write a program in python that opens a text file, whose name you enter at the keyboard.

•You will be using the file filetext.txt to test your program

•Print out all of the individual, unique words contained in the file, in alphabetical order.

MAKE SURE THAT ALL THE WORDS YOU PRINT OUT ARE IN A SINGLE COLUMN, ONE WORD PER COLUMN!•Print out the number of unique words appearing in text.txt

In: Computer Science

Your program should take a string representing a sentence in English and format it properly. The...

Your program should take a string representing a sentence in English and format it properly. The input sentence may have any or all of the following errors:

Random letters may be capitalized.

The sentence may not end with a proper punctuation mark (period, question mark, or exclamation point).

There may be spaces at the beginning or end, or more than one space between words.

Format the sentence to fit the following rules:

The first letter of the first word should be capitalized.

The word "I" should be capitalized.

All other letters in all words should be in lowercase.

The sentence should end with a punctuation mark. If the original sentence did not end with a punctuation mark, add a period. (If the original sentence ended with more than one punctuation mark, it is not your responsibility to detect or fix this. However, you should not cause this problem yourself by adding a period if the sentence already ends with a punctuation mark.)

There should be no spaces at the beginning or end of the sentence.

There should be only a single space between words.

Example:

java Sentence

  corRect pUNCtuation    is hard, i  tHINk

RESULT: Correct punctuation is hard, I think.

In: Computer Science