Implement the algorithm using python programming language

Assignment Help Computer Networking
Reference no: EM132304262

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

Verified Expert

The assignment is based on python programming. The report contains the algorithm for printing the student's report.The algorithm is implemented in python and the screenshots of the input and output are also attached.In addition to this, the report also contains the test cases for testing the functionality of the program.All the test cases are shown in the form of screenshots.

Reference no: EM132304262

Questions Cloud

Describe how graph theory is used : Explain why this application is important for science, business or your personal life with a post of at least 250 words. A picture/image that illustrates the.
Why experts in the field think it is a problem : Start with one concise sentence of the problem and make sure it is stated as a problem (e.g., many students live at or below poverty level).
Create a cover letter that convinces recruiter for the job : You want to apply for the position of Human Resources Director with a Fortune 1000 company in the field of retailing. The company "would prefer" applicants.
How would you go about further investigating them : What are some possible reasons for these contradictory results? How would you go about further investigating them?
Implement the algorithm using python programming language : MN404 Fundamentals of Operating Systems and Programming - Role of Operating Systems and Command Line Interface (CLI)
Reflect on the types of programs and services : Reflect on the types of programs and services you discovered as part of your research last week.
Describes some of leadership challenges that leaders face : Write a paper that describes some of the leadership challenges that entrepreneurial leaders face and how an entrepreneur might overcome them.
Explain the court decision and Summarize the court opinion : Review the FindLaw database and identify a case concerning the 4th Amendment. Explain the court decision and Summarize the court opinion
Why security is increasingly more important today : Barrington's finance CFO wants to get all management on the same page regarding the importance of security in today's business environment. He has asked you.

Reviews

len2304262

5/13/2019 12:55:43 AM

Demonstration and Viva /15 Demonstrate very well with excellent Logic, clarity and easy to follow with strong arguments and sound technical knowledge. Excellent ability to critically analyse the queries and alter the code accordingly. Algorithm Presentation /10 Excellent presentation with clarity, made appropriate eye contact with audience and engaged them. Confidently answered all the questions.

len2304262

5/13/2019 12:55:34 AM

TASKS/ Grades Excellent User requirements Analysis and Design Implementation Testing Trouble shooting Documentation /70 Complete understanding of the requirements and able to visualize the outcomes Excellent analysis of the problem domain, inputs to be provided and expected outputs. Perfectspecifications of what the program is supposed to do is provided. Optimal Pseudocode devised (logic used) taking into considerations all possible end conditions as defined. Code is optimised and works Flawlessly Have tested and presented all possible and legitimate set of test cases Flawless Code implemented for the devised algorithm without and gap between the algorithm and the program. Have presented as an excellent guideline Excellent documentation for software maintenance

len2304262

5/13/2019 12:55:27 AM

5 Testing ? Screen shots of all possible outputs with group member MIT id. 8 marks ? Good to add some screen shots of syntax errors, probably the first compiled version. 2 marks 10 Marks 6 Trouble Shooting Five different challenges and solutions 5 marks 7 Documentation Sufficient Comments 1 Mark Demonstration and Viva Tutor will see the outputs and also assess your understanding of work done for this assignment in the laboratory class. This will be done during Week-11 laboratory class. Please Note: In case the student remains absent during week 10 and 11 for presentation, demonstration and viva without prior permission for special consideration through AMS , he /she may lose Demo and Viva marks and may also lose implementation marks. 15 Marks Total 95

len2304262

5/13/2019 12:55:19 AM

Marking criteria: Sl. No Sections to be included in the report Description of the sections Marks 1 User Requirements Understand the requirements of the client 2 Marks 2 Analysis ? Problem domain 5 marks ? Inputs to the program 2 marks ? All Possible expected outputs 5 marks 12 Marks 3 Design ? Algorithm 10 marks ? Presentation 10 marks ( week 10) 20 Marks 4 Implementation ? Well documented program in python without syntax errors. 20 marks ? Reading inputs with proper user friendly prompts 5 marks ? Displaying outputs with proper captions 5 marks 30 Marks

len2304262

5/13/2019 12:55:09 AM

a) Front page - indicating your Group members’ names and student IDs, teaching staff (Lecturer’s and tutor’s name), a statement of what has been completed and acknowledgement of the names of all assisted you. b) List of references used (IEEE style) – Reference sources must be cited in the text of the report, and listed appropriately at the end in a reference list. Only IEEE referencing style is acceptable for this assignment.

len2304262

5/13/2019 12:54:59 AM

Your assignment should be completed according to the General Guidelines for Presentation of academic work. Your submission should contain the following: 1. The assignment Word file that will be submitted shall include: o Software Requirements 2 Marks o Analysis 12 Marks ? Problem domain 5 marks ? Inputs to the program 2 marks ? All possible expected outputs 5 marks o Design 20 Marks ? Algorithm 10 marks ? Presentation 10 marks o Implementation 30 Marks ? Well documented program in python without syntax errors. 20 marks ? Reading inputs with proper user friendly prompts 5 marks ? Displaying outputs with proper captions 5 marks o Testing 10 Marks ? Screen shots of all possible outputs with group member MIT id. 8 marks ? Good to add some screen shots of syntax errors, probably the first compiled version. 2 marks o Trouble Shooting 5 Marks o Must include appropriate and sufficient comments in the source code.1 Mark

len2304262

5/13/2019 12:52:29 AM

Please read the assignment file carefully.I also need algorithm in form of notepad and python file in order to give my viva here are student names and id for step 5 or testing Weight 20% of the total assessments Total Marks 60 marks Due Date Week 10 laboratory class –To present the algorithm. Week 11laboratory class –Demonstration of the assignment and Submission of final copy of the assignment.

Write a Review

Computer Networking Questions & Answers

  Networking and types of networking

This assignment explains the networking features, different kinds of networks and also how they are arranged.

  National and Global economic environment and ICICI Bank

While working in an economy, it has a separate identity but cannot operate insolently.

  Ssh or openssh server services

Write about SSH or OpenSSH server services discussion questions

  Network simulation

Network simulation on Hierarchical Network Rerouting against wormhole attacks

  Small internet works

Prepare a network simulation

  Solidify the concepts of client/server computing

One-way to solidify the concepts of client/server computing and interprocess communication is to develop the requirements for a computer game which plays "Rock, Paper, Scissors" using these techniques.

  Identify the various costs associated with the deployment

Identify the various costs associated with the deployment, operation and maintenance of a mobile-access system. Identify the benefits to the various categories of user, arising from the addition of a mobile-access facility.

  Describe how the modern view of customer service

Describe how the greater reach of telecommunication networks today affects the security of resources which an organisation provides for its employees and customers.

  Technology in improving the relationship building process

Discuss the role of Technology in improving the relationship building process Do you think that the setting of a PR department may be helpful for the ISP provider? Why?

  Remote access networks and vpns

safekeeping posture of enterprise (venture) wired and wireless LANs (WLANs), steps listed in OWASP, Securing User Services, IPV4 ip address, IPV6 address format, V4 address, VPN, Deploying Voice over IP, Remote Management of Applications and Ser..

  Dns

problems of IPV, DNS server software, TCP SYN attack, Ping of Death, Land attack, Teardrop attack, Smurf attack, Fraggle attack

  Outline the difference between an intranet and an extranet

Outline the difference between an intranet and an extranet A programmer is trying to produce an applet with the display shown in Figure 1 below such that whenever one of the checkboxes is selected the label changes to indicate correctly what has..

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