Showing posts with label cs201 assignment solution. Show all posts
Showing posts with label cs201 assignment solution. Show all posts

CS201 Assignment no 3 Fall 2016

By: // No comments:

CS201 Assignment no 3 Fall 2016

Here we have CS201 - Introduction to Programming Assignment No. 3 Solution and Discussion Fall 2016 Due Date Jan 16, 2017. You Can Also Download Solved Final Term Papers, Short Notes, Assignment Solutions, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quiz , Solved Final Term Subjective Papers , Solved Final Term Objective Papers from Virtual Study Solutions For Preparation of Final Term Papers.


Also Read: CS201 Latest Solved MCQs For Final Term Papers

CS201 Assignment no 3:

XYZ University needs a system for student’s courses and their semester details. A data entry operator needs to enter student’s data in to the system, and then the system will show the report of student semester information. Following data will be used by the system.
  • Course code
  • Course name
  • Semester
The system will allow entering data for five courses at a time and will input course code along with course name, later the system will format the report in a more readable form.

Also Read: CS201 Solved Final Term Past Papers Collection

CS201 Assignment no 3 Question:

Your task is to:
Write a C++ program to implement the above mentioned interface

  1. Your program should provide the user with options to enter data for courses along with course code. e.g.
  2. Enter course name along with course code: CS201 Introduction to Programming
  3. After taking course information from user your program should prompt user to enter semester information.
e.g. Enter Semester: Fall 2016
  • The program should input data for five courses and semester.
  • Use structure name “course” in your program. 
  • Use separate functions for taking user inputs, displaying and formatting outputs. 
e.g. Input Courses(),Display Header(),Display Courses(),Format Course(---) etc.

Note: Use structure to implement above program, no credit will be awarded if structure is not used.

Also Read: Virtual University (VU) Exams Pattern

CS201 Assignment No. 3 Solution:

If you want to Get the Solution Directly in Your Inbox. Subscribe us below and save your self Trouble of Searching Assignment Solution.


CS201 Assignment Solution solved.rar, 72 KB

CS201 Assignment No 02 Solution Fall 2016

By: // No comments:

CS201 Assignment No 02 Fall 2016

Here You can download CS201 Assignment No 02 Solution - Discussion Due Date: 02 Dec 2016.

CS201 Assignment No. 02

Q: Write a program that takes input of 10 integers into an array.
Give two options to the user:
1= copy odd numbers from the array to a new array (odd[] array) and sort “odd[]” array in ascending order

2= copy even numbers from the array to a new array (even[] array) and sort “even[]” array in ascending order

Q: Write a function that accept (odd[] or even[]) array and sort it
Use bubble sort technique to sort the given array
Display the sorted array.

Hint:: you can use 3 arrays like arry[], odd[], even[].

Sample output:

Taking input for array from user

Ask user for an option

Pass array to function and display sorted array

CS201 Assignment Instructions

Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:

  • Assignment is submitted after due date.
  • Submitted assignment does not open or file is corrupt.
  • Assignment is copied (From internet/students).
Also Read: PM Laptop Scheme for Virtual University Students 2016-17


CS201 Assignment Tools:

Software allowed to develop Assignment

- Dev C++

CS201 Assignment Objectives:

To enable students to write, compile and execute a program in DevC++. Moreover to familiarize students with the concepts of:
  • Array manipulation
  • Array passing to functions
  • Sorting Of Array (Bubble sort)
Also Read: CS 201 all past solved midterm papers 2015


CS201 Assignment Submission Instructions

You have to submit only.cpp file on the Assignments interface of CS201 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.

Also Read: HOW TO MAKE DATESHEET FOR EXAM at VU

CS201 Assignment Deadline:

The deadline to submit your CS201 assignment solution is 2nd December, 2016. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date.

CS201 Assignment No 02 Solution Fall 2016

Here is the Complete and Final Solution of CS201 Assignment No 02 for Virtual Students.

