Questions
Using the following words: Honor, Fear, Excitement, Commitment, Water, Food, Need. Imagine you had to write...

Using the following words: Honor, Fear, Excitement, Commitment, Water, Food, Need.

Imagine you had to write an essay for three hours on your selected topic: Diverge: Pick a word from the list above. Breakdown your selected word into its various component parts in order to gain insight into the various ways/ideas you have for the word.

Brainstorm as many different ideas as you can. List 3 of your ideas Converge: Pick the same word. Think of a predetermined goal for that word. Fully describe your goal/idea and develop a plan for your goal. Submit a brief outline (only 1/2 to 1 page outline)

In: Nursing

Design and write a python program that reads a file of text and stores each unique...

Design and write a python program that reads a file of text and stores each unique word in some node of binary search tree while maintaining a count of the number appearance of that word. The word is stored only one time; if it appears more than once, the count is increased. The program then prints out 1) the number of distinct words stored un the tree, Function name: nword 2) the longest word in the input, function name: longest 3) the most frequent word in the input, function name: mostfreq 4) the first 10 words appearing in reverse sorted order : first10

In all three format Preorder Postorder Inorder

In: Computer Science

Java Question I have a Queue containing String type taking in a text file with an...

Java Question

I have a Queue containing String type taking in a text file with an iterator.

I need to use ArrayList and HashMap for freqHowMany to get a frequency table in descending order by the highest frequency words in the text. Any help would be much appreciated and thanks!

final Iterator input = new Scanner(System.in).useDelimiter("(?U)[^\\p{Alpha}0-9']+");
        final Queue queueFinal = new CircularFifoQueue<>(wordsLast);

        while (input.hasNext()) {
            final String queueWord = input.next();
            if (queueWord.length() > minimumLength) {
                queueFinal.add(queueWord); // the oldest item automatically gets evicted
            }

            System.out.println(queueFinal);
        }
    }
}

EXAMPLE:

Your program prints an updated word cloud for each sufficiently long word read from the standard input.

The program takes up to three positive command-line arguments:

  • freqHowMany indicates the size of the word cloud, i.e., the number of words in descending order of frequency to be shown
  • wordMinLength indicates the minimum length of a word to be considered; shorter words are ignored
  • wordLastNwords indicates the size of a moving window of n most recent words of sufficient length for which to update the word cloud

Your program then reads a continuous stream of words, separated by whitespace or other non-word characters, from the standard input. (A word can have letters, numbers, or single quotes.) For each word read, your program prints to standard output, on a single line, a textual representation of the word cloud of the form

The idea is to connect this tool to a streaming data source, such as Twitter, or speech-to-text from a 24-hour news channel, and be able to tell from the word cloud in real time what the current "hot" topics are.

THANKS!

In: Computer Science

Practice question: Note: Demand is stated word for word like that on the practice question Estimated...

Practice question:

Note: Demand is stated word for word like that on the practice question

Estimated consumer demand

Tourists’ demand in the market is estimated to be, QT (P) = 1500 āˆ’ P

Locals’ demand in the market is estimated to be, QL(P) = 4000 āˆ’ 4P

-Where P represents the price of a ticket in dollars. It is easy to identify locals, who can present proof-of-address to qualify for cheaper tickets. There is no danger of re-sale between groups. It is estimated that it will cost the tourism operator $20 to make each ticket available, and that there will be no fixed costs. Apart from the annual Ecological Tourism Licence fee (E).

-Show working out

A) Derive the combined demand function for the market.

B) Using the information provided in the scenario, derive the tourism operator’s total cost function. Exclude the cost of the annual licence fee.

C) Assume that the profit-maximising price is above the ā€œchoke-priceā€ for locals. Find the profit-maximising quantity and price (Q and P). Is this price consistent with the assumption?

D) Assume that the profit-maximising price is below the ā€œchoke-priceā€ for locals. Find the profit-maximising quantity and price (Q and P). Is this price consistent with the assumption?

E) What is the level of producer surplus under uniform pricing?

F) How many tickets will be available to locals, and what is the level of local consumer surplus (CSL)?

G) How many tickets will be available to tourists, and what is the level of tourist consumer surplus (CST )?

