Student Information Management System

Student Information Management System

All the mark points are marked in the table, if you cannot find the evaluation point in the webpage, this table will help you.

evaluation point link1 link2 link3 Note
Basic function – add view logic data access
Basic function – display view data access
Basic function – search view data access
Basic function – sort view data access
Basic function – save to file(log) data access
Basic function – read from file(log) view data access
Extended function – delete student view logic data access
Extended function – modify student view logic data access
Extended function – OO introduction
Extended function – database introduction detailed design
Extended function – version control introduction
Extended function – log introduction data access

The Basic function “sort” contians extended like sort by studentId, name, age, etc.
The extended function “log” appear too many times so I did not give the links here.

1.Introduction

This is a system for managing the students’ information (SIMS in short). The system contains three hierachical layers which are view, logic and data access.
At the very top layer-- view layer contains all human-computer interactions. All the client operations will be finished here.
The 2nd layer is the logic layer. It contains all logic operations including search for a student, sort the student grades, etc.
The 3rd layer is to communicate with database. It will automatically control the database with the order from logic layer.

Layer Function Note
View All human-computer interactions. No logic nor data control at all
Logic Handle the orders from the view layer, all the memory operations will be executed here, but data operations will be sent to the 3rd layer This is the core layer of the system
Data Handle all the data operations from logic layer Connection between memory and database

2.Outline design

2.1 Functions of system

This system is similar to a DBMS, it contains add, delete, modify and query for a database. The detailed functions design is shown in the graph below.
请添加图片描述

2.2 UML sequence diagram

Client View Logic Data request request(Add, display, sort, search) Handle the request get data Handle the SQL return data Logic processing return the result Display
系统功能描述 该系统管理学生的课程信息。系统提供账户的管理和学生信息的管理功能。 系统提供的功能主要有学生信息的查询,修改,增加,删除,账户信息的查询,修改,增加,删除。 -------------------------------------------------- -------------------------------------- 登陆运行提示: -------------------------------------------------- -------------------------------------- 欢迎来到SIMS | 请选择您的帐户级别:| | [0]你是老师| [1]你是学生| [2]退出| | 选择一个数字:| -------------------------------------------------- -------------------------------------- 登录管理系统的账户分为管理员账户和普通账户: *普通用户只具有查询学生信息的功能: -------------------------------------------------- -------------------------------------- [1]搜索学生信息 [2]退出 选择一个数字: -------------------------------------------------- -------------------------------------- *管理员用户具有系统提供的所有功能: -------------------------------------------------- -------------------------------------- [1]搜索学生信息| [2]添加学生信息| [3]更新学生信息| [4]删除学生信息| [5]搜索用户帐号| [6]添加用户帐号| [7]更新用户帐号| [8]删除用户帐号| [9]退出| | 选择一个数字:| -------------------------------------------------- -------------------------------------- 系统数据主要存储在三个文件:configure.txt usr_account.txt student.txt。 usr_account.txt主要用于存放用户账户信息,0表示管理员账户,1表示普通用户 student.txt主要用于存放学生信息 configure.txt主要用于存放配置信息:usr_account.txt student.txt文件的存储位置路径信息,根据这个路径信息去读这两个文件 -------------------------------------------------- -------------------------------------- 系统在启动时会根据配置文件里的内容找到相应文件并读取出数据来加载账户信息和学生信息 SIMS用到的结构体: typedef struct user { char user_name [USER_NAME_LEN + 1]; char user_password [USER_PASSWORD_LEN + 1]; int users_limit; struct user * next; } USER_ACCOUNT,* pUSER_ACCOUNT; //注册账户信息 typedef struct course { int course_id; double course_score; }当然,* pCOURSE; //多个课程,课程结构体 typedef struct student { int stu_id; char stu_name [USER_NAME_LEN + 1]; 课程[COURSE_NUM]; 结构学生*下一个; } STUDENT,* pSTUDENT; //学生信息结构体 -------------------------------------------------- -------------------------------------- Windows下的是在Windows 10系统下的Visual Studio 2012开发的 Linux下的是在Linux ubuntu 4.10.0-42-generic#46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU / Linux下开发的 ****注**** windows版本随意使用; windows版本下的configure.txt和usr_account.txt student.txt在同一目录下, 要注意configure.txt内容要相应更改成这两个文件的绝对路径。 Linux的版本输入信息错误不能退格删除,只能重启;发送SIGINT信号结束进程 的Linux版本提示输入信息(任意字符)继续的时候不要输入回车,其他都行;
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值