Questions
Case Study Preschool age Child Early Childhood Development Sally is a 3-year-old girl in the primary...

Case Study Preschool age Child Early Childhood Development Sally is a 3-year-old girl in the primary care physician’s office. Sally’s mother states that she is having “temper tantrums.” Sally’s mother expresses concern about childhood obesity and is worried that she sleeps too much Subjective Data Mother states Sally eats well. Sally sleeps 11 to 12 hours a day. Sally speaks in four- to five-word sentences. Objective Data Birth weight: 3 kg Today’s weight: 23 kg Height: 90 cm Sally speaks in three- to four-word sentences with a 300-word vocabulary. Assignment: You are to complete the following case study using your textbook and find one current journal article related to your patient’s diagnosis. Submit a paper summarizing the article in 3-4 sentences and explain why this is applicable to your patient. Cite the journal article within the note using APA format. You are required to submit a handout on nutritional guidelines for the preschool-age child. Submit the appropriate WHO growth chart for this child. Questions: 1. Is Sally’s vocabulary appropriate for her age? 2. Are Sally’s height and weight appropriate for her age?(Use WHO growth charts) 3. What should the nurse tell Sally’s mother when discussing her concerns about childhood obesity? 4. What can Sally’s mother do to help Sally maintain a healthy weight (based on WHO growth chart)? 5. What are the nutritional guidelines for a Preschool age child? Cite reference 6. How can parents get their preschoolers to eat nutritional foods? 7. What websites would you recommend for parents? 8. Create a reference handout for parents. Assign students to research Web sites that offer guidance on how parents can get their children to eat nutritional foods. 9. What information can Sally’s nurse give about her temper tantrums? 10. What is the goal of discipline for a preschooler? 11. What is the recommend sleeping guidelines for a preschooler? (CITE reference) 12. What are the appropriate interventions to address problems with sleeping in the preschooler? 13. What immunizations should the child have for this age? 14. What are the common intestinal parasitic diseases in children? 15. What medications and dosages are recommended for treating intestinal parasitic diseases in children? 16. What is the anticipatory guidance for the preschool-age children?

In: Nursing

this program is to be done in c language. Using Pointers Create a program pointerTester.c to...

this program is to be done in c language. Using Pointers Create a program pointerTester.c to experiment with pointers. Implement the following steps one by one in your program: YOU NEED TO ANSWER QUESTION Use printf to print your answers at the end(after 12). 1. Declare three integer variables a, b and c. Initialize them to 0, 100 and 225, respectively. 2. Print the value of each variable and its address. 3. Add the following declaration to your code: int *pA = &a, *pB = &b, *p; 4. Print the value of each pointer and the value it points to (using the pointer) 5. Run your program multiple times. a. Does any of the values *pA, *pB or *p change? b. Does any of the values pA, pB or p change? 6. Change the value that p points to to 50 without declaring the valuable that p points to. Can you print the value that p points to? 7. Declare an array z of 10 integers and initialize its elements to 0, 1, 2, …., 9 8. Print the address of each element in the array using the z[i] notation 9. Print the address of each element in the array using the z + i notation 10. Print the content of the array using z + i notation 11. Declare a string literal x and set it to value “hello”. 12. Change the second character of x to upper case. What happens? Strings Write a program reading.c that reads from standard input according to the user’s choice. The program should ask “How would you like to read?” 1: character by character; 2: word by word; 3: line by line. Default: print “Invalid choice”. You should write the three procedures below. - The procedure readCharByChar asks the user to enter 5 characters and read them (hint: using %c). - The procedure readWordByWord asks the user to enter 5 words and read them (hint: using %s). - The procedure readLineByLine should ask the user to enter 5 lines and read them (hint: using gets). In each of the three procedures, the values read should be printed to the screen, each on a separate line showing: input index, tab, unit (char, word, or line). According to the user choice, your program uses a switch statement to call readCharByChar, readWordByWord, and readLineByLine, respectively. Make sure your code is properly indented, your variables have meaningful names, and macro definitions are used when appropriate.

In: Electrical Engineering

