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

Looking For Something at Site? Search Below

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

 

 


+ 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: 4011

Attachments:

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

Solution:

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();
s.setname(name);
s.setid(sid);
xmlWriter.WriteStartDocument();
xmlWriter.WriteStartElement("Students");
xmlWriter.WriteStartElement("name");
xmlWriter.WriteString(s.getname());
xmlWriter.WriteEndElement();
xmlWriter.WriteStartElement("VUID");
xmlWriter.WriteString(s.getid());
xmlWriter.WriteEndElement();
xmlWriter.WriteStartElement("program");
xmlWriter.WriteString(s.getprogram());
xmlWriter.WriteString(s.getprogram());
xmlWriter.WriteEndElement();
xmlWriter.WriteEndDocument();
xmlWriter.Close();
Console.WriteLine("File Written Successfully!");
Console.ReadKey();
}
}
}

plz sir assignment bnany ka terika bta dain

plzz  upload solution file 

CS411 Assignment No 01 Solution Spring 2019

Attachments:

CS411-Assignment-1-Solution-Spring-2019

Attachments:

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

RSS

Latest Activity

Profile Iconsam faisal, Heena Muneer, daniyal ahmed and 19 more joined Virtual University of Pakistan
38 minutes ago
Mani Siddiqui Ex posted a status
""_عورت بیوی ہو, بہن ہو, دوست ہو یا بیٹی اس میں ماں جیسا خیال رکھنے کی خصوصیات ہوتی ہیں_""
56 minutes ago
Tasha Malik posted a status
"Eng301 GDB 1, complete and accurate idea solution https://youtu.be/NMckVig0OVs"
1 hour ago
+M.Tariq Malik replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
10 hours ago
+!!! ❤️ Shadow Girl❤️!!! replied to Miss. Churhail's discussion $$$$$AB YE SOCHA HY K HAM HAD SE GUZAR JAYEN GY$$$$$$
10 hours ago
maha replied to +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
10 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked Miss. Churhail's discussion $$$$$AB YE SOCHA HY K HAM HAD SE GUZAR JAYEN GY$$$$$$
10 hours ago
maha replied to +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
10 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion FIN630 GDB No 01 Fall 2020 Solution / Discussion Last Date: 27-11-2020 in the group FIN630 Investment Analysis & Portfolio Management
10 hours ago
Aasma kiran commented on +M.Tariq Malik's group ENG301 Business Communication
10 hours ago
Aasma kiran joined +M.Tariq Malik's group
10 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
10 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
10 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS602 Computer Graphics Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group CS602 Computer Graphics
10 hours ago
Rabbani King updated their profile
10 hours ago
Tahir Ali left a comment for sara khan
10 hours ago

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

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

.