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

  Behavior and the interpretation of the behavior

In your post, also include where you are from and where you were when this event occurred.

  Strategic planning process only to put the strategy document

Many companies invest substantial resources to the strategic planning process only to put the strategy document on a shelf until the process rolls around the next year. Create an argument for a company’s management team to actively communicate and im..

  Discuss which theory is the source of motivation

Discuss which theory is the source of motivation for the majority of computer criminals. Be sure to justify your answer. Discuss which theory would produce the most dangerous criminals and/or criminal acts.

  Describe the five types of prezygotic reproductive barriers

Describe the five types of prezygotic reproductive barriers. Give a brief description of each. Beginning with fertilization, describe the main stages of animal development, Give a brief description of each stage

  Discuss arthur breached any ethical duty

Arthur Attorney represents Paul Plaintiff in connection with an eviction action

  What are the treatments for early stages of the condition

What conditions causes her to pass out (hyperglycemia or hypoglycemia)? What are the treatments for early stages of this condition?

  Explain the process of assessing hazards and risks

Explain the process of assessing hazards and risks and why such processes are applied towards a proactive and predictive safety program.

  What are the limitations of the study design

Using the Argosy University online library resources, locate a research study related to forensic psychology. Present an analysis of the article by addressing.

  What information does each technique yield

What is the relevance of rRNA and protein sequencing to studies of the origin of life? How do two techniques differ? What information does each technique yield?

  Discusses four types of perceptual distortions

Discusses four types of perceptual distortions: stereotyping, halo effects, selective perception, and projection. Define each of these and provide an example.

  Explain the different types of communication

Create three hypothetical (fake) scenarios of problems that adolescents might encounter, including an issue that involves culture or ethnic issues. Show who adolescents could use improved communication skills to solve these problems;

  Normal and abnormal psychology

Merriam-Webster (2010) defines abnormal psychology as a branch of psychology concerned with mental and emotional disorders such as neuroses, psychoses, and mental retardation and with certain incompletely understood normal phenomena such as dreams..

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