当前位置:网站首页>Assignment of C language programming practice
Assignment of C language programming practice
2022-06-09 01:37:00 【_ Programming_】
《C Language programming practice 》 Mission statement
《C Language programming practice 》 Mission statement
One 、 Principles for selecting topics for students
1. Students choose topics according to their own situation , Choose one of the training topics , Or in giving the possibility
Choose your own topic besides the one you can choose , But with the consent of the instructor , Finalize the title .
2. Each student chooses a comprehensive topic independently , Do it alone .
Two 、 Assessment method
First, check whether the completed program can run normally and get the desired results , After the procedure is checked and passed
Check the written 《C Language programming practice report 》, According to the quality of the report and the results of the inspection
Students' achievements in course design .
3、 ... and 、 Training topic
1、 Class grade management
Automation 12 There is 4 A class , Each shift is assumed to have 32 Famous students , This semester there are 6 Course examination ,
The grade of each course is a hundred mark system . It is now stipulated that each student's grade record contains the following data : Student number 、 full name
And the scores of each course 8 term , Where the student ID is a string , Every student has a unique student number .
Complete the following operation requirements :
⑴ Write a score generation function , Use the random number method , Using random function to generate students' courses
Cheng's achievements ( The grade of each course is 0∽100 Integer between ), Call this function to generate
The grades of all the students ( Because there are too many students , You do not need to enter grades );
⑵ Write an average score calculation function , Calculate the average grade of each student and save ;
⑶ Yes 4 The grade of each class is arranged in a descending manner from high to low according to the average grade of each student
order ;
⑷ To realize the search function of all or some subject scores of a certain student .
⑸ Realize statistical analysis function : Each grade segment is divided into classes and courses ( Make your own decisions in several paragraphs ) The statistics of ;
⑹ Realize the function of modifying students' scores .
2、 Student achievement management
Suppose that the student information to be managed by a school's performance management includes : class 、 Student number 、 full name 、 semester 、 Every door
The results of the course ( The number of courses per semester is different ) , Manage students' performance information .
The following functions are required :
Realization : Student information input ; modify ; Delete and query , By semester 、 Student number 、 Failed grades and other inquiries .
⑴ Enter the basic information of the student , Including student ID 、 full name 、 Basic information such as gender and achievements in various subjects .
⑵ Display all students' grades in each subject ;
⑶ Make a statistical analysis of the grades of each subject ( Total score 、 average 、 The highest 、 Lowest score 、 Pass rate, etc );
⑷ Count the number of students in each section and class information ;
⑸ Search and display a student's grades in each subject by student number or name ;
⑹ It is displayed in order of course grade or total score from high to low ;
⑺ Update a student's basic information or course grades ;
⑻ Design a menu , Have the operation requirements specified above 、 Exit the system and other basic functions .
3、 Employee integrated information management system
requirement : Design a program to manage the comprehensive data information of employees , With data input 、 lookup 、 Delete
And so on . Specific function details can be added according to your own understanding .
4、 Analog intelligent traffic signal system
Design an intelligent signal lamp system , Control the traffic signals in the four directions of East, West, north, South at the intersection , Certainly
The red light stops and the green light goes , Generally, the green light is on every time in four directions 30 second , Just after the green light goes out
bright 3 Second yellow light turns to red light . Now the system is required to be able to dynamically allocate according to the traffic flow from intersections in all directions
The signal light can be longer in the direction of more traffic 30 Second time , Therefore, traffic flow signals are set at each intersection
Statistical machine , It can dynamically send traffic flow information to the system .
5、ATM Teller machine simulation program
requirement : Design a program , When entering a given card number and password ( The initial card number and password are 123456)
when , The system can log in ATM Teller machine system , Users can follow the following rules :
Check the balance : The initial balance is 10000 element
ATM Withdraw money : The amount of each withdrawal is 100 Multiple , The total amount does not exceed 5000 element , Withdrawal amount is not allowed
overdraft .
ATM deposit : No negative deposits .
Change Password : The length of the new password is not less than 6 position , Not allowed 6 Bit exactly the same situation , Only the old secret
The code is correct , The new password meets the requirements , The password can be successfully modified only when the two inputs are the same .
6、 Calendar Notepad
requirement : Calendar with schedule reminder function .
display information : Users can query the date of the previous month , You can also query the date of the next month backwards .
Timed reminder : Users can add... For a certain day , Delete and edit the schedule reminder information of this day , When
When the system time coincides with the reminder time , Give a dialog box with prompt information .
Query information : Users can query all the prompt information of a certain month .
7、 Library information management system
requirement : Design a program to manage book information , Realize the input of book related information 、 lookup 、 Delete etc.
function . Specific function details can be added according to your own understanding .
8、 Implement a salary management system
The main function of the system is to calculate the salary of employees in the current month and to save files .
The employees of the company have 5 Types , They are technicians , Salesman , Secretary , Technology Manager , sales manager .
The salary varies from position to position , Technicians are paid by the hour , The remuneration is 40 element . The salary of the salesperson is
According to the sales commission , The monthly salary is... Of the total sales 5%. The secretary is 4000 Basic salary , The bonus depends on the current month
Depending on the working conditions . Technical manager and sales manager , Every month 5000 RMB fixed salary . Technical Manager
There are three grades in the work report , Each level has 1000 Yuan bonus , The sales manager manages the sales industry
Performance dependent , Of total menstrual volume 0.3%.
9、 Address book management
Establish a student address book management system , The managed data is determined by itself , Its main functions include : Can build 、
Modify, add and delete student address book , It can query in many ways .
10、 Simulated restaurant order system
Design a program to simulate a la carte system . The business process of the restaurant : The restaurant prepares its own signature dishes and some
A regular dish , There is a place of business , Service personnel, etc ; When the customer comes , The waiter will find one for the guest first
Sit down at the table , Then hand over the menu and wait for the customer to order , Customers can order a dish , You can also return the dishes , End
Check out and leave , This table can be used to entertain the next group of customers .
Source download
link :https://pan.baidu.com/s/1JJs9vbZahUCB6cQvXLgAVg?pwd=1111
Extraction code :1111
边栏推荐
- 【刷穿剑指】剑指 Offer II 003. 前 n 个数字二进制中 1 的个数
- How to improve code standardization -- embedded C programming specification.
- Shell 硬件信息
- Blazorise场景构建高性能Web应用
- Design a MySQL table for message queue to store message data
- 音视频的理论基础与底层技术研究资料
- [Niuke SQL] non technical quick start
- shell 评估文件/目录状态
- [brush through sword finger] sword finger offer II 003 Number of 1 in the first n digit binary
- Explication détaillée du nombre de points flottants (une étude approfondie du nombre de points flottants)
猜你喜欢