The final step in our authorship attribution system will be to perform authorship attribution based on a selection of sample documents from a range of authors, and a document of unknown origin.

Python3

The final step in our authorship attribution system will be to perform authorship attribution based on a selection of sample documents from a range of authors, and a document of unknown origin. You will be given a selection of sample documents from a range of authors (from which we will learn our word frequency dictionaries), and a document of unknown origin. Given these, you need to return a list of authors in ascending order of out-of-place distance between the document of unknown origin and the combined set of documents from each of the authors. You should do this according to the following steps: compute a single dictionary of word frequencies for each author based on the combined set of documents from that author (provided in the form of a list of strings) compute a dictionary of word frequencies for the document of unknown origin compare the document of unknown origin with the combined works of each author, based on the out-of-place distance metric calculate and return a ranking of authors, from most similar (smallest distance) to least similar (greatest distance), resolving any ties in the ranking based on an alphabetic sort You have been provided with reference implementations of the functions authattr_worddict and authattr_oop from the preceding questions in order to complete this question, and should make use of these in your solution. These are provided via the from hidden_lib import authattr_worddict, authattr_oop statement, which must not removed from the header of your code for these functions to work. Write a function authattr_authorpred(authordict, unknown, maxrank) that takes three arguments: authordict: a dictionary of authors (each of which is a str), associated with a non-empty list of documents (each of which is a str) unknown: a str contained the document of unknown origin maxrank: the positive int value to set maxrank to in the call to authattr_oop and returns a list of (author, oop) tuples, where author is the name of an author from authordict, and oop is the out-of-place distance between unknown and the combined works of author, in the form of a float.

For example:

>>> authattr_authorpred({'tim': ['One One was a racehorse; Two Two was one too', 'How much wood could a woodchuck chuck'], 'einstein': ['Unthinking respect for authority is the greatest enemy of truth.', 'Not everything that can be counted counts, and not everything that counts can be counted.']}, 'She sells sea shells on the seashore', 20) [('tim', 287.0), ('einstein', 290.0)] >>> authattr_authorpred({'Beatles': ['Hey Jude', 'The Fool on the Hill', "A Hard Day's Night", "Yesterday"], 'Rolling Stones': ["(I Can't Get No) Satisfation", 'Ruby Tuesday', 'Paint it Black']}, 'Eleanor Rigby', 15) [('Beatles', 129.0), ('Rolling Stones', 129.0)]

In: Computer Science

Objectives To develop a recursive solution that reurns a tuple To develop a program that manages...

Objectives

To develop a recursive solution that reurns a tuple
To develop a program that manages bad input
Description

Write a program (sumAndCount.scala) that uses a recursive function that reads Int values from a user one at a time until the user types in the word "quit" (case insensitive!). Your function should return a tuple containing 2 Int values. The first should be the sum of all the Ints, and the second should be the number of Ints entered. Your main program should call this function, and print out the average (rounded) of the values that were entered. Note: You will also need to manage bad input! If the user types something in that isn't an Int or the word "quit", your program should print an error message and ask again! As always, pay close attention to the specific messages that your program must print.

Remember: You don't want any side effects with recursion, so you should not use any "global" variables in your program!

Sample Run 1

$ scala sumAndCount.scala
Enter an Int (type "quit" to quit):
>3
Enter an Int (type "quit" to quit):
>55
Enter an Int (type "quit" to quit):
>78
Enter an Int (type "quit" to quit):
>2
Enter an Int (type "quit" to quit):
>Quit
The average of your 4 numbers is 35
Sample Run 2

$ scala sumAndCount.scala
Enter an Int (type "quit" to quit):
>2
Enter an Int (type "quit" to quit):
>3
Enter an Int (type "quit" to quit):
>4.0
That is not an Int or "quit"!
Enter an Int (type "quit" to quit):
>4
Enter an Int (type "quit" to quit):
>5
Enter an Int (type "quit" to quit):
>quiT
The average of your 4 numbers is 4
Sample Run 3

