Questions
/* WordList source file * * *   This file will contain the function definitions you will...

/* WordList source file
*
*
*   This file will contain the function definitions you will implement.
*   The function signitures may NOT be changed. You may create your own
*   helper functions and include them in this file.
*
*   In addition to the specific instructions for each function, no function
*   should cause any memory leaks or alias m_list in any way that would result
*   in undefined behavior.
*
*   Topics: Multilevel Pointers, Dynamic Allocation, Classes
*
*/

private:
#endif

   unsigned int m_count;   // Number of words currently in list
   unsigned int m_max;       // The total size of the list.
   char** m_list;   // The list storing the words

};

/* Function: Wordlist Constructor
*/
WordList::WordList(const int max_words) {

   m_count = 0;
   if (max_words > 0) {
       m_max = max_words;
       m_list = new char* [max_words];
   }
}

/* Function: Wordlist Copy Constructor
*/
WordList::WordList(const WordList& other) {

   m_count = other.m_count;
   m_max = other.m_max;
   m_list = new char* [m_max];
   for (int i = 0; i < m_max; i++) {
       m_list[i] = other.m_list[i];
   }

}
/* Function: Wordlist Destructor
*/
WordList::~WordList() {

   delete []m_list;

}

/* Function: printList
*/
int   WordList::print() const {   // TODO:
   return -1;

}

/* Function: at
*/
char* WordList::at(const int index) const {   // TODO:
   return nullptr;

}
/* Function: count
*/
int   WordList::count() const { // TODO:
   return -1;

}
/* Function: add
*/
int   WordList::add(const char word[]) { // TODO
   return -2;

}
/* Funtion: remove
*/
int   WordList::remove(const char word[]) { // TODO:
   return -1;
}

/* Funtion: append
*/
int   WordList::append(const WordList* other) { // TODO:
   return -2;

}
/* Funtion: search
*/
int WordList::search(const char word[]) const {   // TODO:
   return -1;

}
/* Funtion: sort
*/
int   WordList::sort() {   // TODO:
return -1;

}
/* Funtion: Assignment Operator
*/
WordList& WordList::operator=(const WordList& other) { // TODO:
   return *this;
}

In: Computer Science

The DictionaryClient program featured in the class lecture used the constant string SERVER for the hostname....

The DictionaryClient program featured in the class lecture used the constant string SERVER for the hostname. There is also URL object that can be used to get host information. You are to find out how to declare and use this object to replace the use of SERVER constant with the URL object when instantiating the socket. The URL object should be declared and instantiated in main program. If the URL is malformed, the program should gracefully stop. If the URL is not malformed, the program should look up the word in the dictionary. Once working, delete the SERVER constant.

package MySockets;

import java.net.*;
import java.io.*;

public class DictionaryClient {
  
   private static final String SERVER = "dict.org";
   private static final int PORT = 2628;
   private static final int TIMEOUT = 15000;

   public static void main(String[] args) {

       Socket    socket = null;
      
       try {
           socket = new Socket(SERVER, PORT);
           socket.setSoTimeout(TIMEOUT);

           System.out.print("Connected to Host : ");
           System.out.print(socket.getInetAddress() + " Port: ");
           System.out.println(socket.getPort());
           System.out.print("Connected from Host:" );
           System.out.print(socket.getLocalAddress() + " Port: ");
           System.out.println(socket.getLocalPort());
          
           InputStream in = socket.getInputStream();
           BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
          
           OutputStream out = socket.getOutputStream();
           Writer writer = new OutputStreamWriter(out, "UTF-8");
           writer = new BufferedWriter(writer);
          
           define(args[0], writer, reader);

       } catch (IOException ex) {
           System.err.println(ex);
       } finally {
           if(socket != null) {
               try {
                   socket.close();
               } catch(IOException e) {
                   System.out.println(e);
               }
           }              
       }
   }
  
   static void define(String word,
                   Writer writer,
                   BufferedReader reader) throws IOException {
       writer.write("SHOW DB\r\n");
       writer.write("DEFINE fd-eng-lat " + word + "\r\n");
       writer.flush();
      
       for(String line = reader.readLine(); line != null; line = reader.readLine()) {
           System.out.println(line);
           if(line.startsWith("250 ")) {
               writer.write("quit\r\n");
               writer.flush();
           }
       }
       return;
   }
}

In: Computer Science

On a separate sheet of paper, practice the clustering technique to develop a topic for the...

On a separate sheet of paper, practice the clustering technique to develop a topic for the writing assignment. Follow the instructions: 1. Choose one of the suggested topics. Write the topic in a large circle in the center. 2. Think about the topic for one or two minutes. Then write each new idea that comes into your mind in smaller circles around the large circle. 3. Think about the idea in each smaller circle for one or two minutes. Write any new ideas in even smaller circles. 4. Look over your groups of circles. Which groups have the largest number of ideas? These are probably the most productive ideas for your paragraph. TOPICS • a word that describes your home culture • an important term from your major field of study • a definition of what a good teacher is • a definition of culture shock • what the word success means to you • a definition of a what a leader is

