Create your own e-commerce business in Saudi Arabia (website or mobile application), you need to explain the process that you will follow in building your e-commerce presence.
Before you begin to build a website or app of your own, there are some important questions you will need to think about and answer. The answers to these questions will drive the development and implementation of your e-commerce presence.
Set up Your E-Commerce Presence
Building an E-Commerce Site: A Systematic Approach
Choosing Software
The development of e-commerce required a great deal more interactive functionality, such as the ability to respond to user input (name and address forms), take customer orders for goods and services, clear credit card transactions on the fly, consult price and product databases, and even adjust advertising on the screen based on user characteristics.
Explain the different software you need for your site functionality.
Choosing Hardware
Payment and Security
Categorize marketing and advertising strategy and method.
Explain your business e-commerce process
Conclude your report.
Guidelines for the assignment:
please notice that the due date is today 19/4 i need it to be solved today
*** please i need fully, unique and new answers using your own word not the same posted ones i need it to be complete as its worth 15 marks ****
*the answer must be unique not copied "plagiarized "
and thank you<3
In: Operations Management
Mr. Kent doesn't care about almost anything ... but himself and his money. So, when his power plant leaked radioactive goo that caused several species of wildlife to go extinct, he was only concerned with the public perception as it might affect his income and possible jail time.
Many rumors surfaced around the Springfield Nuclear Power Plant. One of them is high concern over the mutation rate of the rare Springfield molted platypus. With barely more than 500 left in the wild, the word "extinction" has been tossed around. So, to quell the media, Mr. Kent had 30 of them captured, dissected, and analyzed to check for signs of mutation. He found that the mutation rate is 2% each month, but when they do mutate, they become sterile and cannot reproduce. With this information, he wants to create one of those newfangled computer simulations that the press loves so much. That's where you come in!
Specifications:
In this assignment, you will create a class called Animal_Category.
Your Animal_Category class is to contain the following data members:
Your Animal_Category class is to contain the following member functions:
You will also create a class called Platypus. Below, we will describe what will define a platypus. You will also create a main function in which you will create objects of type platypus to test the functionality of your new user-defined type.
Your Platypus class is to contain the following data members:
Member functions:
Further, the platypus has a chance of becoming dead each time it ages. This chance is ten times the platypus' weight. A 5 pound platypus has a 50% chance of death. A 10 pound platypus (or heavier) has a 100% chance of death. Again here update the value of the corresponding data member when needed.
Think very carefully about writing the above functions and how they should be used. There are indeed circumstances when some functions should not execute. For example, a dead platypus shouldn't eat anything.
Your program should fully test your platypus class. It must call every member function in the platypus class. It must print to the screen what it is doing and show the changes that appear when the member functions are called. The fight function will require two platypuses: one to call the fight function and one to be a parameter in the fight function.
c++ language
In: Computer Science
Step 1: Carefully read the following brief case study.
Bernice was hesitant during her initial counseling session because she feared what the therapist would think of her. The therapist focused on building a therapeutic alliance with Bernice by engaging in empathic, nonjudgmental listening. Soon, Bernice shared that she feared contamination. She was particularly upset by touching wood, mail, and canned goods. She also disliked touching silver flecks. By silver flecks, Bernice meant silver embossing on greeting cards, eyeglass frames, shiny appliances, and silverware. She was unable to state why these particular objects were special sources of possible contamination. Bernice became more distressed during the session, and she started sharing what made her come for counseling. Bernice shared that disturbing images pop in her mind, and the images are mind’s eye pictures of her “worst fear.” The images are so disturbing to Bernice that she showed marked distress when talking about them. She explained that the images were in regards to her child, “The person I love most in the world and would do anything to protect.”
Bernice explained that she feels compelled to do specific behaviors to try to reduce her distress. Bernice engages in a variety of rituals that, when taken together, take up much of her day. In the morning, she spends hours washing and rewashing. Between each bath she has to scrape away the outer layer of her bar of soap so that it will be free of germs. Bernice said that although the decontamination rituals are tiresome, the rituals she does to protect her child from harm are so detailed that Bernice has to repeat them several times to get them “right.” She said that she feels a sense of urgency to do the rituals perfectly to protect her child.
Step 2: Based on the Bernice Case Study, identify the most relevant psychological disorder associated with her symptoms and explain your rationale.
(Hint: Bernice does *not* have a specific phobia; she does not have “fear of germs.”)
Step 3: In your own words, explain what you have learned from the assigned readings about the psychological disorder you identified for the Bernice Case Study.
Step 4: You will need to select at least *one* academic journal article that explains one treatment approach used for the psychological disorder you identified for the Bernice Case Study. To conduct your research on the treatment approach, please use one of the following methods:
You can search the following: Monitor on Psychology (webpage, opens in a new tab). In the search box, type the disorder you identified. Then, you can locate an article about a treatment approach.
You can also search the PsychArticles Database, which you can access using the following steps. First click on: SPC's LibraryOnline (webpage, opens in a new tab). Then, click "Search Online." Next, click "Databases by Subject." Next to "Social Sciences," click PsychArticles. In the search box, type the disorder you identified. Then, you can locate an article about a treatment approach.
You can also search Google Scholar (webpage, opens in a new tab). Google Scholar only provides an abstract, which is a summary. After you locate an abstract on Google Scholar, you will need to locate the full article onSPC's LibraryOnline (webpage, opens in a new tab).
In your own words, summarize the treatment approach you identified from the research you conducted. Please avoid quoting the academic journal; instead, describe the treatment approach with depth and in your own words. Use APA style for in-text and reference page citations.
Step 5: Review the grading rubric (webpage, opens in new tab), which explains the expectations for your writing assignment.
Step 6: Submit your responses to Steps 2, 3, and 4 in the drop box. Please save your responses in PDF format or in RTF format if you are not using Word.
Step 7: After the writing assignment is graded, please access your rubric and feedback. The steps to do so are explained here: https://mycoursessupport.spcollege.edu/dropbox-rubrics (webpage, opens in a new tab).
In: Psychology
6.30 LAB*: Program: Authoring assistant (1) Prompt the user to enter a string of their choosing. Store the text in a string. Output the string. (1 pt) Ex: Enter a sample text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue! You entered: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue! (2) Implement a print_menu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string, and returns the user's entered menu option and the sample text string (which can be edited inside the print_menu() function). Each option is represented by a single character. If an invalid character is entered, continue to prompt for a valid choice. Hint: Implement the Quit menu option before implementing other options. Call print_menu() in the main section of your code. Continue to call print_menu() until the user enters q to Quit. (3 pts) Ex: MENU c - Number of non-whitespace characters w - Number of words f - Fix capitalization r - Replace punctuation s - Shorten spaces q - Quit Choose an option: (3) Implement the get_num_of_non_WS_characters() function. get_num_of_non_WS_characters() has a string parameter and returns the number of characters in the string, excluding all whitespace. Call get_num_of_non_WS_characters() in the print_menu() function. (4 pts) Ex: Number of non-whitespace characters: 181 (4) Implement the get_num_of_words() function. get_num_of_words() has a string parameter and returns the number of words in the string. Hint: Words end when a space is reached except for the last word in a sentence. Call get_num_of_words() in the print_menu() function. (3 pts) Ex: Number of words: 35 (5) Implement the fix_capitalization() function. fix_capitalization() has a string parameter and returns an updated string, where lowercase letters at the beginning of sentences are replaced with uppercase letters. fix_capitalization() also returns the number of letters that have been capitalized. Call fix_capitalization() in the print_menu() function, and then output the the edited string followed by the number of letters capitalized. Hint 1: Look up and use Python functions .islower() and .upper() to complete this task. Hint 2: Create an empty string and use string concatenation to make edits to the string. (3 pts) Ex: Number of letters capitalized: 3 Edited text: We'll continue our quest in space. There will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. Nothing ends here; our hopes and our journeys continue! (6) Implement the replace_punctuation() function. replace_punctuation() has a string parameter and two keyword argument parameters exclamation_count and semicolon_count. replace_punctuation() updates the string by replacing each exclamation point (!) character with a period (.) and each semicolon (;) character with a comma (,). replace_punctuation() also counts the number of times each character is replaced and outputs those counts. Lastly, replace_punctuation() returns the updated string. Call replace_punctuation() in the print_menu() function, and then output the edited string. (3 pts) Ex: Punctuation replaced exclamation_count: 1 semicolon_count: 2 Edited text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. nothing ends here, our hopes and our journeys continue. (7) Implement the shorten_space() function. shorten_space() has a string parameter and updates the string by replacing all sequences of 2 or more spaces with a single space. shorten_space() returns the string. Call shorten_space() in the print_menu() function, and then output the edited string. Hint: Look up and use Python function .isspace(). (3 pt) Ex: Edited text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue!
Python Please!
In: Computer Science
The “People” Focus: Human Resources at Alaska Airlines
With thousands of employees spread across nearly 100 locations in the United States, Mexico, and Canada, building a committed and cohesive workforce is a challenge. Yet Alaska Airlines is making it work. The company’s “people” focus states:
While airplanes and technology enable us to do what we do, we recognize this is fundamentally a people business, and our future depends on how we work together to win in this extremely competitive environment. As we grow, we want to strengthen our small company feel . . . We will succeed where others fail because of our pride and passion, and because of the way we treat our customers, our suppliers and partners, and each other.
Managerial excellence requires a committed workforce. Alaska Airlines’ pledge of respect for people is one of the key elements of a world-class operation.
Effective organizations require talented, committed, and trained personnel. Alaska Airlines conducts comprehensive training at all levels. Its “Flight Path” leadership training for all 10,000 employees is now being followed by “Gear Up” training for 800 front-line managers. In addition, training programs have been developed for Lean and Six Sigma as well as for the unique requirements for pilots, flight attendants, baggage, and ramp personnel. Because the company only hires pilots into first officer positions—the right seat in the cockpit, it offers a program called the “Fourth Stripe” to train for promotion into the captain’s seat on the left side, along with all the additional responsibility that entails (see exterior and interior photos of one of Alaska Airlines’ flight simulators on the opening page of this chapter).
Customer service agents receive specific training on the company’s “Empowerment Toolkit.” Like the Ritz-Carlton’s famous customer service philosophy, agents have the option of awarding customers hotel and meal vouchers or frequent flier miles when the customer has experienced a service problem.
Because many managers are cross-trained in operational duties outside the scope of their daily positions, they have the ability to pitch in to ensure that customer-oriented processes go smoothly. Even John Ladner, Director of Seattle Airport Operations, who is a fully licensed pilot, has left his desk to cover a flight at the last minute for a sick colleague.
Along with providing development and training at all levels, managers recognize that inherent personal traits can make a huge difference. For example, when flight attendants are hired, the ones who are still engaged, smiling, and fresh at the end of a very long interview day are the ones Alaska wants on the team. Why? The job requires these behaviors and attitudes to fit with the Alaska Airlines team—and smiling and friendly flight attendants are particularly important at the end of a long flight.
Visual workplace tools also complement and close the loop that matches training to performance. Alaska Airlines makes full use of color-coded graphs and charts to report performance against key metrics to employees. Twenty top managers gather weekly in an operations leadership meeting, run by Executive VP of Operations, Ben Minicucci, to review activity consolidated into visual summaries. Key metrics are color-coded and posted prominently in every work area.
Alaska’s training approach results in empowered employees who are willing to assume added responsibility and accept the unknowns that come with that added responsibility.
Discussion Questions*
In: Operations Management
Journal Entries and Trial Balance
Elite Realty acts as an agent in buying, selling, renting, and managing real estate. The unadjusted trial balance on March 31, 2018, follows:
| Elite Realty | |||
| Unadjusted Trial Balance | |||
| March 31, 2018 | |||
| Account No. |
Debit Balances |
Credit Balances |
|
| 11 | Cash | 10,910 | |
| 12 | Accounts Receivable | 25,420 | |
| 13 | Prepaid Insurance | 1,240 | |
| 14 | Office Supplies | 740 | |
| 16 | Land | — | |
| 21 | Accounts Payable | 7,190 | |
| 22 | Unearned Rent | — | |
| 23 | Notes Payable | — | |
| 31 | Common Stock | 10,000 | |
| 32 | Retained Earnings | 13,600 | |
| 33 | Dividends | 870 | |
| 41 | Fees Earned | 123,990 | |
| 51 | Salary and Commission Expense | 92,040 | |
| 52 | Rent Expense | 12,400 | |
| 53 | Advertising Expense | 7,320 | |
| 54 | Automobile Expense | 2,230 | |
| 59 | Miscellaneous Expense | 1,610 | |
| 154,780 | 154,780 | ||
The following business transactions were completed by Elite Realty during April 2018:
| Apr. 1. | Paid rent on office for month, $4,220. |
| 2. | Purchased office supplies on account, $1,100. |
| 5. | Paid annual insurance premiums, $3,040. |
| 10. | Received cash from clients on account, $21,100. |
| 15. | Purchased land for a future building site for $76,000, paying $8,400 in cash |
| and giving a note payable for the remainder. | |
| 17. | Paid creditors on account, $3,800. |
| 20. | Returned a portion of the office supplies purchased on November 2, receiving |
| full credit for their cost, $170. | |
| 23. | Paid advertising expense, $1,690. |
| 27. | Discovered an error in computing a commission; received cash from the salesperson |
| for the overpayment, $840. | |
| 28. | Paid automobile expense (including rental charges for an automobile), $1,270. |
| 29. | Paid miscellaneous expenses, $380. |
| 30. | Recorded revenue earned and billed to clients during the month, $25,320. |
| 30. | Paid salaries and commissions for the month, $6,520. |
| 30. | Paid dividends, $840. |
| 30. | Rented land purchased on November 15 to local merchants association for |
| use as a parking lot in December and January, during a street
rebuilding program; received advance payment of $2,530. |
Required:
Use the attached spreadsheet to complete parts 1 and 3. Click on the Spreadsheet icon to open and save the Excel file to your computer. Your input into the spreadsheet will not be included in your grade in CengageNOW on this problem.
1. Enter the April 1, 2018, balance of each account in the appropriate balance column of a four-column account. The word Balance has been entered in the item section and a check mark (√) has been placed in the Posting Reference column.
2. Journalize and insert the Posting References for the transactions for April in a two-column journal beginning on Page 18. For a compound transaction, if an amount box does not require an entry, leave it blank.
| General Journal | Page 18 | |||
|---|---|---|---|---|
| Date | Description | Post. Ref. | Debit | Credit |
| 2018 | ||||
| Apr. 1 | ||||
| Apr. 2 | ||||
| Apr. 5 | ||||
| Apr. 10 | ||||
| Apr. 15 | ||||
| Apr. 17 | ||||
| Apr. 20 | ||||
| Apr. 23 | ||||
| General Journal | Page 19 | |||
|---|---|---|---|---|
| Date | Description | Post. Ref. | Debit | Credit |
| 2018 | ||||
| Apr. 27 | ||||
| Apr. 28 | ||||
| Apr. 29 | ||||
| Apr. 30-Rev. | ||||
| Apr. 30-Salary | ||||
| Apr. 30-Dividends | ||||
| Apr. 30-Rent | ||||
3. Post to the ledger, extending the account balance to the appropriate balance column after each posting.
4. Using the balances from the spreadsheet, prepare an unadjusted trial balance of the ledger as of April 30, 2018. List all accounts in the order of Assets, Liabilities, Stockholders’ equity, Revenues, and Expenses. If an amount box does not require an entry, leave it blank.
| Elite Realty Unadjusted Trial Balance April 30, 2018 |
|||
|---|---|---|---|
| Account No. |
Debit Balances | Credit Balances | |
5a. Assume that the April 30 transaction for salaries and commissions should have been $5,620. As a result, the unadjusted trial balance in (4) would
5b. Assume that the April 30 transaction for salaries and commissions should have been $5,620. Journalize the correcting entry. If an amount box does not require an entry, leave it blank.
| General Journal | PAGE 19 | |||
|---|---|---|---|---|
| Date | Description | Post. Ref. | Debit | Credit |
| 2018 | ||||
| Apr. 30 | ||||
5c. Assume that the November 30 transaction for salaries and commissions should have been $5,620. Is this error a transposition or slide?
In: Accounting
Requirement:
Create your own e-commerce business in Saudi Arabia (website or mobile application), you need to explain the process that you will follow in building your e-commerce presence.
Before you begin to build a website or app of your own, there are some important questions you will need to think about and answer. The answers to these questions will drive the development and implementation of your e-commerce presence.
Set up Your E-Commerce Presence
Building an E-Commerce Site: A Systematic Approach
Choosing Software
The development of e-commerce required a great deal more interactive functionality, such as the ability to respond to user input (name and address forms), take customer orders for goods and services, clear credit card transactions on the fly, consult price and product databases, and even adjust advertising on the screen based on user characteristics.
Explain the different software you need for your site functionality.
Choosing Hardware
Payment and Security
Categorize marketing and advertising strategy and method.
Explain your business e-commerce process
Conclude your report.
Guidelines for the assignment:
Your project report length should be between 2200 to 2500 words.
*****please notice that the due date is in 3 hours i need it to be solved as soon as possible*****
*** please i need new idea and fully, unique, new answers reword it using your own word not the same posted ones here on chegg i need it to be complete on the write way its worth 15 marks ****
*the answer must be unique not copied "plagiarized "
In: Operations Management
INSTRUCTIONS: READ THE FOLLOWING SITUATION AND ANSWER THE QUESTIONS ARISING FOR THE CASE ANALYSIS.
“STONYFIELD FARM GOES TO THE BLOGS”
The Stonyfield Farm story is a kind of legend. In 1983, friends and social activists Gary Hirschberg and Samuel Kaymen started with a good yogurt recipe, seven cows, and a dream. They established an organic yogurt company in Wilton, New Hampshire, to take advantage of baby boomers' growing concerns about natural foods and health, and to revitalize the dairy industry in New England. Stonyfield Farms has grown to become the third largest organic company in the world, with annual sales of more than $ 50 million in 50 states. It produces more than 18 million glasses of yogurt each month.
Stonyfield Farrn's spectacular growth is attributable in part to its ability to offer a product to a special niche market - people who value healthy food and want to protect the environment. These values have become part of the "personality" of the company. Stonyfleld promises to use only natural ingredients and milk that has not been produced with antibiotics, synthetic growth hormones, or pesticides or toxic fertilizers. The company donates 10 percent of its profits each year to projects that help protect or restore the planet.
As the company expanded, management feared that it might lose touch with its loyal and committed customer base. Advertising based on traditional media was expensive and did not really help the company to "connect" with the kind of people it was trying to reach. This company prefers word-of-mouth techniques that deliver its message to customers in ways more compatible with its popular, organic, and activist-friendly image.
Stonyfield has multiple active email newsletters with more than 500,000 subscribers, and typically posts messages promoting causes that he supports on the tops of his yogurt glasses. Now she's turning to blogging to further personalize her customer relationships and reach even more people. Inspired by Howard Dean's presidential campaign and Dean's blogger tutorials, CEO Hirschberg became convinced that Stonyfield could use blogging to create a more personal relationship with consumers, different from the traditional sales relationship. "Blogs give us what we call a handshake with consumers" and "a little more access to us
Stonyfield now publishes two separate blogs on his website — Baby Babble and Bovine Bugle. At one time Stonyfield was running five blogs, but decided to withdraw three of them because they weren't attracting enough readers. Baby Babble provides a forum for Stonyfield employees and other parents of young children to meet and discuss child development and balance work with the family. Stonyfield created that blog because baby yogurts are one of its most popular product lines, and parenting blogs seem to appeal to a large number of readers. The Bovine Bugle provides reports about Jonathan's Organic Dairy Farm. Gates in Franklin, Vermont, a member of the organic cooperative that supplies milk for Stonyfield products.
This blog sparks a large number of nostalgic comments from readers who remember their childhood on a farm. As organic food grows in importance, these blogs help the company showcase the aspects that make it different from other brands and invite customers to help them in this endeavor. Stonyfield continually posts new content to each of the blogs. Readers can subscribe to any of them and automatically receive updates when available. And of course they can reply to these posts.
The benefits of blogging for Stonyfield have not yet been quantified so far, but management is confident there are real benefits. Blogs have created a positive response for the Stonyfield brand by providing readers with something that inspires them or sparks their interest -If blogs give new information to readers, inspire them to protect the environment or ask them for opinions, the administration believes that They will remember the brand when they are in front of the yogurt shelves in the supermarket or grocery store and that they will take a Stonyfleld product instead of a competitor when it is time to choose. Stonyfield has a fairly large website. Blogs offer a way to highlight some of the content on the Web that would otherwise be lost. This, too, helps drive some blog readers to buy Stonyfield products.
1.What is Stonyfield farm's e-commerce model and business strategy? What challenges and problems does the company face?
In: Operations Management
INSTRUCTIONS: READ THE FOLLOWING SITUATION AND ANSWER THE QUESTIONS ARISING FOR THE CASE ANALYSIS.
“STONYFIELD FARM GOES TO THE BLOGS”
The Stonyfield Farm story is a kind of legend. In 1983, friends and social activists Gary Hirschberg and Samuel Kaymen started with a good yogurt recipe, seven cows, and a dream. They established an organic yogurt company in Wilton, New Hampshire, to take advantage of baby boomers' growing concerns about natural foods and health, and to revitalize the dairy industry in New England. Stonyfield Farms has grown to become the third largest organic company in the world, with annual sales of more than $ 50 million in 50 states. It produces more than 18 million glasses of yogurt each month.
Stonyfield Farrn's spectacular growth is attributable in part to its ability to offer a product to a special niche market - people who value healthy food and want to protect the environment. These values have become part of the "personality" of the company. Stonyfleld promises to use only natural ingredients and milk that has not been produced with antibiotics, synthetic growth hormones, or pesticides or toxic fertilizers. The company donates 10 percent of its profits each year to projects that help protect or restore the planet.
As the company expanded, management feared that it might lose touch with its loyal and committed customer base. Advertising based on traditional media was expensive and did not really help the company to "connect" with the kind of people it was trying to reach. This company prefers word-of-mouth techniques that deliver its message to customers in ways more compatible with its popular, organic, and activist-friendly image.
Stonyfield has multiple active email newsletters with more than 500,000 subscribers, and typically posts messages promoting causes that he supports on the tops of his yogurt glasses. Now she's turning to blogging to further personalize her customer relationships and reach even more people. Inspired by Howard Dean's presidential campaign and Dean's blogger tutorials, CEO Hirschberg became convinced that Stonyfield could use blogging to create a more personal relationship with consumers, different from the traditional sales relationship. "Blogs give us what we call a handshake with consumers" and "a little more access to us
Stonyfield now publishes two separate blogs on his website — Baby Babble and Bovine Bugle. At one time Stonyfield was running five blogs, but decided to withdraw three of them because they weren't attracting enough readers. Baby Babble provides a forum for Stonyfield employees and other parents of young children to meet and discuss child development and balance work with the family. Stonyfield created that blog because baby yogurts are one of its most popular product lines, and parenting blogs seem to appeal to a large number of readers. The Bovine Bugle provides reports about Jonathan's Organic Dairy Farm. Gates in Franklin, Vermont, a member of the organic cooperative that supplies milk for Stonyfield products.
This blog sparks a large number of nostalgic comments from readers who remember their childhood on a farm. As organic food grows in importance, these blogs help the company showcase the aspects that make it different from other brands and invite customers to help them in this endeavor. Stonyfield continually posts new content to each of the blogs. Readers can subscribe to any of them and automatically receive updates when available. And of course they can reply to these posts.
The benefits of blogging for Stonyfield have not yet been quantified so far, but management is confident there are real benefits. Blogs have created a positive response for the Stonyfield brand by providing readers with something that inspires them or sparks their interest -If blogs give new information to readers, inspire them to protect the environment or ask them for opinions, the administration believes that They will remember the brand when they are in front of the yogurt shelves in the supermarket or grocery store and that they will take a Stonyfleld product instead of a competitor when it is time to choose. Stonyfield has a fairly large website. Blogs offer a way to highlight some of the content on the Web that would otherwise be lost. This, too, helps drive some blog readers to buy Stonyfield products.
III. Is the strategy of using "blog" one that provides a competitive advantage to the company? Explain your answer. What are the advantages and disadvantages of using blogs for a company like this?
In: Operations Management
using python/IDLE
(1) Prompt the user to enter a string of their choosing. Store
the text in a string. Output the string. (1 pt)
Ex:
Enter a sample text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue! You entered: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue!
(2) Implement a print_menu() function, which has a string as a
parameter, outputs a menu of user options for analyzing/editing the
string, and returns the user's entered menu option and the sample
text string (which can be edited inside the print_menu() function).
Each option is represented by a single character.
If an invalid character is entered, continue to prompt for a
valid choice. Hint: Implement the Quit menu option before
implementing other options. Call print_menu() in the main
section of your code. Continue to call print_menu() until the user
enters q to Quit. (3 pts)
Ex:
MENU c - Number of non-whitespace characters w - Number of words f - Fix capitalization r - Replace punctuation s - Shorten spaces q - Quit Choose an option:
(3) Implement the get_num_of_non_WS_characters() function.
get_num_of_non_WS_characters() has a string parameter and returns
the number of characters in the string, excluding all whitespace.
Call get_num_of_non_WS_characters() in the print_menu() function.
(4 pts)
Ex:
Number of non-whitespace characters: 181
(4) Implement the get_num_of_words() function. get_num_of_words()
has a string parameter and returns the number of words in the
string. Hint: Words end when a space is reached except for the
last word in a sentence. Call get_num_of_words() in the
print_menu() function. (3 pts)
Ex:
Number of words: 35
(5) Implement the fix_capitalization() function.
fix_capitalization() has a string parameter and returns an updated
string, where lowercase letters at the beginning of sentences are
replaced with uppercase letters. fix_capitalization() also returns
the number of letters that have been capitalized. Call
fix_capitalization() in the print_menu() function, and then output
the the edited string followed by the number of letters
capitalized. Hint 1: Look up and use Python functions
.islower() and .upper() to complete this task. Hint 2: Create an
empty string and use string concatenation to make edits to the
string. (3 pts)
Ex:
Number of letters capitalized: 3 Edited text: We'll continue our quest in space. There will be more shuttle flights and more shuttle crews and, yes; more volunteers, more civilians, more teachers in space. Nothing ends here; our hopes and our journeys continue!
(6) Implement the replace_punctuation() function.
replace_punctuation() has a string parameter and two keyword
argument parameters exclamation_count and
semicolon_count. replace_punctuation() updates the
string by replacing each exclamation point (!) character with a
period (.) and each semicolon (;) character with a comma (,).
replace_punctuation() also counts the number of times each
character is replaced and outputs those counts. Lastly,
replace_punctuation() returns the updated string. Call
replace_punctuation() in the print_menu() function, and then output
the edited string. (3 pts)
Ex:
Punctuation replaced exclamation_count: 1 semicolon_count: 2 Edited text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. nothing ends here, our hopes and our journeys continue.
(7) Implement the shorten_space() function. shorten_space() has a
string parameter and updates the string by replacing all sequences
of 2 or more spaces with a single space. shorten_space() returns
the string. Call shorten_space() in the print_menu() function, and
then output the edited string. Hint: Look up and use Python
function .isspace(). (3 pt)
Ex:
Edited text: we'll continue our quest in space. there will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. nothing ends here; our hopes and our journeys continue!
In: Computer Science