Đứng trước cơ hội đó để phát triển và tự khẳng định mình, các tổ chức, doanh nghiệp, trường học đang từng bước ứng dụng công nghệ thông tin vào trong các hoạt động tổ chức của mình.. sơ
Trang 1-BÁO CÁO MÔN HỌC PHÁT TRIỂN ỨNG
Trang 2Mục Lục
Lời nói đầu 3
CHƯƠNG 1: KHẢO SÁT VÀ THU THẬP YÊU CẦU 4
1.1 Các công nghệ sử dụng trong đề tài 4
1.2 Khảo sát tình trạng 4
CHƯƠNG 2: PHÂN TÍCH HỆ THỐNG 6
1 Sơ đồ Use Case 6
2 Sơ đồ hoạt động 6
2.1 Sơ đồ hoạt động chức năng thêm sinh viên 6
2.2 Sơ đồ hoạt động chức năng xoá sinh viên 7
2.3 Sơ đồ hoạt động chức năng sửa sinh viên 7
2.4 Sơ đồ hoạt động chức năng thêm lớp sinh viên 8
2.5 Sơ đồ hoạt động chức năng xoá lớp sinh viên 8
2.6 Sơ đồ hoạt động chức năng xoá sinh viên 9
3 Chi tiết bảng 9
3.1 Bảng LOP 9
3.2 Bảng SINHVIEN 10
3.3. Bảng TAIKHOAN 10
CHƯƠNG 3: KẾT QUẢ THỰC HIỆN 11
1 Giao diện Đăng nhập 11
2 Giao diện cho quản lý 14
3 Giao diện Class Manager 20
4 Giao diện Student Manager 23
5 Giao diện Info APP 26
6 Giao diện Đổi mật khẩu 31
7 Giao diện Sửa sinh viên 35
8 Giao diện Sửa lớp 38
Chương 4: Kết luận và hướng phát triển 41
1 Kết luận 41
Trang 32 Hướng phát triển 41 3.Tài liệu tham khảo 41
Trang 4Lời nói đầu
Trong thời đại ngày nay khi đất nước đang trong thời kì hội nhập thì khoa học công nghệ đang dần đân được ứng dụng nhiều hơn trong đó không thể không nói đến sự lớn mạnh của công nghệ thông tin Công nghệ thông tin đang được ứng dụng rộng rãi và có vai trò vô cùng quan trọng trong tất cả các ngành nghề cũng như trong đời sống con người Đứng trước cơ hội đó để phát triển và tự khẳng định mình, các tổ chức, doanh nghiệp, trường học đang từng bước ứng dụng công nghệ thông tin vào trong các hoạt động tổ chức của mình
Ứng dụng công nghệ thông tin vào đời sống có nhiều ưu điểm như giảm nhẹ sức lực của người quản lý, tiết kiệm thời gian, giảm được chi phí, gọn nhẹ hơn công tác quản lí trên giấy tờ, ngoài ra còn giúp giảm thiểu không gian lưu trữ tránh thất lạc dữ liệu từ đó nâng cao hiệu quả công việc tra cứu, tìm kiếm để có được kết quả một cách nhanh chóng và chính xác hơn
Nhận thấy vai trò quan trọng của công nghệ thông tin đối với công tác quản lý,do đó em
đã chọn đề tài “Xây dựng hệ thống quản lý điểm sinh viên cho trường đại học” làm đề tài cho bàitập lớn này
Đây là một đề tài có khả năng ứng dụng thực tế không phải bởi những ưu điểm mà nó mang lại mà nó còn phù hợp với yêu cầu công việc của trường
Để hoàn thành được bài tập lớn này, em xin được gửi lời cảm ơn chân thành đến thầygiáo hướng dẫn đề tài Thầy Trần Văn Hữu Giảng viên Khoa Công nghệ Thông tin Trường Đạihọc Thủ Dầu Một- đã hết lòng giúp đỡ, hướng dẫn, chỉ dạy tận tình để em hoàn thành được đề tàinày
Do đang còn thiếu kinh nghiệm và kĩ năng chưa cao nên việc viết báo cáo khó tránh khỏi saisót Rất mong sự đóng góp của thầy cô và các bạn đểem có thể hoàn thiện tốt hơn
Bình Dương, tháng 4 năm 2021
Trang 5CH ƯƠ NG I: KH O SÁT VÀ THU TH P YÊU CẦẦU Ả Ậ
1.1. Các công ngh s d ng trong đềề tài: ệ ử ụ
Android Studio là m t phầầm mềầm bao gồầm các b cồng c khác nhau dùng đ ộ ộ ụ ể
phát tri n ng d ng ch y trền thiềết b s d ng h điềầu hành Android nh các ể ứ ụ ạ ị ử ụ ệ ư
lo i đi n tho i smartphone, các tablet Android Studio đ ạ ệ ạ ượ c đóng gói v i m t ớ ộ
b code editor, debugger, các cồng c performance tool và m t h thồếng ộ ụ ộ ệ
build/deploy (trong đó có trình gi l p simulator đ gi l p mồi tr ả ậ ể ả ậ ườ ng c a ủ
thiềết b đi n tho i ho c tablet trền máy tính) cho phép các l p trình viền có th ị ệ ạ ặ ậ ể
nhanh chóng phát tri n các ng d ng t đ n gi n t i ph c t p. ể ứ ụ ừ ơ ả ớ ứ ạ
Android Studio lầần đầầu tiền đ ượ c cồng bồế t i h i ngh Google I/O vào năm ạ ộ ị
2013 và đ ượ c phát hành cho cồng chúng vào năm 2014 sau nhiềầu phiền b n ả
beta khác nhau Tr ướ c khi đ ượ c phát hành, các nhà phát tri n Android th ể ườ ng
s d ng các cồng c nh Eclipse IDE, m t IDE Java chung cũng hồỗ tr nhiềầu ử ụ ụ ư ộ ợ
- Phương pháp thu thập thông tin.
- Phương pháp phỏng vấn trực tiếp – phỏng vấn sâu.
- Phiếu khảo sát.
b) Dữ liệu thu thập
- Các giáo viên quản lí các trường trên địa bàn Thủ Dầu Một
c) Tóm tắt kết quả khảo sát
- Khảo sát 100 người : 95% người được khảo sát cần sử dụng phần mềm quản lí,
95% người tham gia khảo sát cho rằng việc sự dụng phần mềm để quản lý là cần thiết, 20% người khảo sát cho rằng các phần mềm khó sử dụng.
d) Báo cáo chi tiết
a Sử dụng phần mềm để quản lý
Trang 6Bảng 1 2: Tỉ lệ cần thiết của các phần mềm quản lý
c Trải nghiệm khi sử dụng các phần mềm quản lý
Dễ sử dụng, tiện lợi 80%
CH ƯƠ NG 2: PHÂN TÍCH H THỐỐNG Ệ
Trang 71.S đôề USE CASE ơ
Hình 1: sơ đồ use case
2.S đôề ho t đ ng ơ ạ ộ
2.1 sơ đồ hoạt động chức năng thêm sinh viên
Trang 8Hình 2: sơ đồ hoạt động chức năng thêm sinh viên 2.2.sơ đồ hoạt động chức năng xoá sinh viên
Hình 3: sơ đồ hoạt động chức năng xoá sinh viên 2.3 sơ đồ hoạt động chức năng sửa sinh viên
Trang 9Hình 4: sơ đồ hoạt động chức năng sửa sinh viên 2.4 sơ đồ hoạt động chức năng thêm lớp
Hình 5: sơ đồ hoạt động chức năng thêm lớp 2.5 sơ đồ hoạt động chức năng xoá lớp
Trang 10Hình 6: sơ đồ hoạt động chức năng xoá lớp 2.6.sơ đồ hoạt động chức năng sửa lớp
Hình 7: sơ đồ hoạt động chức năng sửa lớp
3 Chi tiết bảng
=3.1.Bảng LOP
Trang 12CHƯƠNG 3: KẾT QUẢ THỰC HIỆN 1.Giao diện Đăng nhập
Hình 11: Giao diện đăng nhập
Mã nguồn:
<?xml version ="1.0" encoding ="utf-8"?>
<RelativeLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto"
xmlns: tools ="http://schemas.android.com/tools"
android :layout_width ="match_parent"
Trang 13android :layout_height ="match_parent"
tools :context =".loginandregisteractivity.LoginActivity" tools :ignore ="VectorDrawableCompat">
android :layout_alignParentRight ="true"
android :layout_alignParentBottom ="true"
android :layout_below ="@id/logofpT"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
>
<LinearLayout
android :id ="@+id/linearLayoutlogin"
android :layout_centerInParent ="true"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :orientation ="vertical"
android :paddingBottom ="50dp">
Trang 14<TextView
android :layout_width ="wrap_content"
android :layout_height ="wrap_content"
android :layout_margin ="10dp"
android :text ="Nh p tên ng ậ ườ i dùng"
android :textColor ="@color/colorPurple"
android :textSize ="14sp"
android :textStyle ="bold" />
<EditText
android :id ="@+id/edtUserName"
android :scrollHorizontally ="true"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :layout_marginLeft ="10dp"
android :layout_marginRight ="10dp"
android :inputType ="text" />
<TextView
android :layout_width ="wrap_content"
android :layout_height ="wrap_content"
android :layout_margin ="10dp"
android :text ="Nh p password" ậ
android :textColor ="@color/colorPurple"
android :textSize ="14sp"
android :textStyle ="bold" />
<com.google.android.material.textfield.TextInputLayout android :id ="@+id/pass"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :layout_below ="@+id/edtUserName"
app :passwordToggleEnabled ="true">
<EditText
android :id ="@+id/edtPassword"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :layout_marginLeft ="10dp"
android :layout_marginRight ="10dp"
android :inputType ="textPassword"
android :scrollHorizontally ="true"
app :passwordToggleEnabled ="true" />
</com.google.android.material.textfield.TextInputLayout> <CheckBox
android :id ="@+id/cbLuuThongTin"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :text ="L u thông tin" ư />
<LinearLayout
Trang 15android :weightSum ="2"
android :layout_marginTop ="20dp"
android :layout_gravity ="center_horizontal" android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :orientation ="horizontal">
android :textColor ="@color/colorWhite" />
android :text ="ĐĂNG KÝ"
Trang 16Hình 12: Giao diện quản lý
Mã nguồn:
<?xml version ="1.0" encoding ="utf-8"?>
<LinearLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto"
xmlns: tools ="http://schemas.android.com/tools"
android :layout_width ="match_parent"
android :layout_height ="match_parent"
tools :context =".ManagerActivity"
android :orientation ="vertical"
>
<LinearLayout
android :layout_width ="match_parent"
android :layout_height ="match_parent"
android :orientation ="vertical">
Trang 17<RelativeLayout
android :id ="@+id/topArea"
android :layout_width ="match_parent"
android :layout_height ="280dp"
android :background ="@drawable/gradient"
>
<ImageView
android :id ="@+id/imageViewMenu"
android :layout_alignParentTop ="true"
android :layout_alignParentRight ="true" android :layout_margin ="5dp"
android :src ="@drawable/ic_menu"
android :layout_width ="wrap_content"
android :layout_height ="wrap_content"/> <LinearLayout
android :orientation ="vertical"
android :gravity ="center_horizontal"
android :layout_width ="match_parent"
android :layout_height ="wrap_content">
android :id ="@+id/myDashboard"
android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :text ="Võ Minh T n" ấ
android :textStyle ="bold"
android :textColor ="@android:color/white" android :textSize ="15sp"
android :textStyle ="bold" />
/>
</LinearLayout>
</RelativeLayout>
<GridLayout
android :id ="@+id/girdviewManager"
android :layout_width ="wrap_content"
android :layout_height ="wrap_content"
Trang 18android :layout_width ="match_parent"
android :layout_height ="match_parent"
android :id ="@+id/tvmana1"
android :layout_width ="wrap_content"
android :layout_height ="wrap_content" android :layout_gravity ="center_horizontal" android :text ="Class Manager"
android :layout_width ="match_parent"
android :layout_height ="match_parent"
android :layout_margin ="2dp"
android :orientation ="vertical"
Trang 19android :id ="@+id/tvmana2"
android :layout_width ="wrap_content"
android :layout_height ="wrap_content" android :layout_gravity ="center_horizontal" android :text ="Student Manger"
android :layout_width ="match_parent"
android :layout_height ="match_parent"
android :id ="@+id/tvinfo"
android :layout_width ="wrap_content"
android :layout_height ="wrap_content" android :layout_gravity ="center_horizontal" android :text ="Info App"
Trang 20android :textStyle ="bold" />
android :layout_width ="match_parent"
android :layout_height ="match_parent"
android :id ="@+id/tvdangxuat"
android :layout_width ="wrap_content"
android :layout_height ="wrap_content" android :layout_gravity ="center_horizontal" android :text ="Logout"
Trang 21android :layout_height ="match_parent"
tools :context =".loginandregisteractivity.LoginActivity" tools :ignore ="VectorDrawableCompat">
Trang 22android :layout_height ="182dp"
android :layout_alignParentRight ="true" android :layout_alignParentBottom ="true" android :layout_marginRight ="-100dp" android :layout_marginBottom ="-30dp" android :src ="@drawable/circle" />
<RelativeLayout
android :padding ="10dp"
android :layout_marginTop ="30dp"
android :layout_below ="@id/logofpT"
android :layout_width ="match_parent" android :layout_height ="wrap_content" >
<LinearLayout
android :id ="@+id/linearLayoutlogin" android :layout_centerInParent ="true" android :layout_width ="match_parent" android :layout_height ="wrap_content" android :orientation ="vertical"
android :paddingBottom ="50dp">
12
Trang 23<TextView
android :layout_width ="wrap_content"
android :layout_height ="wrap_content"
android :layout_margin ="10dp"
android :text ="Nh p tên ng ậ ườ i dùng"
android :textColor ="@color/colorPurple"
android :textSize ="14sp"
android :textStyle ="bold" />
<EditText
android :id ="@+id/edtUserName"
android :scrollHorizontally ="true"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :layout_marginLeft ="10dp"
android :layout_marginRight ="10dp"
android :inputType ="text" />
<TextView
android :layout_width ="wrap_content"
android :layout_height ="wrap_content"
android :layout_margin ="10dp"
android :text ="Nh p password" ậ
android :textColor ="@color/colorPurple"
android :textSize ="14sp"
android :textStyle ="bold" />
<com.google.android.material.textfield.TextInputLayout android :id ="@+id/pass"
android :layout_width ="match_parent"
android :layout_height ="wrap_content"
android :layout_below ="@+id/edtUserName"
app :passwordToggleEnabled ="true">
<EditText
android :id ="@+id/edtPassword"
android :layout_width ="match_parent"