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

CS411 visual programming Assignment No.1 solution& discussion Due date: 16 may 2019

                          Visual Programing (CS411)

Assignment#01_Spring2019 (GRADED)

  Total marks = 20

                                                                                       Deadline Date = 16th May 2019

Please carefully read the following instructions before attempting the assignment.

  • First of all listen to the video lectures.
  • After that consult recommended books to clarify your concepts as handouts are not sufficient.
  • You are advised to upload your assignment at least one days before Due date.
  • 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.


You are required to create a C# Console application using Visual Studio.

Problem Statement:

  1. You are required to create 2 Classes named as Person and Student.
  2. Student class will be inherited form person class.
  3. Person class has a string attribute “name”
  4. Student class has two string type attribute “VUID” and “Degree Program Name”
  5. These two classes have default constructor and setter getter methods.
  6. Now create an new object in main method and get input from user to set all 3 attributes which reflect your own name and student ID
  7. Serialize the object and store it in xml file name BCxxxxxxx.xml


Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file.

Submission details

Following Files Must be submitted in a single zip or rar file.

·         .C# code file

·         A .gif file which shows working of your Application(For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well)

You are not required to submit the complete project, only copy these files from project folder. Make sure to write your own VU ID in the assignment file(s) otherwise assignment will not be accepted.

If you do not submit any of the above mentioned file you will be awarded 0 Marks.

For any query please contact: CS411@vu.edu.pk



Views: 4055


Replies to This Discussion

ma ny  code liga ha xml file be ban gai ha  lekain ye ju command prompt pa ju name,id aor degree enter karni hoti ye ni  hori  ye kaisy open hu  ki. ahsi file ni open hu rahi  ye kaisy  open hu gi


using System;
using System.Text;
using System.Xml;
namespace Asignment1
public class Person
private string name;
public void setname(String sname)
this.name = sname;
public string getname()
return this.name;
public class Student : Person
private String VUID;
private string program;
public void setid(string sID)
this.VUID = sID;
public void setprogram(string sprog)
this.program = sprog;
public string getid()
return this.VUID;
public string getprogram()
return this.program;
class Program
static void Main(string[] args)
XmlWriter xmlWriter = XmlWriter.Create("students.xml");
Student s = new Student();
Console.Write("Enter Your Name:");
string name = Console.ReadLine();
Console.Write("Enter Your Student ID:");
string sid = Console.ReadLine();
Console.Write("Enter Your Degree Program:");
string prog = Console.ReadLine();
Console.WriteLine("File Written Successfully!");

plz sir assignment bnany ka terika bta dain

plzz  upload solution file 

CS411 Assignment No 01 Solution Spring 2019




aoa bhai .gft file bana dain na kindly 

brother yeh sara code kahan paste kerna hhai
student ki class main k person ki
i have no idea

ye total code hy bro. just paste in program.cs window.. but there is some issue that it is not writing degree program

Sir! is me program print nhi ho rha


Looking For Something? Search Below

Latest Activity

+!!★彡 "Mannat"彡★✓ liked Ammara Sabir's video
3 hours ago
silent eyes posted a status
"Education is not a name of any degree or certificate but education is a name of our attitude language , behavior with others in real life."
3 hours ago
+!!★彡 "Mannat"彡★✓ liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +!!'s discussion !!!!!!! TRUE FRNDS NEVER CHANGE
4 hours ago
+!!★彡 "Mannat"彡★✓ liked +⚔️ FURQAN ⚔️'s discussion just for sanam
4 hours ago
+!!★彡 "Mannat"彡★✓ liked + рэяғэст ѕмөкэя ZɘɭƖSʜ's discussion GALI KYA H?? URDU ADAB SE SHAGHAF RAKHNY WALY ZROOR PARHAIN++++
4 hours ago
+ рэяғэст ѕмөкэя ZɘɭƖSʜ liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +!!'s discussion !!!!!!! TRUE FRNDS NEVER CHANGE
4 hours ago
mahumm ch updated their profile
4 hours ago
Profile IconWaqas Asif, Muhammad Tahir, Zubair Akbar and 9 more joined Virtual University of Pakistan
4 hours ago

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

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