.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....  

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

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: 2025
Latest Activity: 5 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

Assalam-o-Alaikum

Started by M Bilal Safdar 8 hours ago. 0 Replies

Assalam-o-Alaikum

Started by M Bilal Safdar 8 hours ago. 0 Replies

_________________Learn C++ In Urdu _________________

Started by cнαη∂α(✿◠‿◠)(◉‿◉✿). Last reply by Muhammad Rehan Khan on Saturday. 13 Replies

CS201 ... DevC++ Installation and Usage Guidelines

Started by OK. Last reply by Ñeütrøn (آمنہ) on Saturday. 1 Reply

CS201 Most Important Questions as per viva takers survey 2017

Started by THE JOKER. Last reply by M.Yousaf Feb 13. 2 Replies

Cs201 New & Updated Notes: Check Out By Farah Siddiqui

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Feb 5. 1 Reply

CS201 VIVA

Started by THE JOKER Feb 1. 0 Replies

CS201 Solved MCQs Mega Files For Final Term Exam Preparation

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Jan 28. 1 Reply

GDB No. 01 End Date: 26-01-2017

Started by Khushdil Kamal. Last reply by Aly Wadood Jan 26. 10 Replies

Assignment no 3

Started by sara abdullah. Last reply by + M.Tariq Malik Jan 18. 46 Replies

Lets Learn CS201 - Basic Programming

Started by Double Diamond. Last reply by Muhammad Basarat Ali Jan 1. 20 Replies

CS201 Quize no 1

Started by +•°¯`•• βĮЎÃ (ÃβẸẸŘÃ) ••´¯°•+. Last reply by nosheen arshad Dec 14, 2016. 14 Replies

CS201

Started by Kiran Chaudhry. Last reply by Khalid rehman (MCS) Dec 3, 2016. 4 Replies

Comment Wall

Comment

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

Comment by Halima Sadia on April 11, 2017 at 4:03pm

Aoa. KOI MCS first semester Spring 2017 ka student hay to please send me massage in inbox.

Comment by Muhammad Rehan Khan on April 7, 2017 at 5:00pm

Aoa. KOI BSSE first semester 2017 ka student hay to please send me massage in inbox.

Comment by Syed Muhammad Faraz on February 12, 2017 at 2:00pm

Skype is not working tommorrw is viva  its a server problrm

Comment by Samad on February 8, 2017 at 2:57pm

Mera hogia hai abhi hua hai

Comment by alizykhan 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 Tahir Sipra MCS 2nd 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.
 

Members (2025)

 
 
 

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Study

Other Universities/Colleges/Schools Help

+ More Categorizes

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

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