Write program that calculates the average of numeric values

Assignment Help Programming Languages
Reference no: EM132372469

Introduction to Programming Group Assignment -

Purpose of the assessment - Assess student's ability to develop algorithmic solutions to programming problems using Python language.

Group Assignment Specifications

Purpose: This assignment evaluates your understanding of basic programming principles using Python language. In particular, it assesses your ability to develop algorithms to solve simple problems, successfully develop and run python programs, and your ability to write meaningful comments when necessary. The assignment also provides a platform for students to work together in groups to develop solutions, which resembles how complex programming problems are solved in real-life.

1. Pythonize is a new language, that is similar to English, however the first letter of each word in Pythonize is moved to the end. Furthermore, each word in this new language ends with 'py'. Write a program that takes an English word as an input and prints the Pythonize equivalent on the screen. (Save your script as pythonize.py and pythonize.txt)

Notice that the first letter in a Pythonize word is capitalized (as it is the case in English).

2. Write a program that calculates the average of numeric values in a string and ignores all other characters. Your program must print the sum and average on the screen. (Save your script as spotNumbers.py and spotNumbers.txt)

Hint: Consider using type build-in function in your code. Also, see documentation or exception handling in Python as it may prove to be handy in your code.

3. Write a program that takes a string of words, and prints out these words one per line in a rectangular format (using # shape). The output must be properly formatted. (Save your script as tabularFormat.py and tabularFormat.txt)

Attachment:- Introduction to Programming Assignment File.rar

Verified Expert

The task of the assignment is to write 3 python programs. The first program involves Pythonize is a new language, that is similar to English, however the first letter of eachword in Pythonize is moved to the end. furthermore, each word in this new language ends with ‘py’. The second program involves to determine the sum and average of numbers in the string. The third program is to display the words in the string in tabular format.

Reference no: EM132372469

Questions Cloud

Describe traditional methods for enriching-recovering soils : Describe traditional methods for enriching or recovering soils. Why do children tend to be more susceptible to environmental toxins?
Physician reduce chances of a malpractice suit : What ways can a physician reduce chances of a malpractice suit?
What kind of performance standards hospitals : What kind of performance standards hospitals and fire stations need to guide its work force?
Descendants receive compensation for research conducted : Should Henrietta Lacks' descendants receive compensation for the research conducted with HeLa cells and the advancements that stemmed from that research?
Write program that calculates the average of numeric values : Holmes Institute Australia - HS1031 Introduction to Programming Group Assignment - Write program that calculates the average of numeric values
What is the monthly mortgage payment for the borrower : Consider a borrower that is approved for a standard 10-year, fully amortizing house mortgage with an original balance of $500,000 and a note rate
What are the three vertical integration of a business : What are the three vertical integration of a business and why is it vital to organizational success?
What are some of the lessons learned : Identify a company and discuss the key to their effective leadership and work motivation. What are some of the lessons learned?
Thinking specifically about disney theme parks : How does Disney connect with the target market? What are some of the challenges associated with Disney theme parks? Use examples.

Reviews

len2372469

9/18/2019 10:46:52 PM

Submission Guidelines - There are three questions in this assignment which require you to write and submit three Python scripts. Please save each script in two different formats: .py and .txt prior to submission. For example, for the first question you need to submit .py and .txt. Combine all .py and .txt files into one zip or rar file (6 files in total). Also, remember include a file that lists the names of students who contributed to the assignment (within the zip or rar file). Finally, upload your compressed file (zip or rar) to Black Board and proceed with submission.

len2372469

9/18/2019 10:46:44 PM

Code must be appropriately commented. Make sure to add comments at each segment of your code to explain what it does. Make sure that your code runs successfully for all possible entries. Try to approach the solution with the least number of steps. Your code must be clear, logical, and easy to understand. Your code must be written in Python 3. This is a group assignment. Each member of the group must make an even contribution to the submission. Please make sure to submit the contributions document with names of those who contributed to the work. All work must be submitted to Blackboard by the due date. You are encouraged to avoid last minute submission so that you do not run into technical difficulties. You are allowed up three attempts. All attempts must take place prior to assignment deadline.

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd