Programming constructs in developing computer programs

Assignment Help Other Subject
Reference no: EM132310496

Assignment: Grade Calculator

To write an algorithm/ flowchart, and implement the algorithm using Python programming language for given specifications/requirements.

Purpose of the assessment

This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements in them:
c. Apply principles of abstraction and problem solving in an object-oriented programming language
d. Apply knowledge of programming constructs in developing computer programs
e. Create programs based on incremental development processes of designing, coding, testing and debugging.

To write an algorithm/flowchart, and implement the algorithm using Python programming language for given specifications/requirements.

Assignment description:

The students shall develop a logic to calculate the final grade for MN404 unit. They may refer to the MN404 Unit Description to calculate the final grade of a student. The logic has to be represented either as a flowchart, or as an algorithm. Further, a program has to be coded to implement the logic and generate grade as per MIT's policy.

Generally, in a project you should write a program that contains an introductory docstring. This documentation should describe what the program will do (analysis) and how it will do it (design the program in the form of a pseudocode algorithm). Include suitable prompts for all inputs, and label all outputs appropriately. After you have coded a program, be sure to test it with a reasonable set of legitimate inputs. The assignment report has to include the following specification sections:

Specifications:

1. User Requirements: Include all the requirements here

2. Analysis

Analysis often requires the programmer to learn some things about the problem domain and what information the user will have to provide. In addition, it should specify what the program is going to do.

In this case, the problem domain would be on the rules/policies to compute the final grade, hurdles, percentage contributed by each assessment and number of assessments etc. For policies, please refer the MN404 unit description.

The user shall provide the marks scored in all the assessments. The program has to compute the final grade scored or decisions for supplementary assessments if the score is between 40% to 49%. The user inputs and the final output have to be user friendly and with proper terminal based interface.

Inputs:For instance - Sample set 1:

Assessment Type

Raw marks

Percentage

In Class Test

20/30

10*20/30 = 6.66

Assignment 1

45/60

45*20/60 = 15

Assignment 2

55/80

55*20/80 =13.75

Lab/PBL

 9/10

9

Final Exam

35/60

35*40/60 = 23.33

 

 

67.74

Check if the hurdles are cleared. For example: min. score in the Final exam has to be 40%
Output of the program
The grade of Name, MIT idis Credit
Other Possible outcomes:
If the total score is between 40 and 50 then suggest Supplementary FE.
If unable to attend FE then suggest deferred Exam.

3. Design:

The design phase has to describe how the program is going to do it. This usually involves writing an algorithm. In fact, algorithms are more often written in a somewhat stylized version of English called pseudocode.

Although there are no precise rules governing the syntax of pseudocode, in your pseudocode you should strive to describe the essential elements of the program in a clear and concise manner. Note that this pseudocode closely resembles Python code, so the transition to the coding step should be straightforward.

Pl note: This phase (Steps 1-3) has to be completed and present in week 10 lab class.

4. Implementation Phase:

In this phase the complete code in python without any syntax and semantic errors has to be submitted. The complete code with proper indentation has to be presented along withsample inputs and outputs.

5. Testing:

Only thorough testing can one build confidence that a program is working correctly. Testing is a deliberate process that requires some planning and discipline on the programmer's part. It would be much easier to turn the program in after the first successful run to meet a deadline or to move on to the next assignment. However, your grade, your job, or people's lives might be affected by the slipshod testing of software.

Once all the errors are debugged, set of all possible inputs are to be provided. Even though the range of the input numbers on a computer is finite, testing all of the possible combinations of inputs would be impractical. The challenge is to find a smaller set of inputs, called a test suite, from which we can conclude that the program islikely to givecorrect output for all inputs. The number and types of input samples have to cover all possible cases of grades and decisions, such as supplementary assignment 1 or 2, sup. In-Class test and/or final exam., and deferred cases as well.

6. Trouble shooting:

Sometimes, the unexpected happens. This could be the result of a technical problem, a
limitation,or user error. Please mention five challengesyou have faced while carrying out yourassignment 2.Also explain how you overcome all the challenges.

7. Comments / Documentation:
Tips related to comments and doc strings:
a. Begin a program with a statement of purpose and other information helpful to programmers
b. Accompany a variable definition with a comment that explains the variable's purpose
c. Precede major segments of code with brief comments that explain their purpose
d. Include comments to explain the workings of complex or tricky sections of code

In summary:
The program has to perform the following:
• Read the assessments marks for all five components. Provide a good interface with appropriate prompts.
• Compute (analyse+ design) the grade based on the policies/strategies mentioned in UD.
• Generate outputs and also provide decisions for supplementary assessments and deferred tests.

Attachment:- Fundamentals of Operating Systems and Java Programming.rar

Reference no: EM132310496

Questions Cloud

How does a manager communicate her authority : How does a manager communicate her authority? Give specific verbal and non-verbal examples.
Describe hr issues and challenges related to technology : Describe some of the HR issues and challenges related to technology? Describe how the Texas Department of Criminal Justice properly aligns management-IT
Develop a logic to calculate the final grade : Develop a logic to calculate the final grade for MN404 unit. They may refer to the MN404 Unit Description to calculate the final grade of a student
Prepare a community engagement and mobilization strategy : PUBH6006: Community Health and Disease Prevention-LAUREATE INTERNATIONAL UNIVERSITIES-Prepare a community engagement and mobilization strategy for a plan.
Programming constructs in developing computer programs : Create programs based on incremental development processes of designing, coding, testing and debugging - implement the algorithm using Python programming
Interview questions for leadership style : Examples on developing interview questions for each leadership style? (charismatic, transformational, ethical, and servant).
Define the committee task : Define the committee's task (think of this as your problem statement). It should be clear and concise.
Behavioral biases impact the planning process : What is strategic thinking? How does one's personal decision-making, personal beliefs and behavioral biases impact the planning process?
Market trends for the products of colesworth : Describe the process of how you will identify market trends for the products of Colesworth.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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