CS411 Assignment No 1 Fall 2017
![]() |
CS411 Assignment No 1 Solution Fall 2017 |
CS411 Assignment Guidelines:
- The assignment is submitted after due date.
- The submitted assignment does not open or file is corrupt.
- The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.
2 - You are supposed to submit your assignment in zip or rar. Any other formats like scan images,doc pdf , etc will not be accepted.
3 - You are advised to upload your assignment at least two days before due date.
CS411 Assignment Important Note:
Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solutions at least 02 days before the deadline to avoid inconvenience later on.For any query please contact: CS411@vu.edu.pk
CS411 Assignment Objective
The objective of this assignment is to assess understanding of,- Basic C# Concepts
- Object oriented programing in C#
CS411 Assignment Question No 1
Problem Statement: 15 MarksYou are required to create a C# Console application which will Contain 2 classes (Excluding Main Class).
Classes:
1. User
2. Student
Class Diagram for above two classes:
Requirements:
- Student class must inherit from user class.
- Both the classes must have the attributes and Methods with same names and return types as specified in the classdiagram. You can also create additional methods if required.
- These two classes must be added in the project in Separate .CS files not in the main Class file.
- First you will take input from user and store it in an object (Instance) of Student class.
- Next you will ask the user if he want to enter another record or show the record entered earlier.
![]() |
CS411 Assignment output file preview |
CS411 Assignment Question No 2
You must have noticed the Static key word with the main() function in C#.
![]() |
CS411 Assignment Question No 2 |
CS411 Assignment Submission details
Following Files Must be submitted in a single zip or rar file.- A Word file Which contains answer of Question no 1 and your Name and ID
- All .C sharp code files
- A .gif file which shows working of your Application(For Recording .gif software is uploaded on LMS)
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.