STEP 3: Write the first draft. • Write FIRST DRAFT at the top of your paper. • Begin your paragraph with a topic sentence. Use the definition from your cluster diagram. As needed, modify the definition so that it is like the ones you wrote in Practice 4 on page 126. . For unity, present your supporting information in a logical order. • Use transition signals to make your paragraph coherent. . Try to include a word origin and/or idiom that goes well with your topic. Pay attention to sentence structure. Include a variety of sentence patterns: simple, compound, and complex sentences. Use adjective clauses and appositives. Punctuate them correctly. • Write a conclusion that tells why the topic is important, interesting, or unique. • Write a title. It should clearly identify your topic. For examples, look at the titles of the models in this chapter

write a definition paragraph on one of the topics:

In: Advanced Math

Scenario: Green Pastures is a 400-acre farm on the outskirts of the Kentucky Bluegrass, specializing in...

Scenario: Green Pastures is a 400-acre farm on the outskirts of the Kentucky Bluegrass, specializing in the boarding of broodmares and their foals. A recent economic downturn in the thoroughbred industry has led to a decline in breeding activities, and it has made the boarding business extremely competitive. To meet the competition, Green Pastures planned in 2017 to entertain clients, advertise more extensively, and absorb expenses formerly paid by clients such as veterinary and blacksmith fees.

The budget report for 2017 is presented as an attachment. As shown, the static income statement budget for the year is based on an expected 21,900 boarding days at $25 per mare. The variable expenses per mare per day were budgeted: feed $5, veterinary fees $3, blacksmith fees $0.25, and supplies $0.55. All other budgeted expenses were either semifixed or fixed.

During the year, management decided not to replace a worker who quit in March, but it did issue a new advertising brochure and did more entertaining of clients.

Develop a minimum 700-word examination of the financial statements and include the following:

Based on the static budget report:

  • What was the primary cause(s) of the loss in net income?
  • Did management do a good, average, or poor job of controlling expenses?
  • Were management's decisions to stay competitive sound?
  • Prepare a flexible budget report for the year.
  • Based on the flexible budget report:
  • What was the primary cause(s) of the loss in net income?
  • Did management do a good, average, or poor job of controlling expenses?
  • Were management's decisions to stay competitive sound?
  • What course of action do you recommend for the management of Green Pastures?

Show your work in Microsoft Word or Excel.

Complete calculations/computations using Microsoft®Word or Excel.   

In: Accounting

Please answer as many as possible. Thanks! 1. How does syntax allow a person to know...

Please answer as many as possible. Thanks!

1.

How does syntax allow a person to know the meaning of a combination of words he has never heard before such as "The pink hippopotamus flipped backward over the yellow duck?"

a. by knowing what relational meaning between the words mean when they occur in that order
b. by knowing what each word in the sentence means
c. by having heard each of the words in other contexts and generalizing to the current one
d. no meaning would occur in this case since these events are not possible.

2.

Which of the following would be an example of a functional category or closed class of words?

a. "pig"
b. "be"
c. "run"
d. "big"

3.

If the child utters the words "bad" followed by "boy", what would signal that it is a vertical construction versus true syntax or a two-word utterance?

a. The context of the words does not make any sense.
b. The two words have never been combined before.
c. The two words are never used separately or with other words.
d. There is a pause between the words and the intonation pattern of each word is what is found when said alone.

4.

The early three word utterances of children usually

a. express the same relational meanings as two word utterances.
b. express a greatly expanded set of relational meanings.
c. contain at least two grammatical morphemes.
d. appear much less egocentric than two word utterances.

5.

Why do Turkish children sometimes combine a word with a grammatical morpheme (inflected forms) before they combine words whereas English children usually don't start using morphemes until the three-word stage?

a. The Turkish language is very basic and only contains a few frequently used grammatical morphemes.
b. The Turkish language has more regular forms of morphemes than English.
c. Turkish morphemes serve the same function as English words.
d. Turkish mothers are more active in the training of grammatical morphemes.

6.

Children usually first mark a yes/no question by

a. placing the question marker such as "why" at the beginning of the utterance.
b. gestures, like upturned hands.
c. intonation.
d. babbles combined with a question marker.

7.

Those children who are able to produce multiword utterances by paying attention to overall prosodic features yield unanalyzed chunks, sometimes impressively long utterance, are considered

a. to be impaired in later grammatical development.
b. to have an advantage in grammatical development.
c. to be operating in an analytical or bottom-up approach.
d. to be operating in a holistic or top-down approach.

8.

What would a child's utterance of "The bad boys hurted the girl," be counted as in terms of finding the child's mean length of utterance where all morphemes are counted?

a. five
b. four
c. six
d. eight

9.

