Discuss the elements of effective programming style

Assignment Help Programming Languages
Reference no: EM132360570

Foundations of Programming Assignment - Input, Processing and Output, Simple Functions

Learning Outcomes -

  • Describe and discuss the elements of effective programming style.
  • Demonstrate an understanding of the software development life cycle and apply sound programming analysis techniques (design, coding, debugging, testing and documentation) to justify simple programming problems.

Assessment Description - In this project, you will work individually to write programs which demonstrate your understanding of IPO and usage of simple functions in Python programs.

Content and Structure - You will have to write simple programs to:

1. Accept inputs from user

2. Perform mathematical operations to process data entered by user

3. Print the output

4. Use simple functions which passes on user inputs to a function which performs the operation and returns the result which will be displayed on the console.

Program expectation -

  • The student must be able to explain the working of the program and its logic.
  • Program should be indented, proper comments should be given, modification history should be present, variable names and data types should be chosen appropriately.
  • The program should compile and execute to display the result.
  • The student must use programming constructs available in Python and follow coding standards.

Detailed Submission Requirements -

Three different program files must be uploaded.

First program must accept inputs from user, perform operation and display the result.

Second program must do the same but by using user defined functions which will accept parameters and return result.

Third program must also accept the operation that the user wants to perform on the inputs so for example user enters 2 numbers and then chooses to sum them up, the program should be able to do that. A menu could also be provided to user for example Add, Divide, Multiply, Subtract and other operations.

Follow coding standards, naming conventions for variables and functions.

Students will be asked to explain the working of their program and the logic they've used.

Reference no: EM132360570

Questions Cloud

What ethical challenges might be present in the study : What ethical challenges might be present in the study of death and dying? Do you see any potential flaws evident in Kubler-Ross' work that supports criticism?
Systems engineering and project management : PPMP20007 - Project Management Concepts - Central Queensland University - Systems Engineering and Project Management - required to produce the script
How are the mind and brain connected : One of your classmates has flipped ahead in the book and notices that there will be a lot of material on the brain. "I don't see why I have to learn.
Explain the tax benefits of debt financing : Explain why you as the Angel Investor would require more or less debt versus equity financing. Be sure to note the nature of the claims on assets.
Discuss the elements of effective programming style : ISY1003 Foundations of Programming Assignment - Input, Processing and Output, Simple Functions, Australian Institute of Higher Education, Australia
What does sab 99 discuss : Use either the SEC website or database describe in the next chapter and locate the following SEC sources. What does Rule 10(b)(5) discuss?
Discuss the strength and weaknesses of debtor confirmations : Discuss the strength and weaknesses of debtor confirmations as audit evidence for MSHG. Is it possible for Chan and Partners to use debtor confirmations only as
Create five wr performance standards : Create five WR performance standards or targets that might be used by an organisation
Managing today business environment : Are Porter's forces still appropriate for managing today's business environment?

Reviews

len2360570

8/25/2019 10:41:00 PM

Late Submission - Any assessment submitted past the specific due date and time will be classified as Late. Any Late submission will be subject to a reduction of the mark allocated for the assessment item by 5% per day (or part thereof) of the total marks available for the assessment item. A ‘day’ for this purpose is defined as any day of the week including weekends. Assignments submitted later than one (1) week after the due date will not be accepted, unless special consideration is approved as per the formal process.

len2360570

8/25/2019 10:40:23 PM

Special consideration - Students whose ability to submit or attend an assessment item is affected by sickness, misadventure or other circumstances beyond their control, may be eligible for special consideration. No consideration is given when the condition or event is unrelated to the student's performance in a component of the assessment, or when it is considered not to be serious. Students applying for special consideration must submit the form within 3 days of the due date of the assessment item or exam. Rubrics - Program generates output as expected Header section has modification history Naming conventions are followed for variables, functions and other programming units (4 - 5 marks).

Write a Review

Programming Languages Questions & Answers

  Write a program which validates that the entry is a integer

Write a program which: Asks the user to enter a positive integer greater than or equal to 0, Validates that the entry is a positive integer and Outputs the digits in reverse order with a space separating the digits.

  Program to load the data creating a sorted linked list

A Fully Documented Program to load the data creating a sorted linked list. A Test Plan to show how the program runs and can be executed

  Modify the inventory program to include an add button

Modify the Inventory Program to include an add button, a delete button, and a modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each ..

  Use the arduino to make resistance meter

"use the arduino to make resistance meter. this should allow the user to plug a resistor into the breadboard and tell them what the resistance is"

  Write an algorithm based on the binary search

Describe an algorithm based on the binary search for determining the correct position in which to insert a new element in an already sorted list.

  Write a program to ask the user to enter the amount spent

Write a program to ask the user to enter the amount spent on food and Gas for each day of the week. Count and display the number of days the user spent more than 20 dollars per day on food and more than 10 dollars/per day on gas.

  Explain the principle of programming to an interface

In your own words, explain the principle of programming to an interface. This explanation is meant to help develop your peers' understanding and should be written in as simple terms as possible

  Write program to enter numeric values-arithmetic operator

Write a program that lets the user enter 2 numeric values, and an arithmetic operator: +, -, * and /. Write a switch statement that displays the result.

  Write a test plan to test the program

The local yogurt shop is expanding its selection of frozen treats, and would like you to modify the program you wrote to calculate and print their customer's bills. You will also write a test plan to test the program.

  Assembly language program

Write a program called A2P1 to run in the LC-3 simulator. The program asks for the user to type in his or her UPI.

  Write a perl script code

Write a Perl script which uses the segment of code over and over again, and you are tired of repeatedly typing in this code. Which of the following must you do?

  Design an interface interactivegame that generalizes playing

First, design an interface InteractiveGame that generalizes the playing of any two-person game between a human player and the computer. Design two actual games, Nim and another game of your choice, except TicTacToe, that implement your Interactive..

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