H) What is the profit-maximising quantity and price for the local market (QL and PL)? What is the level of consumer surplus in the local market (CSL)?

I) What is the level of consumer surplus in the tourist market under price discrimination (CST )? Clearly reference any results or calculations from previous steps.

J) What is the level of producer surplus under price discrimination?

In: Economics

must be 800 words in paragraph form and not word for word from google What explains...

must be 800 words in paragraph form and not word for word from google


What explains the collapse of the gold-exchange standard in the early 1970s?

In: Economics

must be 900 words. paragraph form and no word for word from google Discuss the relationship...

must be 900 words. paragraph form and no word for word from google

Discuss the relationship between globalization and development.

In: Economics

C++ Write a word search program that searches an input data file for a word specified...

C++

Write a word search program that searches an input data file for a word specified by the user. The program should display the number of times the word appears in the input data file. In addition, the program should count and display the number of grammatical characters in the input data file. Your program must do this by providing the following function:

void processFile(ifstream &inFile, string wordSearch, int &wordCount, int &grammaticalCount);

void processFile(ifstream &inFile, string wordSearch, int &wordCount, int &grammaticalCount);

Both functions should be called from main(). No non-constant global variables should be used.

Test using this txt file:

You prolly like eating lots of cake and stuff. But, if you eat

too much then you'll just be more prone to getting some cavities. Kids

especially like eating sweets and all sorts of candy cause I've never even met one that hasn't

lmao. Remember: "An apple a day keeps the doctor away!" or

"Good kids listen to their parents".

In: Computer Science

please do it for me with ur own word i mean with different word please •...

please do it for me with ur own word
i mean with different word please



• In the podcast, it is noted that a group of Hawaiians had a resolve to keep the Hawaiian language alive. on language diversity was very interesting to listen to when they talked about the language that is lost, many people do not think much of it, but holding the home language through generation plays a role. The difference in generation plays a factor in the dying language. With many Hawaiians not speaking the Hawaiian language, the passion of these individuals to sustain the language ensured it survived. Like the Hawaiian language, there are many native American languages that are prone to extinction, and the same approach can be used to ensure they do not die. Spreading awareness through teaching of the languages and leveraging mass media platforms like the internet, radio, and TV as applied in the Hawaiian language context, will be pertinent. As the savers of the Hawaiian language did, recording the existing people who can still speak the language and storing the content will provide a useful reference to those who will want to acquire or strengthen the

languages’ mastery in the future. Hearing is a powerful way to learn a language as the voices preserve the speaking style, intonations, and pronunciations, more than written text alone. Also, recording other aspects of the culture like music, dance, communal activities, and other activities in the social context can go a long way to preserving the language. Finally, teaching the language should be encouraged, and participating in activities like songs in the native language is a crucial step in mastering the languages (Meraji, 2019). Either way, teaching the languages at all levels, even if it may not be in the pure form like was applied in the Hawaiian context, it is still a powerful form of preserving the native languages.

In: Nursing

Q1. ( 50 marks) please match word count to get a thumbs up a. What is...

Q1. ( 50 marks) please match word count to get a thumbs up

a. What is franchising? (150 words)

b. Analyze some industries in Dubai where franchising is expected to grow ( 220 word)

c. Why is pricing important for small businesses? ( 160 word)

In: Operations Management

Make sure to include comments that explain all your steps (starts with #) Make sure to...

Make sure to include comments that explain all your steps (starts with #)

Make sure to include comments that explain all your steps (starts with #)

Write a program that prompts the user for a string (a sentence, a word list, single words etc.), counts the number of times each word appears and outputs the total word count and unique word count in a sorted order from high to low. The program should: Display a message stating its goal Prompt the user to enter a string Count the number of times each word appears in the string, regardless if in lowercase or uppercase (hint: use dictionaries and the lower() function) Display the total number of words in the string Display the unique word count in the string in order from high to low Bonus: if a few words have the same count, sort the display in an alphabetic order For example, in the string: ā€œHello hello my dear dear friend!ā€ the output should be: Total words: ========= 6 Word count: ========= dear - 2 hello - 2 friend - 1 my - 1

In: Computer Science