当前位置:网站首页>Test question bank management system - database design [easy to understand]
Test question bank management system - database design [easy to understand]
2022-07-04 11:02:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
link :https://pan.baidu.com/s/1ilMGCA_n1GPDk3O8k7w7Gg
Extraction code :m0ke
Copy this content after opening baidu network disk mobile phone App, It is more convenient to operate
One 、 Outline design
1.1 Background and significance
at present , Most courses in many colleges and universities also adopt the unified model of examination and teaching to complete the teaching process , This traditional examination mode has great subjectivity and irregularity in the process from teaching to the implementation of examination . In addition, with the expansion of students in Colleges and universities in recent years , The teaching task is increasingly arduous , The workload of teachers is correspondingly increasing . There is an urgent need for computer-assisted instruction system to break this traditional teaching mode , Reduce the workload of Teachers , Improve the quality of teaching . therefore , This paper studies and designs an examination question bank management system , To solve and alleviate the existing problems in college curriculum teaching , Improve teaching quality and examination effect , Reduce teachers' work pressure . The test question bank management system can assist teachers in the question types of various test questions of the subjects taught 、 Difficulty and other relevant data are saved 、 Query and other information management ; And test students when necessary 、 When evaluating , Extract the required questions from the question bank , Form a set of test papers .
Firstly, this paper briefly introduces the feasibility analysis of developing the management system of test question bank , System requirements analysis and overall design , Then mainly for the design of the system 、 form 、 User interface design 、 The program design is analyzed in detail , And some key codes of the system are explained , At the same time, the basic idea and workflow of general system software design are given . Firstly, the system application prototype is established in a short time , then , Iterate the requirements of the initial prototype system , Constantly revise and improve , Until a feasible system satisfactory to users is formed .
1.2 Contents and requirements
Functional requirements
1. Teacher login information management ( Teacher number 、 Teacher's name 、 Major number )
2. information management ( Test question type 、 Difficulty of test questions 、 Test subject number )
3. Addition of test questions 、 Delete 、 Change 、 check 、 Classification and other functions
4. Professional information management of examination questions ( Major number 、 Professional name )
5. Test paper information management ( Subject number 、 Question model 、 Time 、 Teacher number )
6. View to see the number of questions in each major , The number of question types of each subject
7. data Referential integrity constraints between library related tables
Two 、 Demand analysis
2.1 Systematic investigation
A detailed investigation and Research on the current management business of the test question bank is an important basic work to understand the system requirements and carry out system analysis and design , Therefore, we should conduct a comprehensive and detailed investigation and Research on the management of our examination question bank . First of all, I communicated with relevant teachers , Understand their views on the management of the test question bank , See if there are any new requirements , On this basis , Combined with their own knowledge level , Develop the corresponding test question bank management system according to your ability .
In the investigation, we can find , The examination question bank of colleges and universities is extremely huge , If there is no intelligent system to liberate people from the manual stage , So a huge 、 A complete test question bank cannot run effectively , Even the teacher who gives the question cannot be effective 、 Accurately extract the test questions you need from the test question bank , This is equivalent to saying that it is a question bank without practical application value . So , They hope to have such a question bank that can express the attributes of the test questions in detail . So today we will focus on such a goal to carry out our work .
2.2 The user needs
To design a management system with good performance , It is primary and basic to clarify the requirements of the user's application environment for the system . The system analyzes user needs from the following four aspects :
1) . User's demand information : The teacher can see the type and content of the question, as well as the score and difficulty level of the test question . Of course, this authority is also given to administrators and department heads .
2) User's processing requirements : Teachers can insert and delete the question bank , Teachers can choose the test questions they need in the test question bank by virtue of their own customized topic selection requirements .
3) Adaptability to the system 、 General requirements : It is required that the system can not only provide the management of test question bank of a course , How many disciplines should be integrated for management , Establish an efficient management system of test question bank .
4) Security requirements for the system , Password verification is required to enter the system .
2.3 Development technology
development tool :Microsoft SQL Server 2012
development language :SQL
Development technology : Database development technology
object-oriented : The demanders
2.4 Main functions of the system
3、 ... and 、E-R chart
Of each entity E-R The figure is shown below :
Four 、 Logical structure Design
4.1 Logical transformation
According to E-R Diagram can transform the conceptual model in the system into specific tables ( That is relationship ) structure , Will be divided into 8 A relationship , The details are as follows :
major ( Major number 、 Professional name )
Teachers' ( Teacher's job number 、 Teacher's name 、 Major number )
subject ( Subject number 、 Subject name 、 Major number )
Question type ( Question no 、 type 、 difficulty 、 Subject number 、 Teacher's job number )
Design questions ( Question no 、 Question model 、 Content 、 answer )
choice question ( Question no 、 Question model 、 Content 、 Options 1、 Options 2、 Options 3、 Options 4、 answer )
Judgment questions ( Question no 、 Question model 、 Content 、 answer )
The examination paper ( Test paper number 、 Subject number 、 Time 、 Teacher's job number 、 Content )
4.2 Refine the table structure
For convenience , According to the above description , Use English abbreviations to name tables and columns , Determine the data type of the column and the necessary constraint rules , Give the basic structure and description of the database table as shown below :
(1). Professional information sheet
Name | explain | data type | constraint |
---|---|---|---|
Specialty_id | Major number | char(4) | not null primary key |
Specialty_name | Professional name | varchar(10) | not null unique |
(2) . Teacher information sheet
Name | explain | data type | constraint |
---|---|---|---|
Teacher_id | Teacher number | char(8) | not null primary key |
Teacher_name | Teacher's name | varchar(10) | not null |
Teacher_Specialty | Major number | char(4) | not null foreign key |
(3). Chart of account information
Name | explain | data type | constraint |
---|---|---|---|
Course_id | Account No | char(10) | not null primary key |
Course_name | Subject name | varchar(10) | not null |
Course_Specialty | Major number | char(4) | not null foreign key primary key |
(4). Question type information table
Name | explain | data type | constraint |
---|---|---|---|
Question_id | Question number | int | not null IDENTITY(1, 1) primary key |
Question_name | Test question type | varchar(10) | not null |
Question_level | Difficulty of test questions | varchar(4) | not null default ‘ Simple ‘ |
Question_Course | Account number | char(10) | not null |
Question_Teacher | Teacher number | char(8) | not null |
(5). Design question information table
Name | explain | data type | constraint |
---|---|---|---|
Design_id | Question number | tinyint | not null IDENTITY(1, 1) primary key |
Design_Question | Question model | int | not null foreign key |
Design_Info | Content | text | not null |
Design_answ | answer | text | not null |
(6). Multiple choice information table
Name | explain | data type | constraint |
---|---|---|---|
ChoiceQst_id | Question number | tinyint | not null IDENTITY(1, 1) primary key |
ChoiceQst_Question | Question model | int | not null foreign key |
ChoiceQst_Info | Content | text | not null |
ChoiceQst_OP1 | operation 1 | text | not null |
ChoiceQst_OP2 | operation 2 | text | not null |
ChoiceQst_OP3 | operation 3 | text | not null |
ChoiceQst_OP4 | operation 4 | text | not null |
ChoiceQst_answ | answer | char | not null |
(7). True and false information table
Name | explain | data type | constraint |
---|---|---|---|
TrueOrFalse_id | Question number | tinyint | not null IDENTITY(1, 1) primary key |
TrueOrFalse_Question | Question model | int | not null foreign key |
TrueOrFalse_Info | Content | text | not null |
TrueOrFalse_answ | answer | char | not null |
(8). Test paper information sheet
Name | explain | data type | constraint |
---|---|---|---|
Paper_id | Test paper number | tinyint | not null IDENTITY(1, 1) primary key |
Paper_Course | Subject number | char(10) | not null |
Paper_madedate | Time | datetime | not null |
Paper_teacher | Teacher number | char(8) | not null foreign key |
Paper_Info | Content | text | not null |
5、 ... and . Database design
5.1 Create table
(1).Specialty Professional information sheet
(2). Teacher information sheet
(3). Chart of account information
(4). Question type information table
(5) . Design question information table
(6) . Multiple choice information table
(7) . True and false information table
(8) . Test paper information sheet
5.2 Create the necessary views
(1). Create test questions – Account view
(2). Design question view
(3). Multiple choice view
(4). True or false view
6、 ... and 、 summary
After a week of design and development , The management system of test question bank is basically developed . Its function basically meets the needs of school administrators , Be able to complete the entry of test questions of various majors and disciplines , Automatic roll forming and other functions according to requirements .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/149144.html Link to the original text :https://javaforall.cn
边栏推荐
- Add t more space to your computer (no need to add hard disk)
- Unittest+airtest+beatiulreport combine the three to make a beautiful test report
- Canoe - description of common database attributes
- Safety testing aspects
- Day7 list and dictionary jobs
- Write a program to define an array with 10 int elements, and take its position in the array as the initial value of each element.
- [test theory] test the dimension of professional ability
- 本地Mysql忘记密码的修改方法(windows)
- /*Write a function to open the file for input, read the contents of the file into the vector container of string class 8.9: type, and store each line as an element of the container object*/
- How to use diff and patch to update the source code
猜你喜欢
Usage of case when then else end statement
20 kinds of hardware engineers must be aware of basic components | the latest update to 8.13
[Galaxy Kirin V10] [desktop] printer
Canoe the second simulation engineering xvehicle 3 CAPL programming (operation)
Fundamentals of software testing
Introduction to Lichuang EDA
Canoe - the second simulation project -xvihicle1 bus database design (operation)
Climb Phoenix Mountain on December 19, 2021
Virtual machine configuration network
[Galaxy Kirin V10] [server] NUMA Technology
随机推荐
Summary of automated testing framework
Installation of ES plug-in in Google browser
[Galaxy Kirin V10] [server] set time synchronization of intranet server
How to use diff and patch to update the source code
Take advantage of the world's sleeping gap to improve and surpass yourself -- get up early
Recursive method to achieve full permutation (C language)
Elevator dispatching (pairing project) ②
Canoe - the second simulation project -xvihicle1 bus database design (operation)
Day7 list and dictionary jobs
regular expression
Appscan installation error: unable to install from Net runtime security policy logout appscan solution
[Galaxy Kirin V10] [desktop] FTP common scene setup
Introduction to canoe automatic test system
Canoe: distinguish VT, VN and vteststudio from their development history
Learning XML DOM -- a typical model for parsing XML documents
Const's constant member function after the function; Form, characteristics and use of inline function
Huge number multiplication (C language)
Communication layer of csframework
JMeter correlation technology
[test theory] test the dimension of professional ability