首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
31927编程代写、代做Java/c++程序设计
项目预算:
开发周期:
发布时间:
要求地区:
Assignment -1 Spring 2024 1
Faculty of Engineering and Information Technology
School of Computer Science
31927 – Application Development with .NET
32998 - .NET Application Development
SPRING 2024
ASSIGNMENT 1 – SPECIFICATION
Due date Monday 23 September 2024, 11:00am
Demonstration Required in the lab/tutorial session
Weight 35%
Groupwork Individual
Submission Complete project folder zip
Submit to Canvas
Summary
In this assignment, you are required to model the dotnet Hospital Management System by developing a
console application using C#.
The application should have appropriate data structures to distinguish between a Doctor, Administrator and
Patient as well as store the necessary links between them (such as an appointment, between a Doctor and
a Patient). You are given complete control in how you create these data structures, but guidance has been
given overpage.
Objects should be stored in the system and also written to .txt files such that the system can read them in
and regenerate existing objects on load. This is mandatory.
Students will need to submit the complete project folder in zip format, which will have the complete C#
code, solution file, data file, etc. required to run/test the program. Any special instructions required to run
the code has to be provided in a text file. Submitting a lone “.exe” is not acceptable.
Assignment Objectives:
The purpose of this assignment is to demonstrate competence in the following skills:
• Ensure firm understanding of the .NET framework, C# basics and C# syntax
• Understand how the .NET framework implements OO concepts and the implications this has for
new language design
• Array and string manipulation
• Creating custom classes and methods in C#
• File reading, writing and manipulation in C#
• Creating interactive console applications
• Creating good OO design.
Program and data structures:
• How you structure the classes in your program is your choice. One thing you are not allowed to do
is make your program fully contained inside Program.cs, or any single class.
• In the dotnet Hospital Management System, a user can log in as either a Patient, a Doctor, or an
administrator. These are different roles, which would store different information, and would have a
different menu. Your code structure should reflect this. Assignment -1 Spring 2024 2
• Additionally, your code will need to generate Appointments. An appointment would need a reference
to a single Doctor and a single Patient; your code structure should reflect this. You do not need to
manage Dates/times for appointments (or anywhere, for that matter) in your code. This may result in
appointments being difficult to distinguish and sort; you will not be marked down for this.
• Every patient, doctor and admin, has a unique ID. This ID should be an integer of reasonable length
(5-8 digits). This can be randomly generated, or incremental, but it should be generated by the
system on object creation, not chosen/inputted by the user.
Further recommendations:
• Objects will need to be printed out one by one, it’s recommended that each data structure has a
toString() function which compresses the notable data of the class into a succinct line.
• Each role should be its own class and it should have its own MainMenu method, don’t try and create
separate versions of the menu in Program.cs.
• Don’t get confused by Administrators. Doctors and Patients can’t at any stage have “admin
privileges”; the administrator is a completely separate entity.
• You may find it useful to abstract common functionality into its own class, such as a FileManager
class with static read and write methods or a Utils class which contains the methods to generate
ID’s and filter lists.
Assignment -1 Spring 2024 3
Marking Guide
Below is the marking guide for this assessment. It is designed to allow you to get a Pass grade with
minimal effort while still demonstrating that you understand the core principles of .NET development, to get
a Distinction with reasonable effort, and to get a High Distinction with solid effort, and 100% with
considerable effort. It is recommended that you pay attention to the grade distribution and work towards
your own skill level.
In the demos in the lab, your code needs to be compiled in Visual Studio Community edition 2022 and then
the tutor will test for normal functionality as described in the descriptions above. If your code does not
compile you will receive zero marks (no exceptions).
Task Items Max
Point Total
Console Code and
Design
- Appropriate Headings for menus
- Basic console design 2
14
- Helpful comments
- Appropriate indenting and whitespacing
- Consistent and appropriate C# naming convention used
2
OOP principles used:
- At least 1 example of inheritance
- At least 1 example of method overloading is used
- At least 1 example of method overriding is used
- At least 1 example of constructor
- At least 1 example of extension method
- At least 1 example of garbage collection
6
Appropriate use of exception handling 2
Low coupling, high cohesion, general code quality 2
Login Menu Functionality including cross checking credentials with .txt file 1.5 3 Password input masked in console 1.5
Patient Menu
List Patient Details 1
5
List My Doctor Details 1
List All Appointments 1
Book Appointment, functionality including creating
Appointment object and writing to txt file 2
Doctor Menu
List Doctor Details 1
5
List Patients 1
List Appointments 1
Check Particular Patient 1
List Appointments With Patient 1
Admin Menu
List All Doctors 1
7
Check Doctor Details 1
List All Patients 1
Check Patient Details 1
Add Doctor 1.5
Add Patient 1.5
Logout/Exit Logout functionality and Exit functionality for all 3 menus 1 1
Maximum Full Marks 35
Bonus Marks
- Use of one example of anonymous method
- Use of one example of generic
- Use of one example delegates
3
5 Email functionality (e.g. confirmation of patient registration, or
confirmation of booking) 1
Additional user role (e.g. receptionist) 1 Assignment -1 Spring 2024 4
Assignment -1 Spring 2024 5
Specific expected tasks and examples
In this assignment, you are required to develop a console-based, menu driven hospital management
system using C#. Necessary data should be stored in “.txt” files. There are 3 core roles in the system.
1. Patient
2. Doctor
3. Administrator
Each of these roles have their own version of the menu with it’s own subset of menu options.
Login Menu
The user should be presented with this menu on program startup and cannot proceed further without
entering valid login details.
Input fields:
- ID: Display the typed characters as is
- Password: Display “*” instead of the actual
characters
ID and password should be checked against valid
credentials inside your files. How you do this depends
on how you’ve structured your classes; but any
patient/doctor or admin should have a unique ID and a
password. These values should be, in some way,
stored in a .txt file, which your code should cross check at this screen. If entered values are not valid,
display appropriate error message and allow the user to retry.
Patient Menu
The patient menu should have all of the following
menu options (see right).
All menu options MUST share this functionality
(see example below):
• Console is emptied to display new data
• Appropriate heading displayed before data
printed
• Error handling for bad user input
• Menu should never return itself, the user
should be able to press a single key to return.
List Patient Details
Functionality: Lists all the fields of the currently
logged in patient to the console.
Input: Key press to return to menu. Assignment
-1
Spring 202
4
6
List My
Doctor
Details
Functionality: Lists all the fields of the
doctor that is registered with the
currently logged in patient, to the
console.
It is recommended that the
Doctor
data structure has a toString
function which compresses the
necessary details of the patient into a
short line.
Input: Key press to return to menu.
List All Appointments
Functionality: Lists the details of all past
appointments involving the currently
logged in patient.
Input: Key press to return to menu.
Book Appointment
Functionality: Prompts the user for all
the necessary information to generate a
new appointment. This must be done
with the doctor registered to the user. If
the user has not registered to a doctor,
they should be prompted to choose from
a list of all doctors and register.
Input:
•
Integer to select doctor (if
applicable)
•
All necessary information to
generate your Doctor data
structure
•
Key press to return to menu.
Assignment
-1
Spring 202
4
7
Doctor Menu
The doctor
menu should have all of the
following menu options
(see right)
All menu
options
MUST share this
functionality:
•
Console is emptied to display new
data
•
Appropriate heading displayed
before data printed
•
Error handling for bad user input
•
Menu should never return itself, the
user should be able to press a
single key to return.
Logout
Functionality: Returns to the login menu
Exit
Functionality: Exits the application
List Doctor Details
Functionality: Lists the fields of the
currently logged in doctor to the
console
.
Input: Key press to return to menu.
List Patients
Functionality: Lists a shorthand outline
of every patient that is registered with
the currently logged in doctor to the
console, line by line. It is recommended
that the Patient data structure has a
toString function which compresses the
necessary details of the patient into a
short line.
Input: Key press to return
to menu.
Assignment -1 Spring 2024 8
List Appointments
Functionality: Lists every appointment
involving the currently logged in doctor,
regardless of which patient is involved, to
the console, line by line. It is
recommended that that the Appointment
data structure has a toString function
which compresses the necessary details
of the appointment into a short line.
Input: Key press to return to menu.
Check Particular Patient
Functionality: Prompts the user for an ID and prints the details of the patient whose ID it belongs to, to
the console line by line. If there is no patient with that ID, your code should handle the error and print
an appropriate error message. It is your choice whether the user is prompted to re-enter the ID or if the
program returns to the Patient menu.
Input: Key press to return to menu.
List Appointments With Patient
Functionality: Prompts the user for an
ID and finds the patient with that ID.
Your code should then print every
appointment between that patient and
the currently logged in doctor. (You
should not need to filter this list, as the
patient should have been forced to be
registered to only 1 doctor). If there is
no patient with that ID, your code
should handle the error and print an
appropriate error message. It is your
choice whether the user is prompted to
re-enter the ID or if the program returns
to the Patient menu.
Input: Key press to return to menu. Assignment -1 Spring 2024 9
Administrator menu
The administrator menu should have all of
the following menu options (see right)
All menu options MUST share this
functionality:
• Console is emptied to display new
data
• Appropriate heading displayed
before data printed
• Error handling for bad user input
• Menu should never return itself, the
user should be able to press a single
key to return.
List All Doctors
Functionality: Lists a shorthand version of every doctor contained in the system to the console, line by
line. It is recommended that the Doctor data structure has a toString function which compresses the
necessary details of the doctor into a short line.
Input: Key press to return to menu.
Logout
Functionality: Returns to the login menu
Exit
Functionality: Exits the application
Assignment -1 Spring 2024 10
Check Doctor Details
Functionality: Prompts the user for an ID and prints the details of the doctor whose ID it belongs to, to
the console line by line. If there is no doctor with that ID, your code should handle the error and print an
appropriate error message. It is your choice whether the user is prompted to re-enter the ID or if the
program returns to the Administrator menu.
Input: Key press to return to menu.
List All Patients
Functionality: Lists the shorthand version of every patient in the system to the console, line by line. It
is recommended that the Patient data structure has a toString function which compresses the
necessary details of the patient into a short line.
Input: Key press to return to menu.
Check Patient Details
Functionality: Prompts the user for an
ID and prints the details of the doctor
whose ID it belongs to, to the console
line by line. If there is no doctor with
that ID, your code should handle the
error and print an appropriate error
message. It is your choice whether the
user is prompted to re-enter the ID or if
the program returns to the
Administrator menu.
Input: Key press to return to menu. Assignment
-1
Spring 202
4
11
Add Patient
Functionality: Prompts the user for
all the necessary data needed to
generate a new Patient
and add it
to the system.
Input: Key press to return to menu.
Logout
Functionality: Returns to the login menu
Exit
Functionality: Exits the application
Add Doctor
Functionality: Prompts the user for
all the necessary data needed to
generate a new Doctor and add it
to the system.
Input: Key press to return to menu.
Assignment -1 Spring 2024 12
Additional Information:
Assignment Submission
You must upload a zip file of the C# solution to Canvas. This must be done by the Due Date. You may
submit as many times as you like until the due date. The final submission you make is the one that will be
marked. If you have not uploaded your zip file within 7 days of the Due Date, or it cannot be compiled and
run in the lab, then your assignment will receive a zero mark
• NOTE 1: It is your responsibility to make sure you have thoroughly tested your program to make
sure it is working correctly.
• NOTE 2: Your final submission to Canvas is the one that is marked. It does not matter if earlier
submissions were working; they will be ignored. Download your submission from Canvas and test it
thoroughly.
Queries
If you have a problem such as illness which will affect your assignment submission contact the subject
coordinator or lab tutor as soon as possible.
Dr. Avinash Singh
Room: CB11.07.115
Phone: 9514 1825
Email: avinash.singh@uts.edu.au
If you have a question about the assignment, please post it to the Canvas discussion board for this subject
so that everyone can see the response.
If serious problems are discovered in assignment specification the class will be informed via an
announcement on Canvas. It is your responsibility to make sure you frequently check Canvas.
PLEASE NOTE : If the answer to your questions can be found directly in any of the following
§ Subject outline
§ Assignment specification
§ Canvas FAQ and addendum
§ Canvas discussion board
You will be directed to these locations rather than given a direct answer.
Extensions and Special Consideration
Please refer to subject outline.
Academic Standards and Late Penalties
Please refer to subject outline.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写data driven business mod...
2024-11-12
代做acct1101mno introduction...
2024-11-12
代做can207 continuous and di...
2024-11-12
代做dsci 510: principles of ...
2024-11-12
代写25705 financial modellin...
2024-11-12
代做ccc8013 the process of s...
2024-11-12
代做intro to image understan...
2024-11-12
代写eco380: markets, competi...
2024-11-12
代写ems726u/p - engineering ...
2024-11-12
代写cive5975/cw1/2024 founda...
2024-11-12
代做csci235 – database syst...
2024-11-12
代做ban 5013 analytics softw...
2024-11-12
代写cs 17700 — lab 06 fall ...
2024-11-12
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!