$ scala sumAndCount.scala
Enter an Int (type "quit" to quit):
>3
Enter an Int (type "quit" to quit):
>78
Enter an Int (type "quit" to quit):
>2
Enter an Int (type "quit" to quit):
>245
Enter an Int (type "quit" to quit):
>quiit
That is not an Int or "quit"!
Enter an Int (type "quit" to quit):
>quit
The average of your 4 numbers is 82
Hints

Similar to the previous assignment, write 2 recursive functions. In this case, however, your function should check to make sure that the user enters eith an Int or the word "quit"
Consider (carefully!) what type of read you would need to use to accept either an Int or a String (in case the user enters "quit") Both are legal!
use the following prototype for your main recursive function:
def sumAndCount: (Int,Int) = { ... }
ACTIONS

In: Computer Science

Question from Operating Systems Proc,Forks,Exec Examine the code given and do changes as mentioned in the...

Question from Operating Systems

Proc,Forks,Exec

Examine the code given and do changes as mentioned in the steps below:

#include "HALmod.h"

int GetCommand (string tokens [])
{
string commandLine;
bool commandEntered;
int tokenCount;

do
{
cout << "HALshell> ";
while (1)
{
getline (cin, commandLine);
commandEntered = CheckForCommand ();
if (commandEntered)
{
break;
}

}
} while (commandLine.length () == 0);

tokenCount = TokenizeCommandLine (tokens, commandLine);

return tokenCount;
}

int TokenizeCommandLine (string tokens [], string commandLine)
{
char *token [MAX_COMMAND_LINE_ARGUMENTS];
char *workCommandLine = new char [commandLine.length () + 1];
int i;
int tokenCount;

for (i = 0; i < MAX_COMMAND_LINE_ARGUMENTS; i ++)
{
tokens [i] = "";
}
strcpy (workCommandLine, commandLine.c_str ());
i = 0;
if ((token [i] = strtok (workCommandLine, " ")) != NULL)
{
i ++;
while ((token [i] = strtok (NULL, " ")) != NULL)
{
i ++;
}
}
tokenCount = i;

for (i = 0; i < tokenCount; i ++)
{
tokens [i] = token [i];
}

delete [] workCommandLine;

return tokenCount;
}


//Do not touch the below function
bool CheckForCommand ()
{
if (cullProcess)
{
cullProcess = 0;
cin.clear ();
cout << "\b\b \b\b";
return false;
}

return true;
}

  

int ProcessCommand (string tokens [], int tokenCount)
{
if (tokens [0] == "shutdown" || tokens [0] == "restart" || tokens [0] == "lo")
{
   if (tokenCount > 1)
   {
        cout << "HALshell: " << tokens [0] << " does not require any arguments" << endl;
   return 1;
   }
   cout << endl;
   cout << "HALshell: terminating ..." << endl;

return 0;
  
}
else
   return 1;
}
char ** ConvertToC (string tokens [], int tokenCount)
{
char ** words;
words = (char **) malloc (sizeof (char*) * tokenCount);

for (int i=0; i<tokenCount; i++)
{
words[i]=strdup(tokens[i].c_str());
}
return words;
}

Step 1- Modify the "ConvertToC" function ( last function) as mentioned:

1. allocate an extra "word" for NULL (Hint: tokenCount+1)
2. store the value of NULL into the extra "word"

Step 2- Modify the "ProcessCommand" function ( second last function) as mentioned:

You will be emulating a shell. First, the shell checks for specific commands ("shutdown", "lo", etc). If it does not recognize those commands then, a fork occurs and the child will execute the command as typed.

The algorithm to implement is as follows (Hint: add code inside the else):

1. fork to create a child and parent

2. the child will do the following:
Call the ConverToC function and capture the return into a char** variable
Call execvp sending it two arguments: the first element (or word) of the char** variable, and the entire array
Print an error message
exit

3. the parent will do the following:
wait for the child
return 1

4. don't forget to handle the error case of the fork


//Dont try to run the program, just do the following steps.

In: Computer Science

Step 1: Identify and Solve a Typical Problem There are a number of typical models in...

Step 1: Identify and Solve a Typical Problem
There are a number of typical models in the Operations Research field which can be applied to a wide range of supply chain problems. Select one of the following typical models:

