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

31927 – Application Development with .NET

时间:2024-09-23 12:23:25浏览次数:8  
标签:Development 31927 Canvas code C# should will NET your

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.

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

相关文章

  • 记一次 .NET某上位机视觉程序 卡死分析
    一:背景1.讲故事前段时间有位朋友找到我,说他的窗体程序在客户这边出现了卡死,让我帮忙看下怎么回事?dump也生成了,既然有dump了那就上windbg分析吧。二:WinDbg分析1.为什么会卡死窗体程序的卡死,入口门槛很低,后续往下分析就不一定了,不管怎么说先用!clrstack看下主线程,输出如下:0:00......
  • 2、.Net 前端框架:ASP.NET MVC - .Net宣传系列文章
    ASP.NETMVC(Model-View-Controller)是微软提供的用于构建动态网站的服务器端Web应用程序框架。它是ASP.NET平台的一部分,遵循MVC设计模式,将应用程序分为三个核心组件:模型(Model)、视图(View)和控制器(Controller),以实现关注点分离和更易于管理的代码。ASP.NETMVC的关键特性包......
  • qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed加
    qDebug()<<"QSslSocket="<<QSslSocket::sslLibraryBuildVersionString();qDebug()<<"OpenSSL支持情况:"<<QSslSocket::supportsSsl();打印需要的版本和当前openssl的支持情况如果显示false,不支持就是说明,不支持加密对应下载版本的openssl进行重新编译即可原因......
  • 给 Solidity 开发者的 Starknet 开发指南
    作者:Tiny熊原文链接:给Solidity开发者的Starknet开发指南Starknet是以太坊的二层ZKRollup扩容方案,与兼容EVM的二层扩容方案上的开发不同,Starknet上开发有自己的模式。这篇文章介绍如何开发Starknet上的合约以及如何部署到Starknet测试网上,同时方便Solidi......
  • Kubernetes最新版本部署完整过程(1.31)
    参考官方文档进行部署:Kubernetes一、环境准备本次实验使用的操作系统为:Centosstream91.1节点规划一台兼容的Linux主机。Kubernetes项目为基于Debian和RedHat的Linux发行版以及一些不提供包管理器的发行版提供通用的指令。每台机器2GB或更多的RAM(......
  • 探索 Kubernetes 服务网格:Istio 实战指南
    ......
  • ANDROID手机如何在TERMUX安装kali nethunter详解
    TRMUX安装地址:https://f-droid.org/en/packages/com.termux如果这个不行可以在GITHUB获取:GitHub-termux/termux-app:Termux-aterminalemulatorapplicationforAndroidOSextendiblebyvarietyofpackages.Releases·termux/termux-app·GitHub安装好后打开就......
  • 学习011-01 Why We Recommend EF Core over XPO for New Development(为什么我们推荐在
    WhyWeRecommendEFCoreoverXPOforNewDevelopment(为什么我们推荐在新开发中使用EFCore而不是XPO)XAFsupportstwoObject-RelationalMappingtools:EntityFrameworkCoreandDevExpressXPO.Asyoumightexpect,weoftenreceivecomparisonrequestsfr......
  • 浅谈在.Net Framework Winforms程序中调用 WinRT API
    浅谈在.NetFramework桌面应用中调用WinRTAPI【作者:张赐荣】在开发Windows程序时,我们经常会遇到需要调用系统功能的场景,比如文件操作、录音、摄像头管理等。在传统的桌面应用开发中,使用.NetFramework封装的Win32API**或者直接调用底层复杂的com接口来完成这些功能,......
  • kubernetes集群公共服务 DNS
    1.我们先按照之前的方式新增加一个虚拟机。一、软件安装#yum-yinstallbind二、软件配置2.1主配置文件修改#vim/etc/named.conf#cat-n/etc/named.conf1//2//named.conf3//4//ProvidedbyRedHatbindpackagetoconfiguretheISCB......