Write a program that calculates the average of numeric value

Assignment Help Basic Computer Science
Reference no: EM132373263

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

Reference no: EM132373263

Questions Cloud

Company culture in regards to its organizational : When a Leader use the concept of putting others before oneself how does it affect a company's culture in regards to its organizational effectiveness?
What is the value of this stock today if the required return : What is the value of this stock today if the required return is 14%?
Representative responsible for negotiating wages and benefit : What are some things that a union representative responsible for negotiating wages and benefits should want to see placed in a work agreement?
How might exposure to the media affect the patient : In 2012, statistics in the United States indicated that state CPS agencies received 3.4 million referrals for child abuse and neglect. Of these, nearly 700,000.
Write a program that calculates the average of numeric value : 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
Describe the steps of the nursing process : Complete a CARE PLAN for the client with Spiritual and religious need. The six steps of the nursing process required. Nursing diagnose approved by NANDA.
Design of a service blueprint : What is a service blueprint, and how does a "poke-yoke" fit into the design of a service blueprint?
Describe a customer relationship management system : In this final assignment, you will develop a paper that reviews some of the main topics covered in the course. Compose an essay to address the elements listed.
Why do so many resist change and What are they afraid of : Why do so many resist change? What are they afraid of? As a school leader, one must recognize the motivation for others to resist change

Reviews

len2373263

9/20/2019 12:24:32 AM

Question Marking criteria Marks Question 1 Appropriate commenting 2 Sound logic 2 Code running successfully 2 Total 6 Question 2 Appropriate commenting 2 Sound logic 2 Code running successfully 2 Total 6 Question 3 Appropriate commenting 2 Sound logic 3 Code running successfully 3 Total 8 Total Marks 20

len2373263

9/20/2019 12:24:11 AM

• 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. • 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. • Please note that the Self-check Safeassign link has been removed from Blackboard. You still check your work for plagiarism by directly submitting your assignment. If the score for plagiarism is high, you are welcome to resubmit which will count as a second or third attempt.

len2373263

9/20/2019 12:24:02 AM

• 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 • 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. • Code must be appropriately commented. Make sure to add comments at each segment of your code to explain what it does.

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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