Write a program called Teen that takes a sentence and returns a new sentence based on how a teenager might say that. The method that creates the new string should be called teenTalk and should have the signature shown in the starter code.
The way to do that is to put the word "like" in between each of the words in the original sentence.
For example, teenTalk("That is so funny!") would return "That like is like so like funny!".
Sample output:
Sonequa Martin-Green is in grade 10 and wants to send this text: Enter the text message being sent: Hello world how are you doing? The teen talk text would be: Hello like world like how like are like you like doing?
Coding Portion:
public class TeenTester
{
public static void main(String[] args)
{
// Create a new Teen object and print it out; see the Teen class
file
// to see how the constructor and toString method work.
Teen myFriend = new Teen("Sonequa", "Martin-Green", 10,
true);
System.out.println(myFriend.toString());
// Ask the user to input a text message
//Call teenTalk method to translate the message to teen talk
}
}
Different Class:
public class Teen
{
private String firstName;
private String lastName;
private int grade;
private Boolean textMessages;
// Constructor to make a teen with a first and last
name, grade in school,
// and whether they text message others and need to write texts to
others.
// This defines the state of the teen.
public Teen(String theFirstName, String theLastName, int theGrade,
Boolean theTextMessages)
{
firstName = theFirstName;
lastName = theLastName;
grade = theGrade;
textMessages = theTextMessages;
}
// toString method to print out the state of teen object
public String toString()
{
return firstName + " " + lastName + " is in grade " + grade + " and
wants to send this text:";
}
// Create this method so that it changes the text message
// and places the word "like" in place of each space
// in the message.
public String teenTalk(String text)
{
}
}
In: Computer Science
After reading the case that is below, How can a foreign company entering China ensure that it tackles the most important “little” things that end up being huge barriers to success as we approach the year 2020 when China is expected to have significantly increased purchasing power among its middle class? Write your opinion, as a manager, on how to face cultural issues like those described in the case, when entering foreign markets.
The People's Republic of China opened up to foreign investments in the late 1970s. Since that time, numerous companies have tried to establish operations and sell their products to customers in China. Many more companies will try in the years to come—China is expected to have some 190 million people in the middle- and upper-income categories by 2020. This is an increase from only about 17 million people in these income brackets as recently as in 2010. China's purchasing power for virtually all products and services has strong potential, and foreign companies will seek these market opportunities. What have we learned culturally that can help Western-based companies in China's marketplace?
Some background on China can serve as a starting point for better understanding the culture in China and what some well-known companies such as Best Buy and eBay have done to target the Chinese marketplace. The motivation for many foreign companies to enter China—beyond those that have been there for a few decades for reasons of low-cost production—was the triple growth of the Chinese economy that was seen from 2000 to 2010. China overtook Japan to become the second-largest economy in the world behind only the United States, and its large population makes for an enormous target market. Investment from foreign companies was the largest driver of China's growth in the decade from 2000 to 2010. However, many companies also increased their exports to China. The United States, for example, saw its companies increase exports to China by 542 percent from 2000 to 2011 (from about $16.2 billion to $103.9 billion), while total exports to the rest of the world increased by only 80 percent in the same time period.
Interestingly, while foreign investments grew, domestic consumption as a share of the Chinese economy declined from 46 percent in 2000 to 33 percent in 2010. This consumption decline—coupled with slower growth globally and, ultimately, the worldwide economic downturn that started in 2008—raised questions about China's momentum. Right now, around 85 percent of mainstream Chinese consumers are living in the top 100 wealthiest cities. By the year 2020, these advanced and developing cities will have relatively few customers who are lower than the middle- and upper-income brackets by Chinese standards. The expectation is that these consumers will be able to afford a range of products and services, such as flat-screen televisions and overseas travel, making the Chinese customer much more of a target for a wide variety of consumption. This begs the question, can the unprecedented Chinese growth really continue, and would it come from increased consumption?
The resounding answer is yes according to research conducted by McKinsey & Company. McKinsey found that barring another major economic shock similar to what we saw in 2008, China's gross domestic product (GDP) will continue to grow, albeit not at the historic levels seen between 2000 and 2010 when it grew about 10.4 percent annually. The growth from 2010 to 2020 is expected to be about 7.9 percent per year, which is still far above the expected growth for the United States (2.8 percent annually), Japan (1.2 percent annually), and Germany (1.7 percent annually)—the three countries among the top four worldwide economies along with China. And, the key is that consumption will now be the driving force behind the growth instead of foreign investment. The consumption forecast opens up opportunities for foreign companies to engage with Chinese consumers who are expected to have more purchasing power and discretionary spending.But culturally translating market success from one country or even a large number of countries to the Chinese marketplace is not necessarily as straightforward as it may seem. Often, a combination of naiveté, arrogance, and cultural misunderstanding have led many well-known companies to fail in China. Lack of an understanding of issues such as local demands, buying habits, consumption values, and Chinese customers' personal beliefs led to struggles for companies that had been very successful elsewhere in the world. Let's take a brief look at Best Buy and eBay as two examples.
Best Buy, the mega-store mainly focused on consumer electronics, was founded in 1966 as an audio specialty store. Best Buy entered China in 2006 by acquiring a majority interest in China's fourth-largest appliance retailer, Jiangsu Five Star Appliance, for $180 million. But culture shock hit Best Buy, best described by Shaun Rein, the founder of China Market Research Group. He pointed to a few reasons for this culture shock and lack of success. First, the Chinese will not pay for Best Buy's overly expensive products unless they are a brand like Apple. Second, there is too much piracy in the Chinese market, and this reduces demand for electronics products at competitive market prices. Third, like many Europeans, the Chinese do not want to shop at huge mega-stores. So, these three seemingly easy-to-understand cultural issues created difficulties for Best Buy. Solving these issues, Best Buy believed that it would have to develop and implement a different business model for the Chinese market than it has used, for example, in the United States. Now, how far should a company go outside its normal business model to adhere to cultural values and beliefs of a new market? Strategically moving forward, Best Buy opted to close all of its Best Buy–branded stores in China and focus on its wholly owned local Jiangsu Five Star chain of stores. But will this new strategic business model be successful with the new makeup of customers in China expected by 2020?
eBay, the popular e-business site focused on consumer-to-consumer purchases, was founded in 1995. The company was one of the true success stories that lived through the dot-com bubble in the 1990s. It is now a multi-billion-dollar business with operations in more than 30 countries. But China's unique culture created problems for eBay in that market. Contrary to the widespread cultural issues that faced Best Buy, one company in particular (TaoBao) and one feature more specifically (built-in instant messaging) shaped a lot of the problems that eBay ran into in China. Some 200 million shoppers are using TaoBao to buy products, and the company accounts for almost 80 percent of online transaction value in China. Uniquely, TaoBao's built-in instant messaging system has been cited as a main reason for its edge over eBay in China. Basically, customers wanted to be able to identify a seller's online status and communicate with them directly and easily—a function not seamlessly incorporated into eBay's China system. Clearly, built-in instant text messaging is a solvable obstacle in doing business in China. It sounds easy now when we know about it, but may not always be the case when we take into account all the little things that are important in a market.
In: Economics
Please read and answer the question below.
Quelling? ?Violence? ?in? ?Our? ?Country
One? ?only? ?has? ?to? ?turn? ?to? ?social? ?media? ?or? ?the? ?news? ?to? ?conclude? ?we? ?have? ?a? ?major? ?problem? ?in? ?our country? ?with? ?human? ?violence.? ?? ?It? ?seems? ?like? ?every? ?day? ?we? ?read? ?in? ?the? ?paper? ?yet? ?another? ?teenager was? ?assaulted? ?or? ?even? ?shot? ?at? ?school? ?or? ?even? ?off? ?campus? ?(as? ?a? ?result? ?of? ?events? ?which? ?occur? ?on campus).? ?? ?In? ?Ridgewood? ?NJ,? ?last? ?week,? ?a? ?teenager? ?had? ?his? ?skull? ?fractured? ?when? ?he? ?stood? ?up? ?to? ?a friend? ?who? ?was? ?being? ?bullied? ?for? ?some? ?weeks? ?before.? ?? ?I? ?hear? ?some? ?parents? ?blaming? ?the? ?internet. They? ?say? ?children? ?are? ?watching? ?videos? ?on? ?youtube? ?about? ?how? ?to? ?build? ?explosive? ?devices? ?or? ?build guns.? ?? ?But? ?folks? ?were? ?hurting? ?and? ?shooting? ?each? ?other? ?for? ?a? ?long? ?while? ?in? ?history? ?before? ?the internet? ?came? ?to? ?be? ?so? ?popular. Other? ?people? ?blame? ?guns? ?and? ?the? ?lack? ?of? ?stronger? ?gun? ?laws? ?in? ?America.? ?? ?They? ?say? ?that? ?if? ?there were? ?more? ?laws? ?constraining? ?the? ?ability? ?to? ?buy? ?and? ?keep? ?guns,? ?there? ?would? ?not? ?be? ?so? ?much violence.? ?? ?It’s? ?likely? ?that? ?if? ?we? ?had? ?more? ?or? ?stronger? ?gun? ?laws,? ?the? ?criminals? ?who? ?hurt? ?or? ?shoot others? ?would? ?simply? ?be? ?breaking? ?more? ?laws? ?in? ?the? ?process? ?of? ?their? ?commission? ?of? ?violence? ?and that? ?would? ?not? ?reduce? ?the? ?numbers? ?of? ?gun? ?deaths. “Still? ?others? ?think? ?that? ?the? ?depiction? ?of? ?vivid? ?violence? ?in? ?movies? ?and? ?in? ?video? ?games? ?is? ?the? ?cause of? ?the? ?violence.? ?People? ?were? ?violent? ?long? ?before? ?video? ?games? ?and? ?movies? ?came? ?along.? ?People are? ?putting? ?the? ?blame? ?in? ?the? ?wrong? ?place.? ?The? ?reason? ?there? ?is? ?so? ?much? ?violence? ?today? ?is because? ?we? ?have? ?lost? ?our? ?moral? ?character.? ?If? ?there? ?had? ?been? ?a? ?copy? ?of? ?the? ?Ten? ?Commandments on? ?the? ?walls? ?of? ?the? ?classrooms? ?at? ?Columbine? ?High? ?in? ?Colorado,? ?those? ?boys? ?never? ?would? ?have killed? ?all? ?those? ?people.? ?If? ?there? ?had? ?been? ?required? ?prayer? ?every? ?day? ?from? ?kindergarten? ?on? ?up, violence? ?in? ?America? ?would? ?be? ?almost? ?non-existent. I? ?know? ?there? ?will? ?be? ?skeptics? ?who? ?will? ?say,? ?“But? ?Stalin? ?was? ?a? ?seminarian? ?and? ?Hitler? ?sang? ?in? ?the church? ?choir.”? ?These? ?claims? ?are? ?true,? ?but? ?Stalin? ?and? ?Hitler? ?are? ?exceptions? ?that? ?prove? ?the? ?rule. Slobodan? ?Milosovic? ?may? ?have? ?been? ?raised? ?in? ?a? ?religious? ?household? ?but? ?that? ?does? ?not? ?disprove my? ?135? ?point.? ?He? ?lost? ?faith? ?in? ?God? ?at? ?some? ?point,? ?as? ?did? ?Stalin? ?and? ?Hitler.? ?Had? ?they? ?kept? ?the? ?faith, they? ?would? ?not? ?have? ?become? ?so? ?evil. We? ?need? ?to? ?return? ?to? ?the? ?days? ?when? ?we? ?all? ?worshipped? ?the? ?same? ?God? ?on? ?Sunday.? ?Only? ?then? ?will we? ?return? ?to? ?the? ?days? ?of? ?peace? ?and? ?quiet? ?our? ?ancestors? ?used? ?to? ?know.? ?Science? ?will? ?prove? ?me right.? ?There? ?have? ?been? ?studies? ?that? ?have? ?shown? ?that? ?people? ?who? ?pray? ?live? ?longer? ?than? ?people who? ?don’t.? ?Moreover,? ?prayer? ?has? ?been? ?shown? ?to? ?help? ?the? ?sick? ?recover? ?more? ?quickly. Thus,? ?we? ?must? ?have? ?a? ?constitutional? ?amendment? ?to? ?require? ?prayer? ?in? ?our? ?public? ?and? ?private schools.? ?This? ?notion? ?is? ?supported? ?by? ?former? ?Vice-President? ?Sam? ?Snail? ?and? ?by? ?Senator? ?Leeroy Smart;? ?both? ?start? ?each? ?day? ?with? ?a? ?prayer? ?and? ?have? ?not? ?shot? ?anyone? ?in? ?all? ?their? ?days? ?on? ?Earth. Only? ?when? ?we? ?require? ?every? ?school? ?child? ?to? ?pray,? ?will? ?there? ?be? ?an? ?end? ?to? ?the? ?violence? ?that plagues? ?our? ?nation.” 1. ? ?What? ?is? ?the? ?main? ?conclusion? ?of? ?this? ?argument? 2. What? ?are? ?the? ?author’s’? ?premises? 3. Are? ?there? ?any? ?fallacies? ?in? ?the? ?author’s? ?(sub)arguments? 4. Are? ?there? ?any? ?irrelevancies? ?in? ?the? ?author’s? ?(sub)arguments? 5. Do? ?you? ?think? ?the? ?argument? ?about? ?having? ?more? ?gun? ?laws? ?is? ?persuasive? ?for? ?the? ?conclusion of? ?this? ?argument? 6. Are? ?all? ?of? ?the? ?author’s? ?(sub)arguments? ?supported? 7. Summarize? ?the? ?author’s? ?main? ?conclusion? ?argument? ?in? ?two? ?sentences. 8. Write? ?three? ?sentences? ?about? ?the? ?soundness? ?of? ?the? ?conclusion.
In: Psychology
Indicate whether the described individuals are considered officially employed or unemployed or neither and whether they are a part of the labor force or not. Also, for those individuals unemployed indicate the type of unemployment (frictional, structural or cyclical). (12 pts)
Individuals
Employed/ Unemployed/
Neither
Belongs to Labor Force (Yes/No)
Type of Unemployment
Candy works in the strip club in Nassau.
Karen just graduated from high school and sent her resume out.
With the implementation of self-paid toll booths, Sharon lost her job.
Kevin is temporarily laid off after the hurricane due to the business closing.
Kathryn is a professional student at the University of the Bahamas.
Maria quits her job to find a job that gives her greater gratification.
Steve works only 5 hours per week and is looking for a 9 to 5 job.
Tiffany quits her job to become a housewife and raise a child.
Paul is a PE teacher that works as a security officer at night.
Devon looked for work for a while and was unsuccessful so he decided to start a new hobby playing golf.
In: Economics
John is a university student in L.A. He is going home to Boston for the summer and has started looking for a summer internship. After a couple of months of searching, he finds an amazing internship with a small, local company in his hometown. His interview goes really well, and he is offered the internship. As he is reading through the internship offer, he discovers that the company hires interns for a strict minimum of 6 months. What should John do? Should he take the job that he is clearly qualified for and then quit in 3 months to go back to school? Or should he be honest and turn down the position because he would not be able to be there for the full 6 months? Explain your answer.
¾-1 page single spaced, using Times New Roman 12 pt font (350-500 words)
You can make realistic and logical assumptions, but cannot add or create details.
Use your own words - do not copy large parts of the question.
Make sure to use appropriate grammar to clearly express your ideas.
In: Accounting
In: Civil Engineering
Question 3
Mr Wong was one of the partners of a local law firm, namely Wong, Lee & Chan. A few months ago, while carrying out his duty as a partner, Mr Wong was introduced to Tom, a manager of NanoLife Insurance Ltd (“NanoLife”), which is a client of the firm. Occasionally Mr Wong was invited by Tom to hold seminars for NanoLife’s staff training programme. In one of the seminars, Mr Wong met Jack who was the head of the legal department in NanoLife. Jack and Mr Wong found out that they graduated from the same school of law and soon became good friends. Later Mr Wong resigned from Wong, Lee & Chan and set up his own practice. NanoLife became one of the main clients of Mr Wong’s new law firm.
Required:
(a) Explain whether Mr Wong breached his duty as a partner of Wong, Lee & Chan and discuss the consequence of the breach, if any.
(b) Apart from the duty of a partner mentioned in 3(a) above, explain other duties of a partner under the common law.
In: Accounting
QUESTION ONE: Income
Valerie is a famous amateur New Zealand shot putter (sportsperson). She has won the World Championship for her sport four times, and she has won two Olympic medals and three Commonwealth Games medals. Valerie has been shot putting since she was a child. She is now 30 years old. She spends at least three hours a day training during the week, as well as all weekend.
When Valerie left school she went to university and became an accountant. However, in the past three years she has only been able to work part-time (15 hours per week) as she has become more successful at her sport. She has managed to support herself through corporate sponsorship and prize money received (e.g. she received $50,000 for each Olympic medal).
Required:
Explain if:
(a) Valerie’s sponsorship and prize money would constitute income under ordinary concepts.
(b) Valerie’s sponsorship and prize money would constitute business income.
In: Accounting
| Math | Reading | |
| 52 | 65 | |
| 63 | 71 | |
| 55 | 61 | |
| 68 | 77 | |
| 66 | 76 | |
| 57 | 70 | |
| 59 | 69 | |
| 76 | 77 | |
| 69 | 76 | |
| 59 | 70 | |
| 74 | 78 | |
| 73 | 80 | |
| 62 | 66 | |
| 59 | 66 | |
| 72 | 76 | |
| 61 | 67 | |
| 55 | 61 | |
| 73 | 77 | |
Can you teach me how to solve the problem below
An educator conducted an experiment to test whether new directed reading activities in the classroom will help elementary school pupils improve some aspects of their reading ability. She arranged for a third grade class of 21 students to follow these activities for an 8-week period. A control classroom of 23 third graders followed the same curriculum without the activities. At the end of the 8 weeks, all students took a Degree of Reading Power (DRP) test, which measures the aspects of reading ability that the treatment is designed to improve. Run an independent samples t-test that will test for differences between the treatment and control groups. Also include a 90% Confidence Interval for the mean difference.
In: Statistics and Probability
1. The researcher from the Annenberg School of Communications is interested in studying the factors that influence how much time people spend talking on their smartphones. She believes that gender might be one factor that influences phone conversation time. She specifically hypothesizes that women and men spend different amounts of time talking on their phones. The researcher conducts a new study and obtains data from a random sample of adults from two groups identified as women and men. She finds that the average daily phone talking time among 15 women in her sample is 42 minutes (with a standard deviation of 6). The average daily minutes spent talking on the phone among 17 men in her sample is 38 (with a standard deviation of 5). She selects a 95% confidence level as appropriate to test the null hypothesis.
a) Please identify the independent variable for the researcher's hypothesis in the text box below.
b) What is the unit of analysis?
c) What is the alpha?
d) State the research and null hypothesis in symbols. Make sure to be as complete as possible (Using H1: and H0:).
In: Statistics and Probability