Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

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

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: 1955
Latest Activity: 17 hours ago

Dashboard of CS201 Introduction to Programming

+ Latest Activity in This Group + Newest Discussoins in this group

+ Most Popular Discussions in this Group + Add New Discussion

+ View All Discussions in this Group + View All Featured Discussions

Download Video Lectures No.1 to 45

Tips to Use This Group:

  • Before asking about any assignment/GDB/online quiz solution to others, you should be checked the Discussion Forum topic list to avoid the lean in this group. You can also search the assignment/GDB/online quiz solution by the subject code or name through discussion search bar that is available on the discussion forum.
  • When you have questions for your fellow Friends, Please start a new Discussion. I think this will help get more attention to your questions, quicker. EVERYONE, please feel free to start your own Discussions.

Discussion Forum

GDB last date 12 august

Started by Cutelixious Naina. Last reply by SK(MS-SE) Aug 13. 16 Replies

viva cs201

Started by muhammad wajahat khan Aug 5. 0 Replies

GDB CS201

Started by aazi (PGD CS). Last reply by + M.Tariq Malik Aug 12. 5 Replies

Viva Voce (Oral) Examination in CS201

Started by ❀ ❀ ❀ ALON GIRL ❀ ❀ ❀. Last reply by +HබƝƝබh ღ Aug 10. 38 Replies

CS201 Quiz#3

Started by Aslam Khan. Last reply by Mazhar Mirza Jul 15. 3 Replies

CS201 Assignment No 2 Due Date 28-06-2016

Started by Tahir Sipra MCS. Last reply by Bilal Jun 29. 24 Replies

CS 101 quiz no 2

Started by Hrsa. Last reply by Haider Bhatti May 26. 1 Reply

CS201 past mid term solved paper

Started by Jamshed Aslam. Last reply by + M.Tariq Malik May 24. 1 Reply

CS201 past mid term solved paper

Started by Jamshed Aslam May 21. 0 Replies

compiler error

Started by mishal fatima. Last reply by Prince May 25. 2 Replies

CS-201 Adobe session Assignment!

Started by Taurus. Last reply by Imhum MCS Jul 15. 3 Replies

Assignment#1 Complete Solution

Started by Manzoor. Last reply by + M.Tariq Malik May 16. 9 Replies

cs201-Assignment # 1(Complete Solution)

Started by + Humxa Shoaib. Last reply by + M.Tariq Malik May 16. 7 Replies

Comment Wall

Comment

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

Comment by Hamza Shahzad on July 15, 2016 at 11:45pm
Any student of CS201 is online now?
Comment by Tahir Sipra MCS 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

Comment by Happy 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

Comment by M. Hashir on February 4, 2015 at 8:59pm

thnx MCS girl

Comment by MCS final semester girl on February 4, 2015 at 8:39pm

cs201 my today quiz no 3:

Q1With the use of dynamic allocation of memory, the system resources can be ____

Q2We get 12 | 8 =_________. Where “|” is (bit-wise OR)

Q3Constructor is a special function, called whenever we ____________________

Q4Class can be defined as

Q5The heap memory structure __________.

Q6The malloc function takes ___________ argument(s).

Q7#undef is used for __________.

Q8For accessing data members we use _________ operator

Q9malloc function returns ___________to the __________________ from the available memory.

Q10For console input and output we use ___________.

 

Members (1955)

 
 
 

QUICK ACCESS Links

Latest Activity In Main Forum

Newest Discussions In Main Forum

Most Popular Discussion

-----------------------------------------------

Latest Activity In Study Groups

Study Groups Subject Code Wise

Find Your Subject Study Group

Latest Activity

ßåkhtåwår ( ßSCS 6th) replied to + αтhεя вѕcѕ 7тн's discussion CS606 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group CS606 Compiler Construction
10 minutes ago
ßåkhtåwår ( ßSCS 6th) joined + M.Tariq Malik's group
10 minutes ago
amin jan joined + M.Tariq Malik's group
15 minutes ago
amin jan replied to + αтhεя вѕcѕ 7тн's discussion MTH401 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group MTH401 Differential Equations
15 minutes ago
+HබƝƝබh ღ updated their profile
21 minutes ago
+HබƝƝබh ღ replied to +HබƝƝබh ღ's discussion PHY-301 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group PHY301 Circuit Theory
37 minutes ago
Ideal Height replied to + M.Tariq Malik's discussion MGT201 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group MGT201 Financial Management
44 minutes ago
Ideal Height joined + M.Tariq Malik's group
44 minutes ago
+"Megha butt" replied to + Asim's discussion zalima coca cola pila de
47 minutes ago
SB replied to + αтhεя вѕcѕ 7тн's discussion IT430 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group IT430 E-Commerce
51 minutes ago
SB replied to + αтhεя вѕcѕ 7тн's discussion CS615 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group CS615 Software Project Management
54 minutes ago
SB replied to + αтhεя вѕcѕ 7тн's discussion CS615 ALL Current Final Term Papers Spring 2016 And Past Final Term Papers at One Place from 20 August 2016 to 2 September 2016 in the group CS615 Software Project Management
56 minutes ago

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

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