C# application creates a minimal student enrolment system, DOT NET Programming

Assignment Help:

This assignment is about writing a C# application that creates a minimal student enrolment system. The application will display lists of papers and students. The user can enrol students into papers. The main focus of this assignment is on working with classes and objects. Additionally, you will need to use collections for storing and displaying objects. Please check out the attached marking rubric for additional guidance on what is required and on how many marks are available for the various parts of the task. Please use the Stream forum to seek clarification on this task if required.

Functionality required

The application you write for this assignment has to provide the following functionality:

- Papers: A paper has a name and a numeric credit value. All papers are displayed as a list. The credit value of a paper can be changed. The details of a paper (name and credit value) are displayed when the paper is selected.

- Students: A student has a name. A student can be enrolled in up to 5 papers. The details of a student (name, which papers enrolled in, total credit value of these papers) are displayed when the student is selected.

- Enrolling: The user enrols students in papers. A student can only be enrolled once in each paper. 

An Example

The screenshot shows you how this application could look and what kind of data it is supposed to deal with.

 

How to implement this application

You need to create two new classes for this application, one for students and one for papers. The lecture slides on Classes show you how to do this (check out slide 8 and the following slides that give you the code for the Balloon class example). You could implement the creation of objects for students and papers in various ways (e.g., reading the data from a file or asking our user to enter the data via the user interface). To keep things simple I suggest you enter the data for creating the objects directly into your code (see lecture slide 11 on ArrayLists as example of how objects are created: 'new Car (...)'). Use ArrayLists for both students and papers. ArrayLists are very suitable for this as they allow us to store objects, as we can link them to list boxes for display and selection of elements by the user (see again lecture slide 11 on ArrayLists for how to connect an ArrayList and a ListBox). To capture which papers a student is enrolled in, each student object needs to keep references to the relevant paper objects. Because these instructions give you a maximum number of papers per student you can use an array for this (lecture slide 12 on Arrays shows you how to make an array that will contain objects, in the example of type Person; be careful, there are two important differences to this example: first, the paper objects you add to your array will have already been created; second, the code to add the papers will not be located in your Form class but in your Student class). Make your application robust, as you cannot rely on the user behaving as intended by you. If you rely on using selected items from a list make sure such items are selected (see slide 5 on ListBoxes for an example). If you are expecting a number from the user make sure that the user has given you a number.

Other requirements

Please make sure your application fulfils the following requirements: - The use of proper object-oriented design, in particular you need to create classes for papers and students.

- Create a clear user interface layout and a well-structured interaction of the user with the program.

- Your program should not 'crash' (e.g., in response to unsuitable user input).

- You need to follow of C# style guidelines or as used in the program examples in lecture slides and sample programs (e.g., use suitable names for variables).

Suggestion

You can start working on the assignment as soon as you have studied the 'Classes' material. You can initially focus on just the classes Student and Paper and simplify, e.g., by saying that each student is enrolled in only one paper. This allows you to get started before studying ListBoxes, arrays and ArrayLists.

 


Related Discussions:- C# application creates a minimal student enrolment system

Very very boards, Very, Very Boards does a big business in shirts, especial...

Very, Very Boards does a big business in shirts, especially for groups and teams. They need a project that will calculate the price for individual orders, as well as a summary for

I want to develop a windows 8.1 application, I want to develop a Windows 8....

I want to develop a Windows 8.1 Application Project Description: Media Player App Development for Windows 8.1 platform with brilliant UI, flexible controls and easy to use.

Create a xslt and css file, Using the attached XML file (xml_ind.xml) creat...

Using the attached XML file (xml_ind.xml) create a XSLT and CSS file for the following information: select the following information for ONLY the cars that cost more than $50,00

Prepare a script to automate the software muvee reveal, Prepare a script to...

Prepare a script to automate the software "muvee Reveal" Project Description: My name is Mark, I run a company engaged in E-Learning products. We looked for a long time fo

What is a node, What is a node? A network can have of two or more compu...

What is a node? A network can have of two or more computers directly linked by some physical medium such as coaxial cable or optical fiber. Such a physical medium is known as L

Consumer and dealer management, Consumer and Dealer management Project D...

Consumer and Dealer management Project Description: Need to code the existing UI for relative and CRUD automation. Prepare CRUD for almost 7-10 forms with search and repor

C# Microsoft Solver Foundation, I have a code in C# which uses Microsoft So...

I have a code in C# which uses Microsoft Solver Foundation to solve linear programming model. But the problem is the code is too long, there are too many variables and constraints,

Web based inventory management system, Web Based Inventory Management Syste...

Web Based Inventory Management System Project Description: I need a build in software which has the subsequent features, if anybody has ready to use web based application, pl

How to access attributes using "xmlreader", How do we access attributes usi...

How do we access attributes using "XmlReader"? The below snippets represents the way to access attributes. At First in order to check whether there any attributes present in th

Black box testing & white box testing, What is black box testing & White bo...

What is black box testing & White box testing? The Black box testing is also termed as functional testing. It ignores how the internal functionality of a system works & depends

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd