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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS411 Assignment No 01 Spring 2020 Solution & Discussion

+ How to Follow the New Added Discussions at Your Mail Address?

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1000

.

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

Replies to This Discussion

CS411 Visual Programming Assignment No. 1 Solution

CS411 Visual Programming Assignment No. 1 Solution
You are required to create a C# application Console using Visual Studio with the following functional requirements: Create 4 classes: 1. Bowler 2.Spinner 3.Medium 4.Fast Each class will have a function named “speed” which will output speed as specified by class name.

You will program this as follows
• You will take as an input the last two digit of your VUID. For example your ID is BC123456789 so you take here “89” as input and program will decide which range it belongs to i.e. Fast, Medium, Spinner
• For this you create bowler type object and later on initialize it with spinner, medium and fast bowler as per below provided ranges.
▪ Spinner pace bowler has range of 00 to 33
▪ Medium pace bowler has range of 34 to 66
▪ Fast pace bowler has range of 67 to 100
• If bowler pace is not in the specified range then the object type must be bowler. Further, if any user tries to enter alphabetical value, it should through Exception and let the user to enter a new numeric value.

#CS411
#CS411VisualProgramming
#CS411Assignment
#CS411Solution
#VisualProgramming
#CSharp
#ConsoleApplication
#VU
#VirtualUniversityofPakistan
#AssignmentSolution
#VUAssignment
#VisualStudio

CS411 Assignment 1 solution spring 2020 

perfect easy in few Minutes 

CS411 assignment 1 Solution 2020 | Spring 2020 | Visual Programming c#

CS411 Solution assignment 1 Complete Correct Solved Spring 2020 | Visual Programming c#. SOLUTION Assignment No. 1 (CS411 – Visual Programming ) Spring 2020 cs411 assignment 1 solution 2020,cs411 assignment solution 2020,cs411 assignment 1 solution Spring 2020,cs411 assignment no 1 solution 2020,cs411 assignment no 1 solution Spring 2020,cs411 1st assignment solution,cs411 1st assignment solution 2020,cs411 1st assignment solution Spring 2020, visual programming assignment 1 solution • CS411 Assignment 1 Complete Solution Spring 2020,CS411 Assignment 1 Complete Solution,CS411 Assignment 1,CS411,CS411 assignment 1 solution,CS411 assignment spring 2020,CS411 assignment solution spring 2020,CS411 assignment, assignment 1 CS411 solution, solution CS411 assignment 1,