Solution Files Fulfills all the requirements...
• Array manipulation
• Array passing to functions
• Sorting Of Array (Bubble sort)

Download links for CS201 Assignment No 02 Solution

Download the CS201 Solution File from the links below

Feel Free to ask any question OR query

You Can Also Download Solved Mid Term PapersShort NotesAssignment SolutionsLecture Wise Questions Answers FilesSolved MCQsSolved Quiz , Solved Mid Term Subjective Papers , Solved Mid Term Objective Papers From This Discussion For Preparation Mid Term Papers of Fall 2015-16.

CS201 Assignment No 01 Solution / Discussion Fall 2016

By: // No comments:

CS201 Assignment No 01 Solution/Discussion

Here is complete CS201 Assignment No 01 with Solution & Discussion Due Date:17-11-2016. 

CS201 Assignment Deadline:

The deadline to submit your assignment solution is 17th November, 2016. Your Cs201 assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date.

You should also read:

ENG201 Assignment no. 1 Solution Fall 2016
ENG101 Assignment No 1 Solution Fall 2016
STA301 Assignment No.1 Solution 2016
CS101 Assignment No. 01 Fall 2016 - Introduction to Computing
CS304 Assignment no.1 Solution Fall 2016
CS401 Assignment no.1 Solution 2016

CS201 Assignment No 01

ABC University offers admission in three disciplines 1) Computer Science 2) Software Engineering 3) Telecom Engineering. An admission test has already been conducted by the university. The university provides an interface to the interested candidates where they can check their eligibility for the disciplines offered by the university.

Eligibility criteria for the offered programs is:

  • Computer Science (70% marks)
  • Software Engineering (85% marks)
  • Telecom Engineering (80%)
Formula for calculating the eligibility percentage is:

(Admission test marks percentage x 0.20) + (Matric marks percentage x 0.30) + (Intermediate marks percentage x 0.50)

Tags: Cs201, cs201 assignment solution, cs201 Solved assignment, CS201 Assignment 01 Solution, Assignments, assignment solution, VU, Vulms, virtual university Assignments

Your task is to:

Write a c++ program to implement the above mentioned interface for eligibility assessment

Your program should provide the user with options to choose the degree program for admission e.g.

Enter ‘c’ for Computer Science

Enter ‘s’ for Software Engineering

Enter ‘t’ for Telecom Engineering

After taking user’s choice of degree program, the program should ask the user to enter his/her marks percentages of admission test, matric and intermediate results

After that, program should calculate the eligibility percentage according to the provided formula and show the user if he/she is eligible for the selected degree program or not

For the eligible candidates, the program should show the message “Congratulations! You are eligible for the selected program” and for non-eligible candidates the program should show “Sorry! You could not qualify for the selected program”

If the user enters a choice other than ‘c’, ‘s’, or ‘t’, the program should show the following error message: “Invalid input! Enter the correct input option again”

Press any key to continue..

On pressing any key from the keyboard, the program should start again from the beginning

The program should keep showing the same error message until the user enters one of the correct inputs

At the end of the program, the program should ask the user if he/she wants to check eligibility for another degree program. If the user presses y or Y, the program should start again from the beginning, or terminate otherwise.
Sample output:
The sample output is provided in the animated image output.gif



CS201 Assignment No 01 Solution

CS201 (Introduction to Programming) Assignment Solution.
This assignment can be done in different ways but i did it according to the required topics mentioned by the student.
Download Solution of CS201 Assignment No.1 from Link below: 


In some version of Dev C++ compiler, system("cls"); doesn't work. so comment it.
Everyone must need to make changes to avoid by copying issue.
Feel free to ask any question OR query.

CS201 Past VU Solved Assignments - Part 1

By: // No comments:

CS201 Assignment No 2 Due Date 28-06-2016

By: // No comments:

CS201 Assignment

Here we have Cs201 Assignment no 2 as it is continuity of assignment 1. You have to do the same task as you did in assignment 1 but this time you have to use structure variables. 