The child hears "the boy was hit by the ball," and interprets that to mean that the ball hit the boy. What sentence comprehension strategy might the child be using to understand the utterance?

a. the greater familiarity with the concept of boy than ball
b. his experience that boys are usually the one hitting balls
c. the sentence comprehension strategy of word order
d. the best guess grammatical heuristic

10.

How do those researchers who follow the universal grammar position explain the difficulty four year old children have in comprehending co-reference relations in complex sentences (e.g., "John promised Bill to go") since they assume it is a part of this innate knowledge?

a. Children do not have a context that supports the meaning of these sentence types.
b. Children lack the proper experiences with these to acquire them.
c. Four year olds have not reached the maturation level to yield the innate knowledge to support this form.
d. The position can't explain this finding and is weakened by it.

11.

What does a child's ability to imitate a sentence generally means about her grammatical development?

a. Very little since children readily imitate sentences beyond their level of comprehension or grammatical development
b. They have developed the grammatical structure contained in the sentence.
c. Very little about grammatical development and much more about general cognitive development.
d. Very little since there are cases where production of grammar far exceeds comprehension.

12.

The finding that 2 year olds children may put an inflection such as "ed" or "ing" on one verb but not do so on another indicates that

a. they do not have a syntactic category for verb yet but are using other means to generate verbs.
b. the syntactic category of verb for them is more central to their sentence structure.
c. they are unable to categorize any information at this stage of development.
d. they lack the memory abilities to hold the information long enough to allow for comparisons.

13.

Which of the following findings would support the argument that children are productive in their spontaneous speech or have syntactic categories?

a. Finding that children are able to repeat an utterance after hearing it one or two times.
b. Finding that children are able to say something across settings.
c. Finding children say such as "goed" or "runned" when inflecting verbs.
d. Finding cross-cultural evidence for the sounds in the first words.

14.

According to the dual process model of past tense formation, the young child knows that "went" is the past tense of "go" by the process of ________ and that "thanked" is the pass tense of "thank" by the process of ________ .

a. hypothesis testing; inductive reasoning
b. stimulus generalization; overregularizaton
c. core knowledge; experience regularities
d. memorization; rule application

15.

For semantic bootstrapping to work, the child must have an innate knowledge of syntactic categories, prior knowledge of what words means, and

a. the ability to categorize information.
b. an innate lexical acquisition process.
c. linking rules that map syntactic categories onto their semantic correlates.
d. the ability to form associations between language structure and meaning.

16.

If you believe that children learn grammatical categories by the meaning of the words or by where they appear in the sentence, you ideas would best fit the

a. nativist approach.
b. constructivist approach.
c. generativist approach.
d. behavioral approach.

In: Psychology

Study the following Biblical verses that deal with a Biblical view of wealth: Luke 16:10-11, I...

Study the following Biblical verses that deal with a Biblical view of wealth: Luke 16:10-11, I Timothy 5:8, and Deuteronomy 8:18, and respond to the following prompts:

  • What is wealth according to God’s word?
  • What should an individual do with the wealth and prosperity that God has provided?
  • What are the differences between a Christian perspective and a secular perspective on wealth creation and the use of wealth?

In: Economics

In the above news report, Joseph Bryson, Director of Quality and Development at the International Federation...

In the above news report, Joseph Bryson, Director of Quality and Development at the International Federation of Accountants is quoted as explaining the benefits of adopting international accounting education standards. Analyse Joseph Bryson’s arguments from the perspective of classical political economy theory, explicitly considering how he subscribes to a capitalist ideology and the role of accounting education in sustaining this ideology. (Maximum word limit: 500 words)

In: Economics

For the following​ situation, find the mean and standard deviation of the population. List all samples​...

For the following​ situation, find the mean and standard deviation of the population. List all samples​ (with replacement) of the given size from that population and find the mean of each. Find the mean and standard deviation of the sampling distribution and compare them with the mean and standard deviation of the population. The word counts of five essays are 501​, 626​, 555​, 613​, and 576. Use a sample size of 2

question to answer: The mean of the population is?

In: Statistics and Probability

Business Economics Suppose the demand equation for computers by Teetan Ltd for the year 2017 is...

Business Economics

Suppose the demand equation for computers by Teetan Ltd for the year 2017 is given by Qd= 1200-P and the supply equation is given by Qs= 120+3P. Find the equilibrium price and analyze what would be the excess demand or supply if the price changes to Rs 400 and Rs 120. The answer should be a min of 800 Words. And pls send me in computerized word format

In: Economics

A Group of FOUR, Should write a concise research proposal on "green investment and poverty reduction...

A Group of FOUR, Should write a concise research proposal on "green investment and poverty reduction in developing countries"

Each student should read at least three research papers.(12 research papers must be used)

The Structure of the Research Proposal:
a. Title
b. Introduction
c. Literature Review
d. Conclusion
e. References

The report should be typed, double spaced,
Word Limit is 1500

In: Accounting