Do in c++ programming languages
Question 1: Solve the complete Question with all parts and subparts.
a) What do you understand by the term DATA TYPE?
b) Is it possible to replace for loop with a while loop. Justify your answer with reasoning and example.
c) Draw a flow chart for Do-While loop for controlled/uncontrolled infinite loop iterations.
d) Write down a function prototype that takes an array and its length as an argument and also return the same array by reversing the position of elements.
e) As you know that “the base address or the starting address of any array is its name”. Keeping this information, answer
i) Why the first index of any array always starts from zero. Although it points to the first location of an array.
ii) The reason why the last index is always one less than array length is “the first index starts from zero”. Does it seems to be a correct reason justify.
iii) What is the offset address of any array NAMED AS ARR1 who starting address is A011234h.
iv) Can you find the offset address of the 6th element of array given in 3? If its data type is INT. 5. What is the offset address of last element of an array stated in 3? If the length of array is 5 and data type is char.
Note: If you are not able to do complete question with parts and its subparts so kindly never do any single part ( i need complete question with proper answers.
In: Computer Science
Question 20 What could be a reason that a person who is a carer may begin using a respite service?
Question 21. You observe a situation in which a young cognitively disabled child has been left alone in the family with a primary carer. Give two potential risks which could occur in this situation
Question 22. Write in detail about one important benefit of providing assistance to a family to maximise the support they are able to provide to a person whom they care P
Question 23. Why is it important for supporting carers and providing them with information about carer support services?
Question24 Where can carers find information about carer support services?
Question 25. What are two ways you could ensure the confidentiality and privacy of a care or the person requiring care are protected?
In: Nursing
Consider the following list of leadership situations. For each situation, describe in detail the kinds of power the leader has. If the leader were the same but the situation changed—for example, if you thought of the president as the head of his family rather than of the military— would your answers change? Why? • The president of the United States is commander- in-chief of the U.S. military. • An airline pilot is in charge of a particular flight. • Fans look up to a movie star. • Your teacher is the head of your class.
In: Operations Management
The following information is available for Ryan Corporation: Assets at cost - $160,000 (5 year life, straight-line depreciation and purchased 4 years ago); NBV - $32,000 while UCC is $47,000 with a CCA rate – 30%; meals and entertainment recorded in the books - $10,000; golf dues paid - $2,500; accounting income - $90,000. Based on this information and a tax rate of 45%, what is taxable income?
114,508
115,400
104,508
51,930
In: Accounting
Consider the design of a database for a web site of a web site of videos that teach people how to do things by yourself, such as house renovation. We will call videos as DIY videos. First, all registered users can post DIY questions, such as “how to paint a wall”. Each DIY question is identified by a question ID, the question itself, and a list of tags (each tag is a lower case word) to annotate the question, and the date the question is posted,. For example, for the question “how to paint a wall”, we can add the tags “wall, paint, roller, brush”. A registered user can also post a DIY video (from the existing video website) to an existing DIY question. Each video is identified by a unique URL (use the URL when you click the share button at the video website page, a title and a description of the video, the date on which the video is posted to your database system. A registered user can search for videos by typing a question (ideally, support fuzzy search since a user might not be able to type the exact phrase in a question), all relevant video links will be returned as a list so that a user can click any video link in the result list to play that video. Each registered user is identified by a unique username, which must be an email, a password, a first name, a last name, the gender, and his/her birthday. A registered user can give at most one review for each video, but on a particular day, the user can post at most three videos. The review given by a user has a score of {“Poor”, “Fair”, “Good”, “Excellent”} and then a short remark. A user can also modify an existing review as well as deleting an existing review. Each user has a private favorite list of DIY videos(called my favorite DIYs). Each user can insert or delete a DIY video from that favorite list. When each video is shown, the DIY question will also be shown beside the title of the video, so that a user can click it to see other videos for this DIY question. While a video is on display, there is a button under the video called “Add to my favorite DIYs” so that a user can easily add this video to his/her favorite DIYs. The system has a distinguished user called “root” whose username is root (this is the only username that is not an email).
- Draw an E-R diagram for the system, in particular, use arrows or thick lines to represent constraints appropriately. Write down your assumptions and justifications briefly and clearly.
- Translate the above E-R diagram into a relational model, i.e., write a set of CREATE TABLE statements. In particular, specify primary key, foreign key and other constraints whenever possible.
In: Computer Science
Do you believe a separate policy should be written to address remote access? If so, what should be included in the policy?
In: Computer Science
A car drives straight off the edge of a cliff that is h =52 m high. The police at the scene of the accident note that the point of impact is d =88 m from the base of the cliff. Here the initial speed v0 is unknown. Ignore air resistance. The magnitude of the gravitational acceleration is 9.8 m/s2. Choose the RIGHT as positive x-direction. Choose UPWARD as postitive y-direction. Keep 2 decimal places in all answers
(a) In this problem, even though the initial speed v0 is unknown, you can still find v0y, the y component of the initial velocity. What is v0y (in m/s)?
(b) How long (in seconds) is the car in the air before hitting the ground?
(c) How fast (in m/s) was the car traveling when it leaves the cliff?
(d) What is the vertical component of the velocity (in m/s) just before the car hits the ground? Pay attention to the direction (the sign).
(e) What is the magnitude of the velocity (in m/s) (including both the horizontal and vertical components) of the car just before it hits the ground?
(f) What is the direction of the velocity of the car just before it hits the ground? Report the direction by an angle COUNTERCLOCKWISE from the +x axis.
(g) Assume the car’s new speed leaving the cliff is 75.0 mph but the height of the cliff is unchanged, still 52 m.
- What is the new speed in m/s? 1mile = 1609 m, 1 hour = 60 minutes, 1 minute = 60 seconds
- What is the time interval (in seconds) from the car leaving the cliff to it hitting the ground?
- What would be the horizontal distance d (in meters) from the base of the cliff to the impact point?
In: Physics
What will be the values of A, B, C and D after execution of the following procedure using the “Scores”
dataset?
Note: Consider fractions up to 2 decimal places e.g. 10 / 3 =
3.33, 20 / 3 = 6.67
Step 1. Arrange all cards in a single pile called Pile 1
Step 2. Maintain five variables A, B, C, D, percentage and initialize them to 0
Step 3. If Pile 1 is empty then stop the iteration
Step 4. Read the top card in Pile 1
Step 5. Calculate percentage: divide TOTAL marks by 3 and store the result in percentage
Step 6. If percentage ≥ 85 then increment A
Step 7. If percentage < 85 and percentage ≥ 70 then increment B
Step 8. If percentage < 70 and percentage ≥ 60 then increment C
Step 9. If percentage < 60 then increment D
Step 10. Move the current card to another pile called Pile 2 and repeat from step 3
In: Computer Science
For each of the following compounds, please provide:
a) The best Lewis dot structure for the compound (include any non-zero formal charges). Draw this structure as a 3 dimensional representation that reflects the electron domain geometry for the compound.
b) The electron domain geometry for the compound. In other words, what would be the geometry if all lone pairs were replaced with atoms?
c) The molecular geometry for the compound. For the starred compounds below, there is more than one possible geometry. In that case, draw all possible geometries and indicate which of the geometries you have drawn is the best one, explaining how you arrived at the answer.
d) The location of any one mirror plane through the compound (if they exist). For example, CO2 has two sets of mirror places, one through the O-C-O axis, and another that bisects the O-C-O axis. Please be specific in your answer.
N2O SeBr4[*] ClOF2+ XeF3+[*]
SCl3F3 [*] I3+ SCN- H2SO4
In: Chemistry
What are two areas that you believe are primary contributors to the '08-'09 financial crisis for both the US and Iceland?
Hello! Please help explain the two areas from an economic standpoint (preferably Macro but anything will do).
Thank you so much!
In: Economics
From the list shown below, for each of the following hypothesis testing situations indicate the type of test you would use. Unless indicated otherwise, the significance level for all the tests is .05
One-sample t test
One sample Wilcoxon signed-ranked test
McNemar Test
Two samples t test for independent means with equal variances
Paired samples t-test
F test
Mann-Whitney U test
Chi-square test
Paired Sample Wilcoxon Signed Ranked test
Two samples t test for independent means with unequal variances
A financial aid advisor wants to see if students are overly optimistic about their future salaries. He knows that the distribution of starting salaries for public health majors graduating from the school is normally distributed with a mean of $ 48,000 or u = $4,000 a month. To determine if public health students are overly optimistic about their potential salaries, the counselor obtains a random sample of 15 MPH students from UWF and asks each one of them individually what they expect their monthly salary will be in their first job after graduation. The 15 students' expected starting monthly salaries had a mean of 4,200. The counselor chooses a one-tailed test and alpha of 0.05. The research question is: Is the student's mean estimated starting salary significantly higher than the actual starting salary for nurse’s students?
Researchers want to find a better way of encouraging children to read more and discovered two possible approaches. To decide which to implement, they randomly select two libraries. In library a they enhanced the children's reading area and shelving as suggested in one plan, and in library B, they enhanced the children's reading area according to the other plan. After a year, they collected data on how many books each member of the two borrowed over the period. The researchers assessed the amount of reading in a Likert scale; therefore, the variable reading was an ordinal variable, and although the distribution was symmetric, the researchers could not assume the data is normally distributed.
Researchers wanted to assess if children living in the far north grow more slowly than those who live in sunnier regions. Their null hypothesis was that there would be no significant difference in height between two samples of 14-year-olds chosen from northern Finland and southern Italy. The randomly selected 50 children aged 14 from two different schools and their heights were measured and recorded in centimeters. It is assumed the test variable “height” was normally distributed in each of the populations; the cases represent a random sample from the population, and the scores on the test variable are independent of each other; and the variances of the normally distributed test variable for the populations are equal
A nurse is leading a smoking cessation group and wants to determine the effectiveness of the intervention. The research question is: will providing a 1-hour smoking cessation workshop help to reduce smoking among the participants? Ho= the smoking cessation workshop is not effective in reducing smoking; Ha: the smoking cessation workshop is effective in reducing smoking. The nurse selects 40 participants. The data is assumed to be normally distributed
An investigator read that there is an antibiotic often tested, well documented, and known to help information stored in memory. This experimenter also knows through scientific reports and guidelines that behavioral therapy has an established efficacy for the treatment of the social phobia. In addition, he knows that behavioral therapy requires the learning of new behaviors which implies information storage. The number of symptoms of social phobia after two types of therapy was investigated. Two groups of individuals with social phobia were compared. The first group (10 participants) received the behavioral therapy; the second group (15 participants) received the behavioral therapy combined with the antibiotic. After each therapy, both groups showed a decrease in the number of symptoms of social phobia. The number of these symptoms was measured and a test was run to decide whether the combined therapy had more effect on the symptoms than the behavioral therapy alone.
In: Math
As a recently hired MBA intern, you are working in a consulting capacity to provide an analysis for Al Dente's Italian Restaurant. A financial income Statement is presented below: Sales $2,698,000 Cost of sales (all variable) $1,557,563 Gross Margin $1,140,438 Operating expenses: Variable $277,975 Fixed $213,675 Total operating expenses: $491,650 Administative expenses (all fixed) $564,375 Net operating income $84,413 This income statement presents the sales, expenses and pre-tax operating income for a local eating facility. At Al Dente, the average meal cost for lunches and dinners are $20 and $40 respectively. Al Dente serves both lunch and dinner 300 days per year and serves twice as many lunches as dinners.
4. The owner of the restaurant is thinking of increasing sales through additional advertising, which she will incur as an administrative expense. The proposed additional advertising campaign will cost $25,000. She anticipates that the additional advertising expense will result in an additional 6 lunches and 3 dinners on average, per day. Illustrate the impact on NOI assuming the changes above (hint: show a revised CM statement). Hint: for this type of ‘whatif’, compare the additional contribution margin impact on NOI given the change in units and change in fixed costs.
In: Accounting
What is the psychoanalytic approach to psychology and what are the strengths and weaknesses?
In: Psychology
1- Incremental Analysis:
Explain two (2) examples of unavoidable costs for a sample business decision for a company.
2- Master Budget Terms:
List and explain three (3) benefits of budgeting for a company.
3- Additional Budget Terms:
Explain how to compute a flexible budget performance report.
In: Accounting
A large psychiatric specialty group practice in a metropolitan area provides a range of psychiatric services. Since its formation in the 1980s, the practice has grown rapidly and has thrived as a result of the development of managed care plans, including the state Medicaid program that follows a carve-out model for behavioral health services. The psychiatric group is made up of highly respected psychiatrists, who carry out extensive translational research and develop evidence-based protocols that are highly respected. They are also skilled at applying clinical guidelines to inform and transform their clinical practice.
Several psychiatrists are concerned about the long-term effect of federally mandated accountable care organizations (ACOs). The mandate identifies 65 performance measures that the standard ACO must meet under the Medicare Shared Savings Program. These measures span five quality domains: patient experience of care, care coordination, patient safety, preventive health, and at-risk population/frail elderly health. The only behavioral health measure mandated is in the preventive health domain—a measure for depression screening.
Some leaders of the group believe that mental and behavioral health is a highly specialized area and that the practice's clinical volume will not change significantly. They do not support developing an ACO strategy and have resolved to take a wait-and-see approach. They point out that managed care was promoted in the 1970s by the federal government and then went away as a general policy. Other leaders, including the practice CEO, believe that ACOs do present a long-term threat but also provide an opportunity for the group to transform itself into one that is information driven.
Evidence-Based Strategy
The practice organized a multidisciplinary team to explore an ACO strategy. The team comprises two psychiatrists, one psychiatric nurse, the CEO, and a healthcare management intern. The team agrees that it will entertain all ideas and proposals, as well as research the literature to bring the best explicit information and experiential knowledge to the deliberation. Relevant literature topics include ACO basics, knowledge management, disruptive innovation, and managed care organizations’ limited acceptance and success since the 1980s.
The management intern, Marjorie, is interested in the medical-offset effect and its potential as a strategic asset. She presents to the team 30 years of critically reviewed research on the concept, including closed clinical trials. Studies on medical-offset measure the impact of providing effective behavioral health services on the utilization of medical care, including physician consults and visits to the emergency department. Marjorie is impressed by the extensive studies that include a wide range of populations and conditions, including Medicaid patients and chronic care diagnoses. The findings consistently demonstrate a savings of 10 to 20 percent through reductions in medical care utilization, particularly specialized services.
The psychiatrists meet these studies with skepticism. Although they think the science behind the research is valid, they reason that the practice's specialty is mental health and not prevention or behavioral health; thus, the studies are not relevant to what they do.
In a brainstorming session, the team explores alternative strategies for how the practice might add value to the ACOs that are developing in the area. The first strategy is to embed specialty psychiatric knowledge into the ACO's decision support system. The second strategy is to develop formal affiliations with as many ACOs as possible to capture their referrals for specialty care. The third strategy is to extend the practice's decision support protocols to address prevention, early detection, and aggressive management of behavioral health issues. This last idea is suggested by the psychiatric nurse, who points out that the nursing staff and social workers have considerable, but underused, expertise in behavioral health. The psychiatrists on the team worry that developing behavioral health decision support protocols would result in a loss of status for the psychiatrists and thus would be strongly opposed. They note that the specialty practice of psychiatry is the core competency of the group and that the proposed strategy would result in a loss of prestige and reputation for the practice.
After considerable discussion and debate, the team agrees to respect and maintain the existing culture and practice of the psychiatrists but to pursue a broader strategy to better position the group for the future. They begin to develop a full proposal for the third strategy.
In: Operations Management