• Travelling Salesperson Problem (TSP)
• Multiple Traveling Salesman Problem (mTSP)
• Knapsack Problem
• Vehicle Routing Problems (VRP)
• Job Shop Scheduling
• Parallel Machine Scheduling
• Christmas lunch problem
• Newsvendor problem
• Pickup and delivery
• Travelling thief problem
• Eight queens problem
• Minimum Spanning Tree
• Hamiltonian path problem

1.1. Background:
• Provide a detailed explanation of the selected problem.

1.2. Model
• Provide typical mathematical model of the selected problem and clearly explain different aspects of the model (e.g. decision variable, objective function, constraints, etc.)

1.3. Solving an Example
• Develop a mathematical model for a workable and reasonable size of the problem.
– For many typical problems, when size of the problem increases, it becomes NP-Hard. In other words, your computer will not be able to solve it mathematically. Therefore, ‘workable and reasonable size’ here means that size of the selected problem should not be too small or too large.
• Solve the problem in Excel and transfer your solution to Word. It is required that details and steps of getting the solution are provided in the Word document.
• Interpret the findings and discuss.


Step 2: LR on Application of Selected Typical Model in Design and Analysis of Supply Chain
• Identify at least 5 peer reviewed articles in which your selected typical problem has been employed to address knowledge gaps in supply chain field.
– At least one of the selected articles should be published after 2010.
• Write a comprehensive literature review on the application of “your selected” typical model in design and analysis of supply chain and address the following (but not limited to) points:
– What type of problems in supply chain can be addressed by the selected typical problem?
– Compare similarities and differences of selected articles.
– Discuss the suitability of using the selected typical model in design/analysis of various supply chains.
– What are the limitations of your selected typical problem?
– Undertaking any additional critical and/or content analysis on the application of selected typical problem in design and analysis of supply chain is highly recommended.


Step 3: Summary of Findings
• A summary of findings regarding the strengths and weaknesses of the selected typical problem in design and analysis of supply chain should be summarised in this section.
Note:
• From each article something unique should be explained in the report. • Word limit: 2500 ± 500 words

In: Advanced Math

Required information [The following information applies to the questions displayed below.] NOTE: Throughout this lab, every...

Required information

[The following information applies to the questions displayed below.]

NOTE: Throughout this lab, every time a screenshot is requested, use your computer's screenshot tool, and paste each screenshot to the same Word document. Label each screenshot in accordance to what is noted in the lab. This document with all of the screenshots included should be uploaded through Connect as a Word or PDF document when you have reached the final step of the lab.

In this lab, you will:

Required:

1. Calculate the monthly payment for a 15-year and a 6-year mortgage loan.

2. Calculate the amount of interest that you’d pay for a 15-year mortgage loan and a 6-year mortgage loan.

Ask the Question: How much interest do you pay over the life of a 15-year and a 6-year mortgage?


Master the Data: There is no data file for this lab. We will make the needed calculations and input the data as we go.

To compute the mortgage payments, we’ll need to know a few things:

  1. The size of the mortgage loan
  2. The interest rate
  3. The length of the loan (number of months)

Let’s suppose you would like to buy a home for $250,000. But like most U.S. citizens, you don’t have enough cash on hand to pay for the full house. But we’re in luck! Signature Bank has agreed to offer you a 30-year mortgage loan, but requires that you pay 20 percent down ($50,000 = 20% of $250,000) to qualify for their mortgage loan of $200,000 in this way:

$250,000 Cost of home
50,000 Required 20% down payment ($50,000 = 20% of $250,000) (The
cash you need to have available to pay when closing on the home)
$200,000 Amount of the bank loan

Software needed

  • Excel
  • Screen capture tool (Windows: Snipping Tool; Mac: Cmd+Shift+4)

Perform the Analysis: Refer to Lab 1-3 Alternative in the text for instructions and Lab 1-3 steps for each of the lab parts.

Share the Story: Accountants need to know how much of each monthly mortgage (or bond) payment goes toward interest.

Part 1: Upload Your Files

