Running head: PROGRAMING CONCEPTPrograming conceptName of the Student Name of the University Authors note
PROGRAMING CONCEPT1Table of ContentsIntroduction................................................................................................................................21. Python program to display grades for students......................................................................22. Application of loop control structure to continue the program until user enters ‘exit’..........43. User input validation..............................................................................................................54. Program feature demonstration..............................................................................................64.a. Use of predefined and user defined functions.....................................................................64.b. Use of global and local variables.......................................................................................65. Test plan and evidence of testing..........................................................................................76. Evaluation of Test data and validating program against error.............................................107. User documentation for completed program.......................................................................12Conclusion................................................................................................................................12
PROGRAMING CONCEPT2Introduction The program developed for this assessment is a basic program that will as the user toinput the grades for a student for eight different subjects. In this program we have used theloop controls for prompting the menu to the user of the program and exit the program. 1. Python program to display grades for studentsFollowing is the code snippet from the developed program that is developed to takeinput and display the student grades for eight subjects along with their name global name, mark1, mark2, mark3, mark4, mark5, mark6, mark7, mark8print('Welcome to the Student Grading System')def menu(): print('Enter your choice to proceed!!!') print('Enter 1 to insert student data') print('Enter 2 to display student data') print('Enter "Exit" to Quit the Program') user_input = input('Enter Your Choice: \t') return (user_input)while True: choice = menu()
PROGRAMING CONCEPT3 if(choice == '1'): name = input('Enter student name: \t') mark1 = input('Enter Grades for Computer Systems: \t') mark2 = input('Enter Grades for Networking Concept: \t') mark3 = input('Enter Grades for Programming concept: \t') mark4 = input('Enter Grades for Website Design: \t') mark5 = input('Enter Grades for Personal skills Development:\t') mark6 = input(' Enter Grades for Object Oriented design :\t ') mark7 = input ('Enter Grades for Database analysis and design: \t') mark8 = input ('Enter Grade for Object Oriented Programming: \t')
End of preview
Want to access all the pages? Upload your documents or become a member.
Related Documents
Assignment on Python Programminglg...
|9
|1384
|74
CSP1150D Programming Principleslg...
|4
|502
|447
UMUC Data 620 Assignment 8.3.lg...
|2
|386
|387
ITECH1400 – Foundations of Programminglg...
|7
|1303
|94
Linux Scriptlg...
|14
|1538
|99
ITECH1400 Fundamentals of Programming - Australian Tax Officelg...