We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment No 1 has been uploaded in Zip format.Due date of Assignment 1 is 8th November.

Advance Computer Architecture (CS411)
Assignment#01 (GRADED)
Total marks = 20 Marks
Deadline Date = 08-Nov-2017

Please carefully read the following instructions before attempting the assignment.
Assignment Guidelines:
It should be clear that your assignment would not get any credit if:
 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.

1) You should consult recommended books to clarify your concepts as handouts are not sufficient.
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.
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
The objective of this assignment is to assess understanding of,

• Basic C# Concepts
• Object oriented programing in C#

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. 5 Marks
You must have noticed the Static key word with the main() function in C#.

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.


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 211

Attachments:

Replies to This Discussion

How to add getter and setter functions in both classes. Have anyone idea about this

share your ideas and solution

Console.WriteLine("Welcome To Student Record Management System" + Environment.NewLine);

Student student = new Student(); //Object created from Student class

Console.WriteLine("Please Enter Student's Name:");
string name = Console.ReadLine();
student.setName(name);

Console.WriteLine("\nPlease Enter Student's ID:");
string ID = Console.ReadLine();
student.setID(ID);

Console.WriteLine("nPlease Enter Student's Age:");
string age = Console.ReadLine();
student.setAge(Convert.ToInt16(age));

Console.WriteLine("\nPlease Enter Student's Semester:");
string Semester = Console.ReadLine();
student.setSemester(Convert.ToInt16(Semester));

repeat;

Console.WriteLine(Environment.NewLine+"Student's Record Successfully Entered!"+Environment.NewLine);

Console.WriteLine();
Console.WriteLine("Press 'S' to show entered record or press 'N' to enter new record or Press 'E' to Exit");
string selection = Console.ReadLine();
selection = selection.ToUpper();

RSS

Looking For Something? Search Here

Latest Activity

abdullah mehar posted discussions
18 minutes ago
abdullah mehar updated their profile
23 minutes ago
Profile Icon+ ! Agha RoShaaan Khan+ gave a gift to иαвєєℓ αнмє∂
26 minutes ago
abdullah mehar joined +M.Tariq Malik's group
2 hours ago
BSCS replied to kiran shahzadi's discussion Vu Books For sale
2 hours ago
abdullah mehar joined +M.Tariq Malik's group
2 hours ago
Amir is now a member of Virtual University of Pakistan
2 hours ago
abdullah mehar and Hajjvery BS IT are now friends
2 hours ago

Today Top Members 

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.