クラスベースの学生管理システムレポート

I. コース設計の概要 

1.1バックグラウンドタスク

学生情報管理は、学校経営の非常に重要な側面である学校として、教育に加えて、不妊治療が知られており、コンピュータ化された学生の情報管理は、学校教育行政の重要な部分であり、このステップを達成する能力は、全体的な教育学校に関連しています、そのために重要で、学生情報管理システムの開発と応用が徐々に議題に置く効率のレベル、および重量のますます重要な部分。  学生情報管理システムの使用は、教員大学の負荷を軽減コストを削減し、効率と精度を向上させ、あなたの時間を手配することができ、できるだけ早くその試験結果を知ることができ、研究やレビューの新しいコースへのテストではありませんすることができますコース。学生情報管理システムのアプリケーションは、将来的には今日の民間教育市場の競争力のために増加しました。大きな発言の方向は、完全な自動化を実現するために、中国の近代化ドライブの開発を加速することですので、私たちの国の通信ネットワーク、および科学的な意思決定、オフィスオートメーションの国。  現代では、作業の人々の習慣、コンピュータの特に大好評、人々の生活のますます速いペースを変え、高い技術の急速な発展は、作業効率を向上させるためにどのように人々最初の配慮という問題があります。学生情報管理は非常に退屈で複雑な仕事である、一つの理由は、重いワークロードの悪い管理があります。学校のために、私たちは国の責任の学生を担当し、経営の強度を高め、地域資源のいくつかを使用する必要があります。

学生情報管理システムの開発は、学生がスマートフォンは、学生の情報を管理し、インターネットの完全なカバレッジを確保することができますアンドロイドそうという、モバイルクライアントの情報管理の学生を容易にするように設計しました。学生情報管理システムは、に適用可能なアンドロイドこのソフトウェアを使用した後、学生はより便利で効率的な情報管理となり、スマートフォンのユーザー。

1.2開発環境

開発環境: Eclipseの

動作環境: Androidのスマートフォン

 

 

 

 

二つは、 分析を必要とします

2.1機能要件

このシステムは、ユーザの直接のアクセスは、ビジネスにおいて重要な役割を果たしています。それは友好的、便利なユーザインタフェースを提供する主な理由です。次のように登録、お問い合わせやパスワードの利用者の承諾を変更し、特定の機能は以下のとおりです。

ユーザーの特徴:

1.情報のクエリ機能:管理者ログインアカウントのパスワードは、ユーザーがすべての情報を表示することができます。

図2は、メッセージングを増加:管理者は、ユーザーを追加することができます。

3.変更情報機能:管理者は、ユーザーの登録情報を変更することができます。

4.削除メッセージング:管理者は、ユーザが登録した情報を削除することができます

2.2 UMLユースケース図の需要 

 

                                                                                     

                                                                             需要UMLユースケース図

3つのシステムの設計と実装

3.1システム設計

  下に示すように、システムデータは、図を流れます。

 

 

                                            図 3.1    学生管理システムのデータフロー図

 

3.2データベースの設計と実装

 

3.2.1データベースのER図

 

図で詳述名前、性別、国籍、学生番号、メモ、電話、生年月日、など、学生情報ウィンドウ、 3.2データベースのER図:

3.3詳細設計と実装を提供します

3.3.1登録インタフェース

 

3.3.2ログイン画面

 

3.3.3クエリインターフェイス

 

3.3.4追加のインタフェース

 

