CSD201_-_T1_2896.webp
M

CSD201_-_T1_2896.webp

  • Media owner Maki95
  • Ngày thêm
Bài viết gốc: Chủ đề 'CSD201 - T1'
• For distance learning: Google Meet, Hangout (for Exam Monitoring Purpose).
Follow the steps below to complete PE:
2. Complete the requirements of the test.
3. Before submission:
Clean and Build Project (Shift+F11),
Then rename the folder dist to run. (If the folder run already exists, delete it before renaming).
4. Submission:
To submit the project Q1, at first you must select the Question No: 1
Browse and select the project folder (e.g. Q1, or Q1A, or Q2, ...)
Then click the Submit button.
5. Do not use accented Vietnamese when writing comments in programs.
6. Do not add new import statement(s) to given files.
7. Software tools must be used: NetBeans IDE 8.x and Java JDK 1.8.
If at least one of the above requirements is not followed, the exam will get ZERO.
* Notes:
The input and expected output below are only used to test your codes.
The input and expected output in the real testcases (for marking) are different
with in the examples below.
Do not hardcode with the given expected results.
Troubleshooting:
If the given project (e.g. Q1) runs with error, you need to run "Clean and Build Project" (Shift+F11). If still error, try to rename or copy the project to other one, e.g. from Q1 to Q1X or Q1Y.
Questions: (10 marks)
The given files already contain statements to implement a program for managing a Hotel. The structure of the main classes is as follows:
Class Room: contains information about a Room object, including:
ocode (001, 002, 003, ...)
status: is 0 (if the Room is empty), or 1 (if there is/are customer(s) in the Room)
O O price (must be > 0)
size (must be > 0): the maximum number of people renting/using this Room
Close Nada: includes info la Doom chicot) and nové la nointer for linking)
+ 100%
Zoom
Close
Chưa có bình luận nào.

Thông tin

Category
CSD201
Thêm bởi
Maki95
Ngày thêm
Lượt xem
4,560
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_T1_2896.webp
File size
304.2 KB
Dimensions
1920px x 867px

Share this media

Back
Bên trên Bottom