程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python homework

編輯:Python

python Implement small system management interface
1. Employee information management system design
Employee information includes employee number 、 full name 、 Gender 、 Age 、 Education 、 Wages 、 address 、 Telephone, etc ( The employee number is not repeated ). Try to design an employee information management system , It can provide the following functions :
1、 Employee information entry function ( Employee information is kept in file )-- Input
2、 Employee information browsing function -- Output
3、 Employee information query function -- Algorithm
A query : Query by educational background 、 Query by employee No 、 Conditional combination query
Deletion of employee information 、 Modify the function ( optional )
Expand functions : Use the library to realize the operation interface
2. Design of library information management system
Book information includes : Login number 、 Title 、 The author's name 、 Classification number 、 Publisher 、 Publication date 、 Price etc. . Try to design a library information management system , It can provide the following functions :
1、 Book information input function ( Books and information are preserved in files )-- Input
2、 Book information browsing function -- Output
3、 Book information inquiry function -- Algorithm
A query : Search by title 、 Search by author name 、 Conditional combination query
Deletion and modification of book information ( optional )
Expand functions : Use the library to realize the operation interface

3. Library management system design
Library management information includes : The name of the book 、 Book number 、 The unit price 、 author 、 The state of being 、 Borrower
full name 、 Gender 、 Student number, etc
Function description :
1、 Input of basic information of new books .
2、 Inquiry of basic information of books .
3、 Undo the deletion of book information .
4、 Register the borrower .
5、 Go through the book borrowing formalities .
6、 Return the book
requirement : Storing data as a file .
Expand functions : Use the library to realize the operation interface

4. Design of experimental equipment management system
Experimental equipment information includes : Equipment serial number , Types of equipment ( Such as : microcomputer 、 The printer 、 Scanners and so on ), Equipment name , Equipment price , Date of purchase of equipment , Scrap , Scrap date, etc .
The main function :
1、 Able to complete the input and modification of equipment
2、 Classify and count the equipment
3、 Damage, consumption and disposal of equipment
4、 Equipment query
requirement : Storing data as a file .
Expand functions : Use the library to realize the operation interface

5. Student information management system design
Student information includes : Student number , full name , Age , Gender , date of birth , Address , Telephone ,E-mail etc. . Try to design a student information management system , It can provide the following functions :
1、 The system works as a menu
2、 Student information entry function ( Student information is saved in files )-- Input
3、 Student information browsing function -- Output
4、 Student information query function -- By student number 、 Search by name 、
5、 Deletion and modification of student information ( optional )
requirement : Storing data as a file .
Expand functions : Use the library to realize the operation interface


But I can write private letters for you .
6. Student achievement management system design
Student achievement information includes : semester , Student number , Class , full name , Results of four courses ( Chinese language and literature 、 mathematics 、 English and computer ) etc. .
The main function :
(1) By semester 、 Complete the entry of students' grades by class 、 modify
(2) Be able to count students' grades by class , Find the total score and average score of students
(3) Can query student scores , Failed subjects and list of students
(4) Can output students' transcripts by class
requirement : Storing data as a file .
Expand functions : Use the library to realize the operation interface

7. Students elective course system design
Suppose there is n Courses , Each course has : Course number , Course name , Course nature ( Public class 、 required course 、 Elective courses ), Total class hours , Teaching hours , Experiment or computer class hours , credits , The opening semester and other information ,
Students can ( If the total credits shall not be less than 60) Free choice of courses .
Try to design an elective course system , It can provide the following functions :
1、 The system works as a menu
2、 Course information input function ( Course information is saved in files )-- Input
3、 Course information browsing function -- Output
4、 Course information query function -- Algorithm
A query : Query by credit 、 According to the nature of the course 、
5、 Students take courses ( optional )
Expand functions : Use the library to realize the operation interface
But I can write private letters for you .

8. Design of student record book
Make a record book , Each student information includes : Student number 、 full name 、python language achievement . Specific function :
(1) Create information and save it as a disk file ;
(2) Read the disk file and display and output the scores of all students ;
(3) Query results by student number or name ;
(4) Add grade record ;
(5) Modify the grades of students with specified name or student number and save them ;
(6) display output 60 Below 、6079、8089、90 Student information of the above grades ( optional ).
Expand functions : Use the library to realize the operation interface

9: The perpetual calendar shows .
Functional requirements :
(1) Enter a year , The output is to display the calendar of the year on the screen . Assume that the year entered is 1940-2040 In between .
(2) Enter the year and year , Output the calendar of the month .
(3) Enter the date , How many days until today , What day , Is it a Gregorian Festival .
It can be initialized according to user input or system date , If the user has no input, the calendar of the month in which the system date is displayed , And highlight the current date ; You can query according to the date entered by the user , And display the calendar of the month in which the query results are located , Highlight the current date , And whether it's a leap year ; For any illegal input data , Reject the query and prompt
10. Address book design
Design a practical small address book program , With add , Query and delete functions . By name , Native place , Phone number 1, Phone number 2, E-mail consists of , Names can be encoded by a mixture of characters and numbers . Phone numbers can consist of characters and numbers .
requirement : The last address book is saved in the file to be written ;
Realization function :
(1) The system works as a menu
(2) Information entry function
(3) Information browsing function
(4) Information query function
(5) Information modification function
(6) System exit function


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved