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

www.vustudents.ning.com

 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.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Members: 2294
Latest Activity: on Wednesday

## Discussion Forum

### CS201 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Aug 31.

### CS201 Viva Questions Answers Spring 2019

Started by + M.Tariq Malik. Last reply by 11elqxqr83wiz Aug 2.

### cs201 assignment no 3 solution 2019

Started by + ! ! ! ! ! !blaire. Last reply by Usman Khan Jul 13.

### cs201 assignment no 3 solution 2019

Started by + ! ! ! ! ! !blaire Jul 7.

### Programming Challenge: Goldbach's Conjecture

Started by Usman Khan Jul 5.

Started by kashif ali. Last reply by + M.Tariq Malik Jun 17.

### CS201 Mid Term Papers Spring 2019 (15~28-June 2019) & All Solved Past Papers, Solved MCQs & Helping Material

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Jun 23.

### I need cs201 Mid Term Papers

Started by + !! ＡＴＨＥＲ. Last reply by Junaid Ahmed May 26.

### CS201 Introduction to Programming Assignment No 02 Spring 2019 Solution & Discussion Due Date: 29-05-2019

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik May 29.

### How 2 Dimensional Arrays work. Taking transpose of a Matrix and Inverting rows.

Started by Usman Khan May 21.

### C++ Program error solution.

Started by Usman Khan. Last reply by Usman Khan May 21.

### CS201 Introduction to Programming Assignment No 01 Solution & Discussion Due Date: 13-05-2019

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik May 14.

### Assignment No. 2 Semester: Fall 2018 CS201 – Introduction to Programming

Started by imtiazrana. Last reply by inamulhaq Mar 27.

### CS201 Fall 2018 Mid Term Papers Pattern & Questions 22 December 2018 to 06 January 2019 & Helping Material

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Dec 21, 2018.

### CS201 Assignment No 01 Solution & Discussion Due Date: 05-12-2018

Started by Rahmat. Last reply by + M.Tariq Malik Dec 4, 2018.

### CS201

Started by Honey. Last reply by Honey Dec 24, 2018.

### Learn C++ and C language programming in easiest way

Started by M. Kashif Mughal. Last reply by 0cpxij0rwqz2c Nov 18, 2018.

### CS 201 Books required

Started by Kash G. Bhattti Oct 4, 2018.

### CS201 - Introduction to Programming All New and Past Paper's MCQ's

Started by Saif Sep 6, 2018.

### CS201 Spring 2018 Final Term Papers Pattern & Questions 01 September 2018 to 12 September 2018 & Helping Material

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Sep 1, 2018.

## Comment Wall

Comment

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

ü  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

ü  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

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

Comment by нαρρү cнαη∂α] •._.•´¯) on May 23, 2015 at 7:41pm

yes bro quiz ki book apki apni handouts hi hy , apny lectures suna kry or handouts dekha kry then u will get full marks in your quiz :)

Good luck :)

Comment by Haider Bhatti on May 23, 2015 at 3:01pm

kio mujay quiz ki kio books ha in ya phir har kio tuka lagata ha aur agar kio aur resouce ha ......jis main har subject k quiz ki tayari ho sakati ha tu batayain

## Latest Activity

Wardah Sajawal and moniba hussain joined + M.Tariq Malik's group

### PHY101 Physics

10 minutes ago
Wardah Sajawal and moniba hussain joined + M.Tariq Malik's group

### CS601 Data Communication

11 minutes ago
Wardah Sajawal joined + M.Tariq Malik's group

### CS304 Object Oriented Programming

12 minutes ago
Wardah Sajawal and moniba hussain joined + M.Tariq Malik's group

### CS302 Digital Logic Design

13 minutes ago
13 minutes ago
Wardah Sajawal and moniba hussain joined + M.Tariq Malik's group

### CS301 Data Structures

14 minutes ago
+!!!شب تنہائی!!! + updated their profile
15 minutes ago
24 minutes ago
37 minutes ago
37 minutes ago
40 minutes ago
41 minutes ago
41 minutes ago
44 minutes ago
44 minutes ago
45 minutes ago
45 minutes ago
46 minutes ago
46 minutes ago
47 minutes ago

1

2

3