3.3.5 [削除インタフェース

 

3.4オープンソース

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity">

<AutoCompleteTextView   //建立输入用户名文本框
        android:id="@+id/userName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBaseline="@+id/textView2"
        android:layout_alignBottom="@+id/textView2"
        android:layout_alignRight="@+id/userPassword"
        android:layout_toRightOf="@+id/textView2"
        android:ems="10"
        android:hint="请输入用户名" />

<EditText               //建立密码文本框
        android:id="@+id/userPassword"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBottom="@+id/textView1"
        android:layout_toRightOf="@+id/textView2"
        android:ems="10"
        android:hint="请输入密码"
        android:inputType="textPassword" />

<TextView          //
        android:id="@+id/textView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignRight="@+id/textView2"
        android:layout_below="@+id/userName"
        android:layout_marginTop="21dp"
        android:text="密    码:"
        android:textColor="#ffffff"
        android:textSize="20sp" />

<Button        //建立注册按钮
        android:id="@+id/register"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBaseline="@+id/login"
        android:layout_alignBottom="@+id/login"
        android:layout_alignLeft="@+id/textView1"
        android:text="注册"
        android:background="@drawable/login_btn_click" />

<Button        //退出按钮
        android:id="@+id/exit"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignRight="@+id/userPassword"
        android:layout_below="@+id/userPassword"
        android:layout_marginTop="42dp"
        android:text="退出"
        android:background="@drawable/login_btn_click" />

<TextView        //输入用户名文本框
        android:id="@+id/textView2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_below="@+id/imageView1"
        android:layout_marginLeft="22dp"
        android:layout_marginTop="50dp"
        android:text="用户名:"
        android:textColor="#ffffff"
        android:textSize="20sp" />

<ImageView
        android:id="@+id/imageView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="72dp"
        android:src="@drawable/student" />

<Button
        android:id="@+id/login"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBaseline="@+id/exit"
        android:layout_alignBottom="@+id/exit"
        android:layout_alignRight="@+id/imageView1"
        android:background="@drawable/login_btn_click"
        android:text="登录" />

</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

<LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

<TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="用户名    :" />

<EditText
            android:id="@+id/editText1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="请输入用户名" />
</LinearLayout>

<LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

<TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="密        码:" />

<EditText
            android:id="@+id/editText2"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="请输入密码"
            android:inputType="textPassword" />
</LinearLayout>

<LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

<TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="确认密码:" />

<EditText
            android:id="@+id/editText3"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="请再输入密码"
            android:inputType="textPassword" />
</LinearLayout>

<LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

<Button     //确认按钮
            android:id="@+id/btn_confirm"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/login_btn_click"
            android:text="确认" />

<Button     //返回按钮
            android:id="@+id/btn_back"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/login_btn_click"
            android:text="返回" />
</LinearLayout>

</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

<EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

<LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

<Button     //完成按钮
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="完成" />

<Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="取消" />

</LinearLayout>
</LinearLayout>

四、系统测试

4.1测试环境

测试环境即测试的实施环境,包括:

1.软件测试设计环境:编制测试计划说明等有关文件所基于的设备和支持。

2.软件测试实施环境:对软件系统进行各级测试所基于的软、硬件设备和支持。

3.软件测试管理环境:管理测试资源所基于的软、硬件设备和支持

本系统主要使用的是Eclipse(一个开放源代码的、基于 Java 的可扩展开发平台)以及Android手机。

4.2模块测试

4.2.1 注册模块测试

注册时需要输入用户名、密码、确定密码。如果该用户名已被存在或者两次密码输入不一样,测试结果如下图:

                           用户已被注册图

                         两次密码不一样图

                                 注册成功图

4.2.2  用户登录模块测试

用户登录模块需要输入用户名以及密码,否则不能登录并有请输入用户名的提示。若登录时用户名和密码错误,则会提示您输入的用户名或密码错误,否则提示成功。如下图:

            

4.2.4 用户增添模块测试

输入用户信息,对用户模块测试,如下图:

                                 用户添加信息图

                                            

                                                   成功添加用户图

 

五、项目总结

这个程序作完不难,关键是调试,修改的过程很难。还有一点,一个细心的人作程序可能少走弯路。一般作程序不是从头到尾作完再调试,这样很难调好,因为每编一句都可能出错,这样错误越积越多,最好的方法是每作完一个小段调试一次,一步一步循序渐进地作完,到最后不至于出了很多错误,不知如何寻找,同样少了很多的麻烦。编程多了,自然地经验多了,调程序就不觉得那么难了。

   要想编好、快速完成任务,就必须有严谨的科学态度,比如说一个字母,甚至一个标点符号的错误都会导致错误,这种错误在编程中我们经常出现,有时系统能让你很快找出,你能顺利往下进行,但有时它提示的错误信息和标点一点关系都没有,而后你把编的程序从头到尾看了一遍, 结果花了大量的时间, 大大降低了效率。其它的粗心大意错误更是五花八门,调试起来就更加困难了,所以在编程时一定要心细。编程要有耐心,因为编程是件很繁琐的工作,如果没有耐心恐怕是编不下去的,比如有的人,有好几处错误,就放弃了,结果一事无成。

最后一点,就是编程时思路一定要清楚。因为编程本身就是一个严密的逻辑过程,实现每一步的操作需要那些命令,哪些条件都是清清楚楚,明明了了的,来不得半点遗漏。
总的来说,编程是件复杂的脑力劳动,要有科学严谨的科学态度,细心的习惯和耐心才能作好,要做到以上的要求我们还要做许多许多。

 

课程设计的过程中,我遇到了很多问题,通过查阅参考书和的指导,都得到了解决。这不仅仅锻炼了我分析问题和解决问题的能力,也使我意识到自己对知识的了解程度远了,知识的缺乏也在很多方面。以后我一定会努力提高自己的理论水平,同时尽可能多地读一些科学书籍,提高自己的理论水平和动手实践能力。由于时间的限制,解决这个问题和本文不能被称为完美。在许多地方还有待阐述,修改和完善

 

おすすめ

転載: www.cnblogs.com/liusiwei/p/12001289.html