




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
I一、課程設(shè)計(jì)(論文)題目學(xué)生成績(jī)管理系統(tǒng)二、本次課程設(shè)計(jì)(論文)應(yīng)達(dá)到的目的通過(guò)數(shù)據(jù)庫(kù)大作業(yè)課程設(shè)計(jì)的操作與實(shí)踐,使學(xué)生了解關(guān)系數(shù)據(jù)庫(kù)的相關(guān)理論知識(shí)和有關(guān)工具軟件的使用技巧,在一定程度上提高應(yīng)用程序的綜合開(kāi)發(fā)能力三、本次課程設(shè)計(jì)(論文)任務(wù)的主要內(nèi)容和要求(包括原始數(shù)據(jù)、技術(shù)參數(shù)、1.數(shù)據(jù)庫(kù):原理編程與性能(影印版)(第2版),高等教育出版社,2.數(shù)據(jù)庫(kù)系統(tǒng)概論(第4版),高等教育出版社,王珊,薩師煊編著,2006.05;教研室主任(簽字)_________________?這次課設(shè)我做的是學(xué)生成績(jī)管理系統(tǒng),本系統(tǒng)依據(jù)開(kāi)發(fā)要求主要針對(duì)于教育系統(tǒng),完成對(duì)日常的教育工作對(duì)學(xué)生成績(jī)檔案及其他信息的數(shù)字化管理。開(kāi)發(fā)本系統(tǒng)可使學(xué)院教職員工減輕工作壓力,比較系統(tǒng)地對(duì)教務(wù)、教學(xué)上的各項(xiàng)服務(wù)和現(xiàn)在在各大中小學(xué)校,用計(jì)算機(jī)管理學(xué)校的信息已經(jīng)越來(lái)越普遍了。用計(jì)算機(jī)不但可以提高工作效率,而且還節(jié)省了許多人力物力,增強(qiáng)了學(xué)校資料的安全性。提高了學(xué)校的管理能力,為此,用計(jì)算機(jī)來(lái)管理學(xué)校的信息,是非常必要此,開(kāi)發(fā)一套適和大眾的、兼容性好的系統(tǒng)是很有必要的,但由于知識(shí)積累及時(shí)性大打折扣,后面有時(shí)間將會(huì)將系統(tǒng)設(shè)計(jì)的全面些,更具有實(shí)用性。準(zhǔn)備了許多時(shí)間來(lái)設(shè)計(jì)表結(jié)構(gòu),并將各個(gè)模塊的流程畫出來(lái),使系統(tǒng)的各個(gè)模塊的地方,比如用戶界面不夠美觀,對(duì)于出錯(cuò)處理不夠等多方面問(wèn)題,這些都有待進(jìn)一步改善。 需求分析 6概要設(shè)計(jì) 7 4C語(yǔ)言程序課程設(shè)計(jì)一學(xué)生成績(jī)管理系統(tǒng)一.設(shè)計(jì)目的通過(guò)數(shù)據(jù)庫(kù)大作業(yè)課程設(shè)計(jì)的操作與實(shí)踐,使學(xué)生了解關(guān)系數(shù)據(jù)庫(kù)的相關(guān)理論知識(shí)和有關(guān)工具軟件的使用技巧,在一定程度上提高應(yīng)用程序的綜合開(kāi)發(fā)能力和創(chuàng)新意識(shí)、創(chuàng)二.問(wèn)題描述2.教師信息維護(hù);課程成績(jī);6.學(xué)生查詢課程成績(jī)。三.需求分析“學(xué)生成績(jī)管理信息系統(tǒng)”包括四個(gè)模塊:成績(jī)錄入、班級(jí)統(tǒng)計(jì)、年級(jí)統(tǒng)計(jì)、系統(tǒng)功能。這四個(gè)模塊既相互聯(lián)系又相互獨(dú)立,班級(jí)統(tǒng)計(jì)、年級(jí)統(tǒng)計(jì)模塊必須以成績(jī)錄入(1)成績(jī)錄入模塊:主要功能用來(lái)對(duì)學(xué)生的成績(jī)進(jìn)行收集和修改。具體包括學(xué)生成績(jī)錄入、修改、增加、刪除、查詢等功能,成績(jī)錄入需要分班級(jí)、分年級(jí)以及某個(gè)時(shí)間考試的各門功課的成績(jī)。修改要與成績(jī)錄入相對(duì)應(yīng)。增加、刪除是對(duì)基本表的操作。查詢條件設(shè)置應(yīng)該齊全,可以班級(jí)查詢,年級(jí)查詢,也可以姓名查詢,學(xué)號(hào)查詢等主要功能用來(lái)對(duì)學(xué)生的成績(jī)以班級(jí)為單位進(jìn)行處理。具體包括各班學(xué)生總5成績(jī)、平均成績(jī)、班級(jí)排名及統(tǒng)計(jì)班級(jí)某分?jǐn)?shù)段內(nèi)的學(xué)生人數(shù);各個(gè)學(xué)生該科成績(jī)、班級(jí)排名及統(tǒng)計(jì)班級(jí)某分?jǐn)?shù)段內(nèi)的學(xué)生人數(shù)。各項(xiàng)統(tǒng)計(jì)僅對(duì)于某學(xué)期某次考試而)年級(jí)統(tǒng)計(jì)模塊:主要功能用來(lái)對(duì)學(xué)生的成績(jī)以年級(jí)為單位進(jìn)行處理。具體包括各年級(jí)學(xué)生總成績(jī)、年級(jí)排名統(tǒng)計(jì)年級(jí)某分?jǐn)?shù)段內(nèi)的學(xué)生人數(shù);各個(gè)學(xué)生該科成績(jī)、年級(jí)排名及統(tǒng)計(jì)、年級(jí)某分?jǐn)?shù)段內(nèi)的學(xué)生人數(shù)。各項(xiàng)統(tǒng)計(jì)僅對(duì)于某學(xué)期某次考試而言,在統(tǒng)計(jì)時(shí),還應(yīng)注意各年級(jí)考試科目不同。4)系統(tǒng)功能模塊:關(guān)于系統(tǒng)及退出系統(tǒng)。在概要設(shè)計(jì)里,根據(jù)系統(tǒng)需求設(shè)計(jì)系統(tǒng)EI圖,程序流圖,系統(tǒng)功能模塊圖等信了數(shù)據(jù)源。67年年級(jí)*89 (一)、系統(tǒng)的功能分析該學(xué)生成績(jī)管理系統(tǒng)是基于網(wǎng)絡(luò)在線的學(xué)生成績(jī)管理系統(tǒng),在系統(tǒng)中分為大的兩個(gè)方面:一是教師登錄頁(yè)面、二是學(xué)生登錄頁(yè)面。 (1)教師進(jìn)入學(xué)生成績(jī)管理系統(tǒng)的主要功能是:實(shí)現(xiàn)添加用戶、添加成績(jī)、學(xué)籍信息修改、修改密碼、查詢課程、選課、查詢成績(jī)、學(xué)籍信息查詢、打印等基本功 (2)學(xué)生進(jìn)行學(xué)生成績(jī)管量系統(tǒng)的主要功能是:選課、查詢成績(jī)、學(xué)籍信息查詢、打印等基本功能。 實(shí)現(xiàn)修改密碼、查詢課程、修改修改密碼圖碼教師在學(xué)生成績(jī)管理系統(tǒng)中能夠?qū)λ袑W(xué)生的成績(jī)查看,對(duì)學(xué)生按學(xué)號(hào)進(jìn)行精確查詢、按學(xué)生姓名進(jìn)行模糊查詢,可以修改自己的登錄密碼,添加用戶,添加學(xué)生的成績(jī),打印學(xué)生的學(xué)籍信息。學(xué)生在系統(tǒng)中的基本功能是對(duì)自己所有成績(jī)的查詢,課程的查詢,個(gè)人登錄密碼的修改,基本信息的查看,選課,打印自己的學(xué)籍信息。#inelude<stdio.h>#inelude<string.h>#include<stdlib.h>#inelude<windows.h>{charname[10];charbirthday[10];intCyuyan;hujujiegoustructstudent*next;studentcreatbyinputudentgetlaststudentstructstudentheadstructstudent*Print_menu_main()//主菜單{structstudent*print_table_head()一一------+\n”);{prin一一------+\n”);ntfntfcnprintf("+-------+——+--------+------+\n”);}------------------+-------}-printf(”printf(”printf(”printf(”printf(”printf(”printf(”printf(”printf(”1■?…輸入學(xué)生\n“)\n");\n");\n");\n");\n");\n");\n");\n");}voidprint_table_bottom(){printf("+____+_____+_____+_____+_______+\n")?}structstudent*Creat_stu_record()//建立鏈表{structstudent*plaststu=NULL,*pnewstu;charcontinue_input='N';structstudent*head=NULL;while(1){headNULL{head=creat_by_input();print_table_head();print_table_row(head);print_table_bottom();}pnewstucreatbyinput);print_table_head();print_table_row(pnewstu);print_table_bottom();plaststu=get_last_student(head);plaststu->next=pnewstu;}getchar;continue』put=getchar();if(continue_input=='n'||continue_input=='N'){system("cls");Printmenu_main();}}nhead}structstudent*creat_by_input(){structstudent*pnewstu=(structstudent*)malloc(sizeof(structstudent));printf("請(qǐng)輸入printf("學(xué)號(hào):");scanf("%d",&pnewstu->num);printf("姓名:");scanf("%s",pnewstu->name);printf("出生年月:");scanf("%s",pnewstu->birthday);printf生成績(jī)\n");printf("C語(yǔ)言:");scanf("%d",&(pnewstu->Cyuyan));printf("數(shù)據(jù)結(jié)構(gòu):");scanf("%d",&(pnewstu->shujujiegou));pnewstu->next=NULL;newstu}structstudent*get_last_student(structstudent*p){ifp>next==NULL)returngetlaststudentpnext}voidPrint_Stu_Doc(structstudent*head){structstudent*p;charr;print_table_head();headNULL{printfnNoRecords;}for(p=head;p;p=p->next){printf("|%1Od|%1Os|%1Os|%1Od|%1Od|\n",p->num,p->name,p->birthday,p->Cyuyanpshujujiegou);{system("cls");Printmenu_main();}{system("cls");Printmenu_main();}}{charname[10];structstudent*p=head;charcontinue_input;/*intisfound=0;*/scanf("%s",name);printf"查找%s\n",name);print_table_head();while(p!=NULL){if(strcmp(p->name,name)==0){print_table_row(p);ppnext/*isfound=1;*/ppnext}}print_table_bottom();continue』put=getchar();if(continue_input=='n'||continue_input=='N'){system("cls");Printmenu_main();}searchbyname(head);}structstudent*search_by_id(structstudent*head)〃按學(xué)號(hào)查找{charcontinue_input;/*intisfound=0;*/scanf("%d",&id);printf找%d\n",id);print_table_head();while(p!=NULL){fpnumid{print_table_row(p);ppnext/*isfound=1;*/}ppnext}print_table_bottom();getcharcontinue』put=getchar();if(continue_input=='n'||continue_input=='N'){system("cls");Printmenu_main();}searchbyidhead;}structstudent*modify_record_by_id(structstudent*head)〃按學(xué)號(hào)修改{structstudent*p=head;charcontinue_input;scanfdid);while(p!=NULL){fpnumid}Lprintfd生\n”,id);{printf生信息:\n");printf("學(xué)號(hào):");scanf("%d",&(p->num));printf("姓名:");scanf("%s",&(p->name));printf("C語(yǔ)言:");scanf("%d",&(p->Cyuyan));printf("數(shù)據(jù)結(jié)構(gòu):");scanf("%d",&(p->shujujiegou));print_table_head();print_table_row(p);print_table_bottom();}printf("繼續(xù)修改學(xué)生信息getchar();continue』put=getchar();if(continue_input=='y'||continue_input=='Y')creat_by_input();{system("cls");Printmenu_main();}nhead}structstudent*modify_record_by_name(structstudent*head)〃按姓名修改{dcharcontinue_input;\n");\n");scanfs",name);while(p!=NULL){if(strcmp(p->name,name)==0)}Lprintfs\n",name);{printf生信息:\n");printf("學(xué)號(hào):");scanf("%d",&(p->num));printf("姓名:");scanf("%s",&(p->name));printf("出生年月:");scanf("%s",&(p->birthday));printf("C語(yǔ)言:");scanf("%d",&(p->Cyuyan));printf("數(shù)據(jù)結(jié)構(gòu):");scanf("%d",&(p->shujujiegou));print_table_head();print_table_row(p);print_table_bottom();}printf("繼續(xù)修改學(xué)生信息getchar();continue』put=getchar();if(continue_input=='y'||continue_input=='Y')creat_by_input();{system("cls");Printmenu_main();}nhead}structstudent*insert_record(structstudent*head)〃插入{structstudent*ptr1;structstudent*ptr,*stud;structstudent*ptr2=head;charcontinue_input='N';printf("scanf("%d",&id);stud=creat_by_input();tudifhead=NULL){head=ptr;head->next=NULL;}elseif(head->num==id){ptr->next=head;}{while(ptr2!=NULL){ptrptr>next;ptrnumid{ptr1->next=ptr;ptr->next=ptr2;break;}}}print_table_head();print_table_row(ptr);print_table_bottom();etcharcontinue』put=getchar();if(continue_input=='y'||continue_input=='Y')returninsertrecord(head);{system("cls");Print_menu_main();returnhead;}}structstudent*Delete_record_by_id(structstudent*head)〃按學(xué)號(hào)刪除{structstudent*p=head,*ppre=NULL;charcontinue_input;printf請(qǐng)輸入要?jiǎng)h除的學(xué)號(hào):");scanf("%d",&id);while(p!=NULL){fpnumid}L{printf除學(xué)號(hào)為\n“,p_>num);arcontinue』put=getchar();if(continue_input=='y'||continue_input=='Y'){eadp{eadpnextprintf("\n");free(p);}{while(ppre!=NULL){ifppre_>next==p){ppre_>next=p->next;free(p);}pprepprenext;}}}//Print_menu_main();}getcharcontinue』put=getchar();if(continue_input=='y'||continue_input=='Y')recordbyidhead{system("cls");Printmenu_main();nhead}}structstudent*Delete_record_by_name(structstudent*head)〃按姓名刪除{structstudent*p=head,*ppre=NULL;charname[10];charcontinue_input;printf請(qǐng)輸入要?jiǎng)h除的姓名:");scanf("%s",name);while(p!=NULL){if(strcmp(p->name,name)==0)break;ppnext}L{\n");\n");otoend}",p->name);printf("\n");getchar();{{continue』put=getchar();if(continue_input=='y'||continue_input=='Y')eadp{eadpnextfree(p);}{while(ppre!=NULL){ifppre_>next==p){ppre_>next=p->next;free(p);}pprepprenext;}}}//elsePrint_menu_main();harcontinue』put=getchar();if(continue_input=='Y'||continue_input=='y')leterecordbynamehead{system("cls");Print_menu_main();returnhead;}}structstudent*Sorting_record_by_id(structstudent*head)〃按學(xué)號(hào)排序{ntiOjkrstructstudent*pt1,*pt2,*pt,m;headNULL{system("cls");Printmenu_main();}{system("cls");Printmenu_main();}}{ptheadnextforptheadptpt=pt->next)for(j=1;j<i;j++){xtforkk<i-j+1;k++){if(pt1->num>pt2->num){ptpt;nextptnextptnextpt}pt1=pt2;pt2=pt1->next;}}}print_table_head();for(pt=head;pt;pt=pt->next){{printf("|%10d|%10s|%10s|%10d|%10d|\n",pt->num,pt->name,pt->birthday,pt->Cyuyan,pt->s}tmain{structstudent*head=NULL;structstudent*p;intchoice)ntselect;charm;charr;system("colore");\n");\n");\n");\n");AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\門")tf\n");printf(".............................................................................\n");printf"請(qǐng)按照提示信息完成操作\n");\n");\n");while(choice!=0){startifscanf%d",&choice)){if(choice>7||choice<0){gotostart;}tonext}ifscanfcm{otostart}nextswitch(choice){case1:system("cls");head=Creat_stu_record();case2:system("cls");Print_Stu_Doc(head);casesystem"cls");canfdselectct{case1:search_by_name(head);break;case2:search_by_id(head);break;case3:system("cls");Print_menu_main();break;break;tfnscanf("%d",&select);witchselect{case1:system("cls");modify_record_by_id(head);break;case2:system("cls");modify_record_by_name(head);break;case3:system("cls");Print_menu_main();break;}case5:system("cls");head=insert_record(head);break;casesystem("cls");canfdselectswitch(select){case1:head=Delete_record_by_id(head);break;case2:head=Delete_record_by_name(head);break;case3:Print_menu_main();break;}casesystem("cls");Sortingrecordbyidhead;etchar{system("cls");Printmenu_main();}{system("cls"
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 大興安嶺職業(yè)學(xué)院《韓語(yǔ)入門》2023-2024學(xué)年第一學(xué)期期末試卷
- 泉州信息工程學(xué)院《高層建筑與抗震設(shè)計(jì)》2023-2024學(xué)年第二學(xué)期期末試卷
- 防水透氣膜施工方案
- 2025年中考數(shù)學(xué)幾何模型歸納訓(xùn)練:最值模型之瓜豆模型(原理)直線解讀與提分訓(xùn)練
- 生態(tài)板門套施工方案
- 柳州塑膠操場(chǎng)施工方案
- 污水池清理施工方案
- 普陀防腐地坪施工方案
- 蘇州安裝門禁施工方案
- 2025年國(guó)稅甘肅面試試題及答案
- 高校引進(jìn)博士述職報(bào)告
- 臨終關(guān)懷創(chuàng)業(yè)計(jì)劃書
- 【上市公司的財(cái)務(wù)風(fēng)險(xiǎn)的分析和防范:以三只松鼠為例10000字(論文)】
- 部編版小學(xué)語(yǔ)文四年級(jí)下冊(cè)教師教學(xué)用書(教學(xué)參考)完整版
- 小學(xué)教師專業(yè)發(fā)展與教學(xué)質(zhì)量提升
- 大跨度空間網(wǎng)架結(jié)構(gòu)分階段整體提升安裝技術(shù)研究與應(yīng)用
- 注射用頭孢比羅酯鈉-臨床藥品應(yīng)用解讀
- 農(nóng)業(yè)領(lǐng)域的服務(wù)禮儀
- 大學(xué)生心理健康教育教程 課件 第二章 大學(xué)生自我意識(shí)
- 公證知識(shí)宣傳材料
- 聚酯生產(chǎn)技術(shù) 聚酯主要設(shè)備介紹
評(píng)論
0/150
提交評(píng)論