CS411 Assignment No 01 Solution Due Date : 09-11-2017

By | November 5, 2017
(Last Updated On: November 5, 2017)

cs411 assignment

CS411 Assignment 1 Complete Solution 2017

 

 

CS411 Assignment No 01 Solution & Discussion Fall 2017

Q1.Problem Statement:                                                                               15 Marks

You 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 class diagram. 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.

 

Note: Final Working is shown in the output.gif attached with this assignment. Check this output.gif file and make your application accordingly.

Q2. Static Keyword.

You must have noticed the Static key word with the main() function in C#.

static void Main(string[] args)

You are required to explain the purpose of this static keyword in your own words. (3 lines Max)

 

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)

You are not required to submit the complete project, only copy these three class files from project folder.

 

You can download the CS411 Visual Programming Assignment 1 Solution file from here

 

Download Assignment