首页 > 其他分享 >31927 – Application Development with .NET

31927 – Application Development with .NET

时间:2024-09-20 19:46:26浏览次数:1  
标签:Development 31927 code C# class should NET your

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 代 写31927 – Application Development with .NETto .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.

•    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.

 

 

标签:Development,31927,code,C#,class,should,NET,your
From: https://www.cnblogs.com/WX-codinghelp/p/18423174

相关文章

  • Admin.Net根据域名自动选择数据库
    namespaceAdmin.NET.Core;///<summary>///SqlSugar实体仓储///</summary>///<typeparamname="T"></typeparam>publicclassSqlSugarRepository<T>:SimpleClient<T>whereT:class,new(){protectedITenan......
  • C#的历史 - .Net宣传系列文章
          这次记录C#的历史情况。 1、C#版本1.0;C#1.0是微软在.NET平台推出的第一个版本的C#语言,它与.NETFramework1.0一同发布于2002年2月13日。这个版本的C#语言设计目标是成为一种“简单、现代、通用的面向对象的语言”,并且与Java有很多相......
  • 在 ASP.NET Core Web API 中使用异常筛选器捕获和统一处理异常
    前言在ASP.NETCoreWebAPI中,异常筛选器(ExceptionFilter)是一种用于处理发生在WebAPI控制器或管道中的异常的机制。异常筛选器可以捕获和处理应用程序中发生的异常,当系统中出现未经处理的异常的时候,异常筛选器就会执行,我们可以在异常筛选器中对异常进行处理,例如记录日志......
  • kubernetes中如何抓包?
    目录描述1.在pod容器内抓包2.在节点主机上抓包3.使用nsenter命令抓包4.使用ksniff插件抓包描述随着容器化技术的普及,越来越多的应用部署在容器中,有时在正式环境中我们可能需要对容器进行抓包,以了解其网络通信情况及其排除通信异常的原因。此处,由于程序是在运行在Kubernetes的Po......
  • asp.net webapi 控制器中获取appsettings.json 中的数组对象
    appsettings.json文件内容: {"Logging":{"LogLevel":{"Default":"Information","Microsoft.AspNetCore":"Warning"}},"MyConfigKey":"MyConfigValue"......
  • Kubernetes-高可用集群证书更新
    本次k8s版本为v1.23.17Kubernetes集群中的证书主要分为两大类:Kubernetes组件证书(如:apiserver相关的证书)Etcd集群证书根据集群角色,证书还可以细分为:管理节点证书工作节点证书证书详情管理节点证书:Kubeadm部署:证书会由Kubeadm自动生成,覆盖Kubernetes组件(如:a......
  • D23 kubernetes 工作负载资源对象-DaemonSet{简介}
    1、DaemonSet简介DaemonSet资源用于在集群中的每个节点上运行一个pod副本,具有以下特点-在每个节点上运行一个pod-当向集群中加入一个新节点或者从集群中移除一个节点时,DaemonSet会自动在新节点上启动一个pod或在移除的节点上删除pod-可以使用节点选择器或亲和性来定义pod......
  • modbus设备数据 转 profinet IO项目案例
    目录1 案例说明 12 VFBOX网关工作原理 13 准备工作 24 设置网关采集MODBUS从站数据 25 用PROFINETIO协议转发数据 86 案例总结 101 案例说明设置网关采集Modbus设备数据把采集的数据转成profinetIO协议转发给其他系统。2 VFBOX网关工作原理VFBOX网关是协议转换网关......
  • xtop:multi_driven_net与incomplete_timing_cell fail reason 分析
    我正在「拾陆楼」和朋友们讨论有趣的话题,你⼀起来吧?拾陆楼知识星球入口xtop做时序收敛时报告failreason&#x......
  • Kubernetes-POD生成 java dump文件
    目录背景配置钩子函数验证背景在今天的线上业务中,某服务频繁重启。经过排查日志和事件信息,确认是由于OOM(OutofMemory)导致服务重启。为了方便研发团队定位OOM的具体原因,我们决定在OOM发生时自动生成内存快照(heapdump),供后续分析使用。关于OOM的详细介绍,可以参考这篇博......