We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

CS411 Visual Programming_ Assignment No. 01,Solution & Discussion, Due Date: 27 May 2015

Solution of Assignment No. 01
Semester: Spring 2015
Visual Programming-CS411

 

Total Marks: 20

 

Due Date: 27/May/2015

Instructions:                          

Please read the following instructions carefully before submitting assignment:

  • You will submit your assignment before or on due date on VU-LMS.
  • Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
  • You should submit your .doc File via assignment interface at VU-LMS.
  • Assignment sent via Email will not be replied and accepted in any case.
  • If the submitted assignment does not open or file is corrupt, it will not be marked.
  • You will submit solution only in ppt slides.

Objectives:

To build the programming practices in C# environment.

For any query about the assignment, contact at cs411@vu.edu.pk

Assignment Questions

How to solve the assignment:

Make error free required program in C# with console application and check the output of your program. Copy the source code from C# editor and paste it in a power point slides. Then take a screen shot of your output window and paste it in another slide as shown in SampleAssignment here:

http://vulms.vu.edu.pk/Courses/CS411/Downloads/Solution-Template.ppt

 

After making the required slides you have to record your voice explaining the required program with your code and output. Save the file as explained in the following tutorials. Down load the following tutorial that explains how to record your voice in ppt slides.

 

http://vulms.vu.edu.pk/Courses/CS411/Downloads/Audio%20Narration%20...

OR

http://vulms.vu.edu.pk/Courses/CS411/Downloads/Audio%20Narration%20...

 

Important:

Upload .ppt (power point) file only. Do not upload any zipped file with multiple files. Zipped files or source code files will be marked zero.

Question:                                                                                                                                                              Marks 20     

 

Write a c# program to declares a struct with three members: a property, a method, and a private field. It creates an instance of the struct and puts it to use. The output of this program should be the last two digits of your student ID.

 

 

BEST OF LUCK

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 5295

.

+ 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?)

Attachments:

Replies to This Discussion

i have core i5 but it have been installing for an hour... afer instalation what will i do do i write code on this i know about php,.net,and c++ but don't knw about C#

to display last two digit

int a = 123456778 int 
b = a % 100
Console.WriteLine("b: ",b);

Output :
b = 78

78 is not displayed why

using system;
using system,collection.Generic;
using system.Ling;
using system.Text;
using system.Treading.Tasks;
namespace cs411_VisualPrograming
{
0 reference
class program
{
2 reference
Struct myStruct
{
private int showid;

1 reference

Public int id
{
get { return showid;}
set {showid "value; }

1 reference
}
public void DisplayID()
{
Console.WriteLine("My ID,s Last Two Digits are: {0}", showid);
}
0 reference

static void Main(string[]args)
{
myStruct st=new myStruct();
st.id=56
st.DisplayID();
Console.ReadLine();
}
}
}

you have to write your full VU id , but system will show only last two digit only.

review your code again. 

ho b gi 

yeh code kis mai likna hy bhai ....guide me i will be thnx...

koi bta skta hai k yeh error kesay khatam hoga?

ap ny = nai likha... isy asy likhy..

set { showid=value;}

value ko "" m ni likhna...

ty now i have 0 errors 

Plz koi batay ga kesy solv hogi C++ mn hogi . agr koi aor software hy tu link post kr do plzz

RSS

Today Top Members 

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

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