CS201 Assignment No 2

You have to write C++ program in which;
• You are required to define 2 structures named as Rectangle and Trapezoid.
• Rectangle has 3 data members, width, length and area
• Trapezoid has 4 data members named as height, base1, base2 and area.
• Provide 2 options to the user as below:
 Enter 1 to calculate the area of Rectangle
 Enter 2 to calculate the area of a Trapezoid

• If the user enters 1, then
 Object (variable) of Rectangle structure is created
 The program should ask the user to enter the width and length of the rectangle
 Assign input values to data members of Rectangle Structure
 Then show the result after calculation. Formula for calculating Area of rectangle is
Area = width x Length.

• If the user enters 2, then
 Object (variable) of Trapezoid structure is created
 The program should ask the user to enter the base1, base2, and height of the trapezoid
 Assign input values to data members of Trapezoid structure
 Then shows the result after calculation. Formula for calculating Area of trapezoid is
Area =
• You must implement two different functions for calculating areas of rectangle and trapezoid.
• After taking the choice from the user in form of 1 or 2 and assigning entered values to respective structure data members, the relevant function should be called to calculate area.
• Function for calculating area should return a value that would be stored in data member of structure to store respective area.
• After storing area, it should be displayed on screen.
• After showing the output to the user, you need to ask the user if he/she wants to do another calculation. If the user presses y or Y, then the program should ask the user again to enter the choice of shape otherwise the program should be terminated.

Screenshot of the program execution is given below for both shapes:


Cs201 Assignment no. 2 Solution:

/*
 BY Zohaib Khan "Virtual Study Solutions"
 remove the above type your name and roll no
 This program will calculate the area of rectangle and trapezoid using structure data type
*/
#include <iostream>
using namespace std;

struct Rectangle
 {
  double width;
  double length;
  double area;
 };
 
struct Trapezoid
 {
  double base1;
  double base2;
  double height;
  double area;
 };
 
double rectangleArea( Rectangle rectangle );
double trapezoidArea( Trapezoid trapezoid );
 

 main()
{
 char c;
 
 do{
  int choice;
  cout << "\nEnter 1 to calculate area of rectangle\n";
  cout << "Enter 2 to calculate area of trapezoid\n";
  cout << "\n\nEnter your choice: ";
  cin >> choice;
  
  if(choice == 1)
  { 
   Rectangle rectangle;
   cout << "Enter the width of rectangle: ";
   cin >> rectangle.width;
   cout << "Enter the length of rectangle: ";
   cin >> rectangle.length;
   rectangle.area = rectangleArea( rectangle );
   cout << "The area of rectangle is: " << rectangle.area;
   
  }
  
  else if(choice == 2)
  { 
   Trapezoid trapezoid;
   cout << "Enter the base1 of trapezoid: ";
   cin >> trapezoid.base1;
   cout << "Enter the base2 of trapezoid: ";
   cin >> trapezoid.base2;
   cout << "Enter the height of trapezoid: ";
   cin >> trapezoid.height;
   trapezoid.area = trapezoidArea( trapezoid );
   cout << "\nThe area of trapezoid is: "
    << trapezoid.area;
   
  }
  else{
   cout << "Error! please enter 1 or 2.";
  }
  cout << "\n\nDo you want to do another calculation: ";
  cin >> c;
 } while( c == 'y' || c == 'Y');


   
   return 0;
}

double rectangleArea( Rectangle rectangle)
 {
  return (rectangle.length) * (rectangle.width);
 }

double trapezoidArea(Trapezoid trapezoid )
 {
  return ( trapezoid.height *( (trapezoid.base1 + trapezoid.base2) / 2) );
 }

You should also Read :

We Offer Virtual University Of Pakistan, Assignments, Mid-Term/Final-Term Papers And Quiz, Solved Questions And Much More For Students Of Virtual University.We are here to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

Our main purpose here discussion not just Solution. We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.