Laravel框架中如何使用MongoDB数据库

Hqchart tutorial 30- how to connect the K-line diagram with the third-party data 35- fixed range trading volume distribution diagram data

php安装CI框架解决
Go language dolphin scheduler task scheduling processing

不容错过|额度管理与应用-银行信用卡行为评分篇(实操见)

shell 天气预报

Abviewer layout detector function and performance improvement

iscc-2022

SSM (3) - user registration and login (complete)

Presto RBO之谓词下推
随机推荐
shell 大写转小写
ora-02097 ora-00093
This session of 618, let's make room?
如何提升代码规范性——嵌入式C编程规范。
Shell hardware information
Ar engine's motion tracking capability enables immersive ar experience with high precision
After apple and Samsung both reduced their prices by more than 1000 yuan, domestic mobile phones were unable to sit still and sold off at reduced prices
Swift GCD DispatchGroup Notify wait DispatchSourceTimer Monitor system file Two apps communicate
C语言借书证管理系统
Why the volatile keyword is required for double check locks
Former Disney executive says Depp will return to pirates of the Caribbean to continue playing Captain
Taking the byte beating internal data catalog architecture upgrade as an example to talk about the performance optimization of the business system
Laravel implements nearby people, shops and houses based on mongodb (LBS)
I have read many tutorials, but I still can't write a program well. How can I break it?
PHP install CI framework solution
Virus propagation simulation experiment 2- clear or coexist?
音視頻的理論基礎與底層技術研究資料
shell 比较大小
shell 显示系统信息菜单
Shell command output