Note that swapArrayEnds() does not need to return the result, as it makes changes to the array referenced by the parameter, which is the same array reference by the argument. On the other hand, removeTen() does not direct make changes to the array, but creates a new array, which requires to be made.
public class RemoveTen {
public static void main(String[] args) {
int[] nums = {1, 10, 10, 2};
swapArrayEnds(nums);
for(int i = 0; i < nums.length; i++)
System.out.print(nums[i] + " ");
int[] result = removeTen(nums);
for(int i = 0; i < result.length; i++)
System.out.print(result[i] + " ");
System.out.println();
for(int i = 0; i < nums.length; i++)
System.out.print(nums[i] + " ");
System.out.println();
}
public static void swapArrayEnds(int[] nums) {
/*FIXME Complete the implementation of the swapArrayEnds
method*/
}
public static int[] removeTen(int[] nums) {
/*FIXME Complete the implementation of the removeTen
method*/
}
}
In: Computer Science
Read the online news article on SA’s “rand and interest rate”
below and answer questions 2(a), (2b) and 3.
Where are the rand and interest rates headed? Apr 12 2018 07:39
Mariam Isa
The ousting of former President Jacob Zuma at the start of this
year and the swift action taken by his successor, Cyril Ramaphosa,
to root out corruption and address government mismanagement sparked
a surge in business confidence, which has significantly improved
South Africa’s growth outlook.
But the dramatic turnaround in sentiment has yet to translate into
the reforms needed to generate enough private investment to make
significant inroads into unemployment, restore social cohesion and
put the economy on a sustainable path of much faster growth.
The decision by Moody’s Investors Service to keep the country’s
sovereign credit rating at investment grade and change the outlook
on its assessment to stable from negative has removed the threat of
a foreign sell-off in government bonds, boosting the rand and
prompting a welcome interest rate cut by the Reserve Bank.
But minister of Finance Nhlanhla Nene has cautioned against the
groundswell of euphoria.
“I would want to call this a honeymoon phase, and it is for that
reason we cannot be complacent about it […] We do need to take our
agenda forward,” he said in an interview on the radio station 702
on 26 March.
Standard & Poor’s made that point in a report released the
following day, even though it doubled its growth forecast for the
country this year to 2% – well above the Reserve Bank’s latest
forecast – and boosted its estimate for next year to 2.1% from
1.7%.
The rating agency questioned how quickly reform efforts would ease
the structural constraints to economic growth – notably labour and
product-market inefficiencies, poor education outcomes and a skills
shortage.
Nonetheless, the rating agency said it no longer saw SA as among
the “fragile five” emerging markets, which would be most vulnerable
to higher interest rates in developed economies.
Reserve Bank Governor, Lesetja Kganyago was also circumspect when
he announced the monetary policy committee’s (MPC’s) decision on 28
March to trim its key repo rate to 6.5%, warning that while the
growth outlook was more positive, it was “still challenging”, as it
was driven mainly by increased confidence.
He also noted that the rand, which had appreciated by 4.8% to the
dollar in the past two months, was “somewhat overvalued” and
further strengthening potential was probably limited.
He told reporters after the announcement that there had been
“heated debate” over the decision to cut the repo rate, with four
members of the MPC arguing for the step and three in favour of
holding it steady.
That means further interest rate cuts are unlikely this year, and
there could even be hikes in 2019, which will dampen business and
consumer optimism.
“The private sector underinvested for the last three years,” said
Stanlib Chief Economist Kevin Lings.
“Because the currency is strong, this is a good time to upgrade
machines – there is restocking of inventory levels across most
sectors.
“What we are not hearing is significant expansion plans. The
government balance sheet prevents it from stimulating the economy –
it has to come from the private sector.”
Mariam Isa is a freelance journalist who came to SA in 2000 as
chief financial correspondent for Reuters news agency after working
in the Middle East, the UK and Sweden, covering topics ranging from
war to oil, as well as politics and economics. She joined Business
Day as economics editor in 2007 and left in 2014 to write on a
wider range of subjects for several publications in SA and in the
UK.
This article is part of the cover story that originally appeared in
the 12 April edition of finweek.
Question
2
[30 Marks]
a) The article outlines the motivations and actions predicted for
the South African Reserve Bank (SARB) when they make a decision of
increasing or decreasing “interest rates”. Discuss the monetary
transmission mechanism when the Reserve Bank DECREASES the
Repurchase (repo)
rate.
[15 Marks]
b) In the article, The SARB Governor highlighted two major
macroeconomic variables affecting the economy, which are, exchange
rate and interest rate. Critically review how the recent
macroeconomic policy change (interest rate and exchange rate) has
affected a particular enterprise or business unit of your choice?
Your answer must start by explaining the nature of business or
sector of the company/organisation, followed by a critical review
of the impact of exchange rate and interest rate changes on the
business/organisation.
[15 Marks]
Question
3
[20 Marks]
The author, in her/his conclusion, highlighted the challenges
facing the economy in a statement: “What we are not hearing is
significant expansion plans. The government balance sheet prevents
it from stimulating the economy – it has to come from the private
sector.”
As an economist, you have been tasked to explain to a business
forum how investment can be used to expand the economy. In your
presentation, critically review four factors directly linked to
investment and how this causes a shift in aggregate demand (AD)
curve. [20 Marks]
(1 mark for each identified factor 4 marks for explaining each
factor).
In: Economics
Scenario
The Department of Technology is planning to replace the packaging machine in the graphic communication lab in the Spring of 2021. The one currently in use was purchased from ESKO in 2011 for $100,000. The installation of the machine was done by the facility department on campus with a price tag of $5,000, including the labor and all the necessary harness. The new machine to be purchased has a cutting table doubles the size of the old one, with a throughput capacity four times of the old machine.
Q1. According to the vendor, ESKO, the price for the new machine for academic usage is directly related to the machine’s throughput capacity (not its physical size). If the cost-capacity factor between 2011 and 2021 is 0.85, what will be the estimated purchase price of the new machine?
Hint. No cost indexing information is needed here as the vendor has already incorporated the time-related cost change into the price they charge for the new machine.
Q2. In order to estimate the cost of operations, the graphic communication area coordinator needs to estimate the time of usage in the class setting. If it takes 45 minutes to set up and finish cutting the first box, and the learning curve slope is 0.75 according to the past experience, how long will it take to set up and finish cutting the third box?
In: Finance
You are the CFO of a publicly held company and need to raise capital for the firm by issuing some kind of equity. Why would a firm want to issue both preferred stock and common stock rather than just one category of stock? Search an article or the Internet for an academic or industry-related article. Select an article that relates to these concepts in the context of doing business in Saudi Arabia. For your discussion post, your first step is to summarize the article in two paragraphs, describing what you think are the most important points made by the authors (remember to use citations where appropriate). For the second step, include the reference listing with a hyperlink to the article. Do not copy the article into your post and limit your summary to two paragraphs. Let your instructor know if you have any questions and enjoy your search. You need to reply to at least two of your peers’ answer posts to this discussion question. These replies need to be substantive and constructive in nature. They should add to the content of the post and evaluate/analyze the answer. Normal course dialogue doesn’t fulfill these two peer replies, but is expected throughout the course. Answering all course questions is also required.
In: Accounting
A. Roles in Career Development: What is the employee's role in the career development process? Themanger's role? The employer's role?
B. Career Development Activities: Give several examples of career development activities that employers can use to foster employee commitment. Does your current employer make use of any of these examples?
C. Linked-In: A growing number of recruiters and organizations are turning to Linked-In to strategically extend their global reach, speed recruitment, sourcing and cut costs (SHRM, 2010). Linked-In is the most used professional network, so whether you are looking for a job or looking to fill a job or improve your know-how through networking, this social media connection may be for you.
View the Linked-In video What is LinkedIn? at http://www.youtube.com/watch?v=IzT3JVUGUzM which is about 2.5 minutes in length; then, go to the social media website located at http://www.LinkedIn.com to find out more. What is your opinion of this social media solution? Do you already have an account? Is Linked-In for you? Why or why not?
Posting is to be 200-300 words in length and supported by at least two sources properly cited and referenced an academic journal article published within the last 3-5 years.
In: Finance
1. A high-school administrator who is concerned about the amount of sleep the students in his district are getting selects a random sample of 14 seniors in his district and asks them how many hours of sleep they get on a typical school night. He then uses school records to determine the most recent grade-point average (GPA) for each student. His data and a computer regression output are given below. (remember to do ALL parts).
Sleep (hrs) 9 8.5 9 7 7.5 6 7 8 5.5 6 8.5 6.5 8 8
GPA 3.8 3.3 3.5 3.6 3.4 3.3 3.2 3.2 3.2 3.4 3.6 3.1 3.4 3.7
(a) Do these data provide convincing evidence of a linear relationship between the hours of sleep students typically get and their academic performance, as measured by their GPA? Carry out a significance test at the α = 0.05 level. (10 points)
(b) Construct and interpret at 95% confidence interval for the slope of the regression of GPA on hours of sleep for seniors in this school district. (5 points)
(c) Can we conclude from these data that students’ GPA will improve if they get more sleep? Explain. (
In: Statistics and Probability
English 1
The topic of this essay is a current issue facing African Americans today.
Write a 4-1/2 to 5-page formal academic essay in which you choose two documentary/news photographs, two paintings, or two advertisements to analyze in a closed-form essay. Your two visual texts should have enough in common to facilitate meaningful comparisons. Show these images in your essay (if you are analyzing videos, you’ll need to show screen captures), but also describe your two visual texts in detail to highlight what you want viewers to see and to provide a foundation for your analysis. For this closed-form analysis, choose several key points of contrast as the focus. Your thesis statement should make a claim about key differences in the way that your chosen visual texts establish their purposes and achieve their persuasive effects.
What challenges do African Americans currently face?
What are current issues about race equality and how do we improve our society’s approach to these issues?
How are African Americans Discrimina Ted against in our society today?
What are solutions to resolve racial discrimination against African Americans?
In: Economics
NRS 434VN Topic 2 Assignment Assessment of the Child: Functional Health Pattern Analysis Worksheet
Details:
In this assignment, you will be exploring actual and potential health problems in the childhood years using a functional health assessment and Erickson’s Stages of Child Development. To complete this assignment, do the following:
While APA format is not required for the body of this assignment, solid academic writing is expected and in-text citations and references should be presented using APA documentation guidelines, which can be found in the APA Style Guide, located in the Student Success Center.
This assignment uses a rubric. Please review the rubric prior to beginning the assignment to become familiar with the expectations for successful completion.
You are not required to submit this assignment to Turnitin.
NRS 434 Topic 2 Collaborative Learning Community (CLC) Agreement
Details:
As a group, complete the “Collaborative Learning Community (CLC)
Agreement.”You are not required to submit this assignment to
LopesWrite.NRS-434VN-R-CLC-Agreement-Student.docx
In: Nursing
Directions This assignment will assess the competency 1. Evaluate the role of HR, 3. Examine organization capabilities for human resource management, & 4. Create a human resource capabilities model. As part of understanding the respective theories discussed and applying them to organizations to create a competitive advantage, you will have the opportunity to assess a particular aspect or aspects of the HR strategy at an organization and how the particular strategy supports the organization’s strategic business objectives. An introduction. An overview of the organization of your choice – briefly describe the nature of the organization including its history, products/services, size, and competition. The organization’s business strategy. The role of HR in contributing to the business strategy – What HR strategies are relevant in helping to foster the attainment of the business strategy? Recommendations – what are the effective practices, what else should be done, what can be done differently, etc? Conclusion Your final paper should be a 1200-1800 word APA style paper. Your content should be supported by no less than four academic/scholarly sources that are cited per APA 6th edition conventions. Your work should demonstrate your critical thinking skills, including analysis, synthesis, and evaluation.
Can you provide the refrences?
Thank you
In: Operations Management
Johanna and Ryan Younan 1.Johanna and Ryan Younan just put their two boys (grades 6 and 2) on their respective school buses for the first day of school and realized that they are growing up fast. As their financial planner, Johanna and Ryan called you and stated that they wanted to save, starting today, at the beginning of every month for the next six years (until the older child goes to college) to pay for one-half of school expenses for both children. You know that tuition, room, and board this year cost $18,000 at their selected school, and you expect 5 percent effective annual inflation for education expenses. Johanna and Ryan also said that they know the children’s grandparents are going to make a gift of $48,000 toward this cause in exactly three years. Assume that both children attend the same college for four years each. Also assume that the annual tuition bill is due at the beginning of each academic year, and the first payment is exactly seventy two months away. How much money will Johanna and Ryan need to invest on a monthly basis to meet their education goal assuming a required effective annual rate of 10.471 percent (10 percent APR with monthly compounding)?
In: Finance