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

CS201 Introduction to Programming

Information

CS201 Introduction to Programming

CS201 Introduction to Programming.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Members: 2346
Latest Activity: Sep 23

Discussion Forum

GDB cs201 date12th August, 2020

Started by ♦_"Tooba"_♦. Last reply by +M.Tariq Malik Aug 15. 1 Reply

CS201 Viva Preparation Helping Materials Files

Started by +M.Tariq Malik. Last reply by +M.Tariq Malik May 31. 1 Reply

CS201 - Introduction to Programming Assignment No. 1 Due Date Jun 01, 2020

Started by +¢αяєℓєѕѕ gιяℓ. Last reply by + ! ! ! ! ! ! !pคຖ໓คค ! ! Jun 2. 23 Replies

CS201 Short Lecture Spring 2020

Started by ہاشم. Last reply by Faizan ahmed May 13. 2 Replies

Quiz# No 2

Started by ♦_"Tooba"_♦. Last reply by bcvu786 Feb 25. 3 Replies

CS201 Viva Fall 2019

Started by +M.Tariq Malik. Last reply by Isha Chuhdary Jan 20. 6 Replies

CS201 Assignment No 03 Fall 2019 Solution & Discussion

Started by +M.Tariq Malik. Last reply by +M.Tariq Malik Jan 15. 19 Replies

Quize NO#1

Started by ♦_"Tooba"_♦. Last reply by ♦_"Tooba"_♦ Dec 10, 2019. 11 Replies

CS201 Course Books

Started by Ahmad. Last reply by +M.Tariq Malik Dec 1, 2019. 4 Replies

CS201 Assignment No 2 help

Started by Mujtaba Ali Kiani. Last reply by +M.Tariq Malik Dec 1, 2019. 2 Replies

Comment Wall

Comment

You need to be a member of CS201 Introduction to Programming to add comments!

Comment by Rose on February 8, 2017 at 2:40pm

kis kis ka viva ho geya hy plz ans me or kia kia pocha ap say teacher nay

Comment by Muhammad Talha on January 16, 2017 at 6:20pm
dosto koi assignment 3 k program k correct code send kray please help me.
Comment by Usman Ayub on October 24, 2016 at 11:11am

hahaha

Comment by Usman Ayub on October 24, 2016 at 11:11am

Yes I am

Comment by Hamza Shahzad on July 15, 2016 at 11:45pm
Any student of CS201 is online now?
Comment by MCS 3rd on June 22, 2016 at 2:23pm

Assignment 2 of CS201 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. 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.
Comment by irfan iftikhar on March 4, 2016 at 9:06am

AOA i am newly enrolled for MCS 2016 started session from 18 april 2016.

Comment by shawaiz khan on October 29, 2015 at 10:16pm

m new student of BSSE ..

my first simple c program..

table program..

#include <iostream>
using std::cin;
using std::cout;
int main()
{
int number;
int table;

cout"plz enter the table number: ";
cin>>number;

cout"\n table is";

cout"\n"number"*1=";
table = number*1;
couttable;
cout"\n"number"*2=";
table = number*2;
couttable;

cout"\n"number"*3=";
table = number*3;
couttable;

cout"\n"number"*4=";
table = number*4;
couttable;

cout"\n"number"*5=";
table = number*5;
couttable;

cout"\n"number"*6=";
table = number*6;
couttable;

cout"\n"number"*7=";
table = number*7;
couttable;

cout"\n"number"*8=";
table = number*8;
couttable;

cout"\n"number"*9=";
table = number*9;
couttable;

cout"\n"number"*10=";
table = number*10;
couttable;

cout"\n\n THANK YOU";
}

Comment by shawaiz khan on October 29, 2015 at 10:07pm

bs software engineering  new admitted student from quetta and islamabad??????????

Comment by wajahat on July 12, 2015 at 11:03pm

 

Members (2346)

 
 
 

Looking For Something? Search Here

Latest Activity

+ ! ! ! ❣ Sanam ❣ !+ updated their profile
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
1 hour ago

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

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

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

.