University of Science
Vietnam National University – Ho Chi Minh
FINAL EXAMINATION
Course: JAVA PROGRAMMING
Time: 120 minutes Term: 1 – Academic year: 2020-2021
Lecturer(s): Dr. Nguyễn Thị Minh Tuyền, MSc. Hồ Tuấn Thanh
Student name: Student ID:
(Notes: Open book exam)
Question 1. (2.0 points)
Give AT LEAST 05 done tasks that you had finished in the group project.
For each task, you must write out the task name, the task description, the start date and the
end date of the task, and a Git commit screenshot to prove that you had done the task.
Question 2. (8.0 points)
Suppose that you are a member of a development team. The client wants you to write a
software to digitalize the his/her business tasks. Also suppose that the client handled his/her
business tasks on paper or on Excel. Here are several forms that the client gave you.
Software system: Book Store Management
Form 1:
Biểu mẫu Thông tin sách
Tên sách: ………………………………………… Thể loại: …………………………………………
Tác giả: ………………………………………… Năm xuất bản: ……………………………………
Giá nhập: ………………………………………… Giá bán: …………………………………………
Ngày nhập: ………………………………………
Qui định:
Có 3 thể loại: Kinh tế, Tiểu sử, Kinh nghiệm sống.
Giá bán cao hơn Giá nhập 10%, nhân viên có thể điều chỉnh Giá bán.
Cảnh báo người dùng nếu thêm vào một sách trùng tên với sách đã có trong nhà sách.
FACULTY OF INFORMATION TECHNOLOGY Page 3/6
University of Science
Vietnam National University – Ho Chi Minh
Form 2:
Biểu mẫu Danh sách sách
STT Tên sách Thể loại Tác giả Năm XB Giá nhập Giá bán Ngày nhập
You are asked to perform the following tasks:
2.1 Answer the following questions:
a. Draw a class diagram showing the relationship between the required classes in your
project. (1 point)
b. Design a relational database schema. Give a brief description of each table and their
columns. Specify the data types of columns. (2 points)
2.2 Write a complete GUI desktop program written in Java that implement the following
requirements. Swing and JDBC are required. Swing and JDBC are required. 2-layer (3-
layer) model are required, it means that the form creation, event handling source codes
must be separated from the database input/output source codes. (5 points)
a. Implement all these classes with Java defined in 2.1a.
b. Connect to a database management system
c. Implement a function to input a book.
d. Implement a search function with AT LEAST 2 criteria.
File submission:
- Source code files.
- A SQL file, including the schema and sample data.
- A JAR file.
- A PDF file, including the following sections: self-evaluated grade for all 2 questions;
answer of Question 1; answer of Question 2.1, Setup Instruction (step-by-step
instructions how to run your Question 2.2 project); User Manual (step-by-step, all-flows
demonstration of your app). If one of required files is missed, answers will not be graded.
***** GOOD LUCK !!! *****
FACULTY OF INFORMATION TECHNOLOGY Page 4/6