CS411 Assignment 1 IDEA SOL SPRING 2020



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mc180200940
{
class Bowler
{
public virtual void speed();
Console.WriteLien("unknow bowler");
Console.Readkey();
}
}
class Spinner : Bowler
public override void speed()
{
Console.WriteLien("spinner pace bolwer");
Console.Readkey();
}
class Mediam : Bowler
public override void speed()
{
Console.WriteLien("Mediam pace bolwer");
Console.Readkey();
class Fast : Bowler
public override void speed()
{
Console.WriteLien("Fast pace bolwer");
Console.Readkey();

class program
static void Main(string[] args)
{
Bowler bowler1;
Console.Write("Enter last two digit your id");
String id = Console.ReadLine();
int Idd;
if(int.Tryparse(id, out idd))
{
if(Idd > 00 && idd <= 33)
{
bowler1 =new Spinner();
bowler1.speed();
}
else if (Idd > 33 && idd <= 66)
{
{
bowler1 =new Mediam();
bowler1.speed();
{
else if (Idd > 66 && idd <= 100)
{
{
bowler1 =new Fast();
bowler1.speed();
{
else
{
bowler1 = new bowler();
bowler1.speed();
}
}
else
}
Console.WriteLine("you have enter invalid value");
Console.ReadKey();
}
}
}
}
}
}

CS411_Assignment_No_01_Solution_Spring_2020

Download the file, Click on the below link

CS411_Assignment_No_01_Solution_Spring_2020

CS411 Assignment 1 IDEA SOL SPRING 2020

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mc180200940
{
class Bowler
{
public virtual void speed();
Console.WriteLien("unknow bowler");
Console.Readkey();
}
}
class Spinner : Bowler
public override void speed()
{
Console.WriteLien("spinner pace bolwer");
Console.Readkey();
}
class Mediam : Bowler
public override void speed()
{
Console.WriteLien("Mediam pace bolwer");
Console.Readkey();
class Fast : Bowler
public override void speed()
{
Console.WriteLien("Fast pace bolwer");
Console.Readkey();

class program
static void Main(string[] args)
{
Bowler bowler1;
Console.Write("Enter last two digit your id");
String id = Console.ReadLine();
int Idd;
if(int.Tryparse(id, out idd))
{
if(Idd > 00 && idd <= 33)
{
bowler1 =new Spinner();
bowler1.speed();
}
else if (Idd > 33 && idd <= 66)
{
{
bowler1 =new Mediam();
bowler1.speed();
{
else if (Idd > 66 && idd <= 100)
{
{
bowler1 =new Fast();
bowler1.speed();
{
else
{
bowler1 = new bowler();
bowler1.speed();
}
}
else
}
Console.WriteLine("you have enter invalid value");
Console.ReadKey();
}
}
}
}
}
}

CS411 Visual Programming Assignment 1 Solution & Discussion Spring 2020


CS411 Solution Idea:

 

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;




namespace mc180200940

{

class Bowler

{

public virtual void speed();

Console.WriteLien("unknow bowler");

Console.Readkey();

}

}

class Spinner : Bowler

public override void speed()

{

Console.WriteLien("spinner pace bolwer");

Console.Readkey();

}

class Mediam : Bowler

public override void speed()

{

Console.WriteLien("Mediam pace bolwer");

Console.Readkey();

class Fast : Bowler

public override void speed()

{

Console.WriteLien("Fast pace bolwer");

Console.Readkey();




class program

static void Main(string[] args)

{

Bowler bowler1;

Console.Write("Enter last two digit your id");

String id = Console.ReadLine();

int Idd;

if(int.Tryparse(id, out idd))

{

if(Idd > 00 && idd <= 33)

{

bowler1 =new Spinner();

bowler1.speed();

}

else if (Idd > 33 && idd <= 66)

{

{

bowler1 =new Mediam();

bowler1.speed();

{

else if (Idd > 66 && idd <= 100)

{

{

bowler1 =new Fast();

bowler1.speed();

{

else

{

bowler1 = new bowler();

bowler1.speed();

}

}

else

}

Console.WriteLine("you have enter invalid value");

Console.ReadKey();

}

}

}

}

}

}
  • 
    
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    namespace bc160
    {
    class Bowler
    {
    public virtual void speed()
    {
    Console.WriteLine("Only enter last two digit your id");
    }
    }
    class Spinner : Bowler
    {
    public override void speed()
    {
    Console.WriteLine("spinner pace bolwer");
    }
    }
    class Mediam : Bowler
    {
    public override void speed()
    {
    Console.WriteLine("Mediam pace bolwer");
    }
    }
    class Fast : Bowler
    {
    public override void speed()
    {
    Console.WriteLine("Fast pace bolwer");
    }
    }
    class Program
    {
    static void Main(string[] args)
    {
    Bowler b1 = new Bowler();
    enter:
    Console.WriteLine("Enter last two digit your id");
    String num = Console.ReadLine();
    try
    {
    int vuid = Int32.Parse(num);
    if (vuid >= 00 && vuid <= 33)
    {
    b1 = new Spinner();
    b1.speed();
    }
    else if (vuid > 33 && vuid <= 66)
    {
    b1 = new Mediam();
    b1.speed();
    }
    else if (vuid > 66 && vuid <= 100)
    {
    b1 = new Fast();
    b1.speed();
    }
    else
    {
    b1.speed();
    }
    }
    catch (FormatException)
    {
    Console.WriteLine("Enter an integer number only", num);
    goto enter;
    }
    Console.ReadKey();
    }
    }
    }
    
    

RSS

Today Top Members 

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

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

.