31927 – Application Development with .NET

news/2024/9/23 12:29:05/文章来源:https://www.cnblogs.com/WX-codinghelp/p/18426839

Assignment -1Spring 20241Faculty 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 sessionWeight 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 aconsole 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 anda 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 runthe 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 fornew 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 dois 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 referenceto a single Doctor and a single Patient; your code structure should reflect this. You do not need tomanage 代 写31927 – Application Development with .NET Dates/times for appointments (or anywhere, for that matter) in your code. This may result inappointments 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 thesystem 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 atoString() 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 createseparate versions of the menu in Program.cs.
  • Don’t get confused by Administrators. Doctors and Patients can’t at any stage have “adminprivileges”; the administrator is a completely separate entity.
  • You may find it useful to abstract common functionality into its own class, such as a FileManagerclass with static read and write methods or a Utils class which contains the methods to generateID’s and filter lists.Assignment -1Spring 20243

Marking Guide

Below is the marking guide for this assessment. It is designed to allow you to get a Pass grade withminimal effort while still demonstrating that you understand the core principles of .NET development, to geta Distinction with reasonable effort, and to get a High Distinction with solid effort, and 100% withconsiderable effort. It is recommended that you pay attention to thegrade distribution and work towardsyour own skill level.

In the demos in the lab, your code needs to be compiled in Visual Studio Community edition 2022 and thenthe tutor will test for normal functionality as described in the descriptions above. If your code does notcompile you will receive zero marks (no exceptions).T

Logout/Exit Logout functionality and Exit functionality for all 3 menus11Maximum Full Marks 35

Bonus Marks -Use of one example of anonymous methoUse of one example of genericUse of one example delegates

Email functionality (e.g. confirmation of patient registration, orconfirmation of booking)1Additional user role (e.g. receptionist)1Assignment -1Spring 20244Assignment -1Spring 20245

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. AdministratorEach of these roles have their own version of the menu with it’s own subset of menu options.Login MenuThe user should be presented with this menu on program startup and cannot proceed further withoutentering valid login details.

Input fields:

-ID: Display the typed characters as is-Password: Display “*” instead of the actualto the system.Input: Key press to return to menu.Assignment -1Spring 2024

12Additional 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 bemarked. If you have not uploaded your zip file within 7 days ofthe Due Date, or it cannot be compiled andrun 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 makesure it is working correctly.
  • NOTE 2: Your final submission to Canvas is the one that is marked. It does not matter if earlierubmissions were working; they will be ignored. Download your submission from Canvas and test itthoroughly.Queries

If you have a problem such as illness which will affect your assignment submission contact the subjectcoordinator or lab tutor as soon as possible.

If you have a question about the assignment, please post it to the Canvas discussion board for this subjectso that everyone can see the response.

If serious problems are discovered in assignment specification the class will be informed via anannouncement on Canvas. It is your responsibility to make sure youfrequently 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.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/802130.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

wordpress建立数据库连接时出错怎么办

当WordPress提示“建立数据库连接时出错(Error Establishing a Database Connection)”时,通常是因为WordPress无法成功连接到MySQL数据库。这可能是由于多种原因造成的,下面是一些排查和解决问题的步骤:检查数据库信息确认wp-config.php文件中的数据库信息是否正确,包括…

【日记】夏天,已经结束了呢(1072 字)

正文跟灵分别后,我在椅子上发了很久的呆。可能有五分钟吧。就这样感受着微风吹过身体,听着身边熙熙攘攘的声音。我不知道为什么要发呆。自然而然就这样做了。过了很久,我意识到可能必须要吃饭了,才起身找饭馆。今天情绪不太好。我不知道是不是因为没睡够。不过,并没有从一…

GIS : 定位、坐标系与导航系统

基础知识 地理信息系统/GIS地理信息系统(Geographic Information System或 Geo-Information system,GIS)有时又称为“地学信息系统”。它是一种特定的十分重要的空间信息系统。它是在计算机硬、软件系统支持下,对整个或部分地球表层(包括大气层)空间中的有关地理分布数据…

2024ICPC网络赛第二场题解(部分)

2024ICPC网络赛第二场题解前言 这场相对作用大一点,最后顶着队友的怀疑压力乱搞出了C,但是后面看题解发现似乎是数据弱了跑过去,其实复杂度是队友分析的那样,是不正确的,但是毕竟是打名额的比赛,过了就是过了,这里分享一下C题的乱搞做法,以及其他题的我们队赛时代码。下…

20240814

Sternhalma 我们给格子编个号,然后暴力打表出一个格子可以走到哪些点,然后状压 \(dp\),从全 \(1\) 的情况开始倒推,每次查询将其转化为二进制数列即可 #include <bits/stdc++.h>using namespace std;using pii = pair<int, int>;const int N = 21, M = (1 <<…

学习vue——自定义指令

一、局部自定义指令二、全局注册自定义指令 三、总结

如何让带参数变量的mysql查询走索引?

1,问题的提出 mysql 5.7的数据库,jx_performance表含索引idx_performance。该索引关联两个字段:`date`, `user_id`。 在运行sql语句时发现,如果where条件采用参数变量,则查询不走索引。图1,带参数变量查询图2,采用字符串常数查询上图1和图2,实际上查询条件一样,因为查…

大发明家

(彩蛋:大样例是从数据里扒的,且没有绑点)。 由于组题人电脑坏了,所以只能写简略题解了(其实是组题人的口胡碎碎念),写的不清晰的和部分分可以听讲题(可能有一些地方我下意识省略了,可以来问我). 首先,生成到完美的时间线的概率是固定的,如果我们假设概率为 \[p = \frac{|完…

acme+cloudflare生成免费证书(自动续期)

acme DNSapi acme DNSapi的作用是在申请证书时使用dns交易,acme可以通过dnsapi在对应的dns管理平台提交对应的dns记录。玩过证书的朋友都知道,证书申请时有三种验证方式邮箱验证:需要邮箱与域名绑定(细节要求我没试过) 文件验证:文件验证时证书管理方会要求你在服务器的指…

pip install volcengine-python-sdk[ark]

解决方案: 需要修改注册表的变量 https://github.com/volcengine/volcengine-python-sdk/issues/5

2024年9月23日 人工智能作业

主题为校园科技节之航天主题,运用了亿图图示中天文学的符号素材进行构图,添加了星球,飞船,宇航员,天文望远镜等航天常见元素构成了太空的场景,并添加了“校园科技节”的文本点明主题,以最简约的形式表达了海报的含义

python面试题

python是什么?Python是一种开放原始码、直译式、可携式、面向对象的程序语言,具有模块、多线程、异常处理以及自动内存管理功能。广泛应用包括Web开发(如Django和Flask框架)、数据科学(如Pandas和NumPy库)、机器学习(如TensorFlow和PyTorch框架)、自动化脚本、科学计算…