Part 2: Assessment

Upload the Word or PDF document containing your Lab screenshots using the button below. (Zip "Lab 1-3 Alt Submission 1.jpg" & "Lab 1-3 Alt Submission 2.jpg" files and upload the same.)

  1. Take a screenshot of the top 20 lines of your 180-month amortization schedule and label it “Lab 1-3 Alt Submission 1.jpg”.
  2. Take a screenshot of the top 20 lines of your 72-month amortization schedule and label it “Lab 1-3 Alt Submission 2.jpg”.

In: Finance

Proc,Forks,Exec Examine the code given and do changes as mentioned in the steps below: #include "HALmod.h"...

Proc,Forks,Exec

Examine the code given and do changes as mentioned in the steps below:

#include "HALmod.h"

int GetCommand (string tokens [])
{
string commandLine;
bool commandEntered;
int tokenCount;

do
{
cout << "HALshell> ";
while (1)
{
getline (cin, commandLine);
commandEntered = CheckForCommand ();
if (commandEntered)
{
break;
}
}
} while (commandLine.length () == 0);

tokenCount = TokenizeCommandLine (tokens, commandLine);

return tokenCount;
}

int TokenizeCommandLine (string tokens [], string commandLine)
{
char *token [MAX_COMMAND_LINE_ARGUMENTS];
char *workCommandLine = new char [commandLine.length () + 1];
int i;
int tokenCount;

for (i = 0; i < MAX_COMMAND_LINE_ARGUMENTS; i ++)
{
tokens [i] = "";
}
strcpy (workCommandLine, commandLine.c_str ());
i = 0;
if ((token [i] = strtok (workCommandLine, " ")) != NULL)
{
i ++;
while ((token [i] = strtok (NULL, " ")) != NULL)
{
i ++;
}
}
tokenCount = i;

for (i = 0; i < tokenCount; i ++)
{
tokens [i] = token [i];
}

delete [] workCommandLine;

return tokenCount;
}


//Do not touch the below function
bool CheckForCommand ()
{
if (cullProcess)
{
cullProcess = 0;
cin.clear ();
cout << "\b\b \b\b";
return false;
}

return true;
}


int ProcessCommand (string tokens [], int tokenCount)
{
if (tokens [0] == "shutdown" || tokens [0] == "restart" || tokens [0] == "lo")
{
if (tokenCount > 1)
{
cout << "HALshell: " << tokens [0] << " does not require any arguments" << endl;
return 1;
}
cout << endl;
cout << "HALshell: terminating ..." << endl;

return 0;
  
}
else
return 1;
}
char ** ConvertToC (string tokens [], int tokenCount)
{
char ** words;
words = (char **) malloc (sizeof (char*) * tokenCount);

for (int i=0; i<tokenCount; i++)
{
words[i]=strdup(tokens[i].c_str());
}
return words;
}



Step 1- Modify the "ConvertToC" function ( last function) as mentioned:

1. allocate an extra "word" for NULL (Hint: tokenCount+1)
2. store the value of NULL into the extra "word"

Step 2- Modify the "ProcessCommand" function ( second last function) as mentioned:

You will be emulating a shell. First, the shell checks for specific commands ("shutdown", "lo", etc). If it does not recognize those commands then, a fork occurs and the child will execute the command as typed.

The algorithm to implement is as follows (Hint: add code inside the else):

1. fork to create a child and parent
2. the child will do the following:
Call the ConverToC function and capture the return into a char** variable
Call execvp sending it two arguments: the first element (or word) of the char** variable, and the entire array
Print an error message
exit
3. the parent will do the following:
wait for the child
return 1
4. don't forget to handle the error case of the fork


//Dont try to run the program, just do the following steps.

In: Computer Science

10. Grammar and Mechanics - Review In order to succeed in your job search, you need...

10. Grammar and Mechanics - Review

In order to succeed in your job search, you need to present polished résumés and cover messages that use correct grammar, spelling, and punctuation. Practice correct use of grammar and mechanics with the following exercises.

In the following sentences, select the correct word to fill in the blank.

