Programing Concepts Assignment PDF

Added on - Apr 2021

Trusted by 2+ million users,
1000+ happy students everyday
Showing pages 1 to 4 of 13 pages
Running head: PROGRAMING CONCEPTPrograming conceptName of the StudentName of the UniversityAuthors 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 CONCEPT2IntroductionThe 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 nameglobal 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 CONCEPT3if(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')
Desklib Logo
You are reading a preview
Upload your documents to download or

Become a Desklib member to get access