Significant time and effort (was or were?) spent on perfecting her cover letter.

Everybody (are or is?) asked to make a scannable résumé to submit to the human resources manager.

The members of the Professional Committee (is or are?) disagreeing on how to allocate funds.

Each of the female candidates described (her or their?) experience in a well-written cover message.

1. Choose the sentence that is punctuated correctly.

A. Traditional job-search techniques, such as those described in your job handout, continue to be critical in landing jobs.

B. Traditional job-search techniques, such as those described in your job handout continue to be critical in landing jobs.

C: Traditional job-search techniques such as those described in your job handout continue to be critical in landing jobs.

2. Choose the sentence that is punctuated correctly.

A. When customizing your résumé, make sure to include keywords that describe your skills, traits tasks and job titles associated with your targeted job.

B. When customizing your résumé, make sure to include keywords that describe your skills traits tasks and job titles associated with your targeted job.

C. When customizing your résumé, make sure to include keywords that describe your skills, traits, tasks, and job titles associated with your targeted job.

3. Choose the sentence that is punctuated correctly.

A. It is always important to stress reader benefits in the body of your cover letter, describe your strong points in relation to the needs of the employer.

B. It is always important to stress reader benefits in the body of your cover letter describe your strong points in relation to the needs of the employer.

C. It is always important to stress reader benefits in the body of your cover letter; describe your strong points in relation to the needs of the employer.

In the following sentences, select the correct word to fill in the blank.

Make sure to selector (emphasize or empasize) reader benefits when writing a résumé or cover letter.

Make sure to highlight any professional (development/ developmant?) you have obtained over your career.

4. Choose the sentence that uses the correct word.

A. I would like to express my interest in this position formally.

B. I would like to express my interest in this position formerly.

In: Operations Management

Question Objective: The purpose of this lab is for you to become familiar with Python’s built-in...

Question

Objective:

The purpose of this lab is for you to become familiar with Python’s built-in text container -- class str -- and lists containing multiple strings. One of the advantages of the str class is that, to the programmer, strings in your code may be treated in a manner that is similar to how numbers are treated. Just like ints, floats, a string object (i.e., variable) may be initialized with a literal value or the contents of another string object. String objects may also be added together (concatenation) and multiplied by an integer (replication). Strings may also be compared for “equality” and arranged into some order (e.g., alphabetical order, ordering by number of characters, etc.). Finally, strings may be placed in containers which can then be passed as arguments to functions for more complex manipulations.

Specifications:

Write an interactive Python program composed of several functions that manipulate strings in different ways. Your main() function prompts the user for a series of strings which are placed into a list container. The user should be able to input as many strings as they choose (i.e., a sentinel-controlled loop). Your main function will then pass this list of strings to a variety of functions for manipulation (see below).

The main logic of your program must be included within a loop that repeats until the user decides he/she does not want to continue processing lists of strings. The pseudo code for the body of your main() function might be something like this:

# Create the main function

def main():

# declare any necessary variable(s)

# // Loop: while the user wants to continue processing more lists of words

#

# // Loop: while the user want to enter more words (minimum of 8)

# // Prompt for, input and store a word (string) into a list # // Pass the list of words to following functions, and perform the manipulations

# // to produce and return a new, modified, copy of the list.

# // NOTE: None of the following functions can change the list parameter it

# // receives – the manipulated items must be returned as a new list.

#

# // SortByIncreasingLength(…)

# // SortByDecreasingLength(…)

# // SortByTheMostVowels(…)

# // SortByTheLeastVowels(…)

# // CapitalizeEveryOtherCharacter(…)

# // ReverseWordOrdering(…)

# // FoldWordsOnMiddleOfList(…)

# // Display the contents of the modified lists of words

#

# // Ask if the user wants to process another list of words

Deliverable(s):

Your deliverable should be a Word document with screenshots showing the sample code you have created, and discuss the issues that you had for this project related to AWS and/or Python IDE and how you solved them.

Submit the program you develop including captured output. Also turn in screen captures from running your program inputting, as a minimum, three (3) sets word lists (no fewer than 8 words per list).

In: Computer Science