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

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

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 ALL Current Mid Term Papers & Past Final Term Papers at One Place from 03 June 2017 to 14 June 2017

CS201 ALL Current Mid Term Papers & Past Final Term Papers at One Place from 03 June 2017 to 14 June 2017

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2135

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Share Your Current Mid Term Papers (Questions/Pattern) & Past Papers as well here to help each other. Thanks 

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

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

Quizzes and short answer by Moaaz sadiq and Asad ali

Attachments:

This given link is not open how can I get this because links said file not found please informed....

Midterm Paper Pattern For Spring 2017
Total Question = 26
Total Marks = 40

Time = 60 Mints

Objective 
1 Marks Mcqs = 20

Subjective 
2 Marks Short Questions = 2 
3 Marks Short Questions = 2 
5 Marks Short Questions = 2

***CS201***
Aik program likhen jismai aik item ka 15% tax display krwana hai. Program mai pehle user sy input lyn phr uska 15% tax display krwana hai
***CS201*** 
Aik program bnayen jismai user sy input lyn radius ki or switch statement sy 2 case likhen 
1. Enter A or a to find area of circle.
2. Enter C or c to find Circumference of circle 
Formula given thy ....
****CS201****
Aik 2D array bnayen jismai 4 rows hn or 2 cols or phr usko display krwayen(mene rand() use kia) phr usmai 1st row ky elements display krwayen msln agr aik array hai 
23 43. 5. 84. 
 54. 42. 1. 75
To display ho 
23 43 5 84

By amna mughal

todat my cs201 paper

mcqs mostly from moaaz collection (18 marks)

do while loop pe program likhna tha(5 marks)

& | operators ke bre me likhna tha(3 marks)

program me highlight lines ko explain krna tha (5 marks)

aik or program e likhna tha wo yad ni( 5marks)

program ka out put btana tha(3 marks)

Aik program likhen jismai aik item ka 15% tax display krwana hai. Program mai pehle user sy input lyn phr uska 15% tax display krwana hai
*******
Aik program bnayen jismai user sy input lyn radius ki or switch statement sy 2 case likhen
1. Enter A or a to find area of circle.
2. Enter C or c to find Circumference of circle
Formula given thy ....
*********
Aik 2D array bnayen jismai 4 rows hn or 2 cols or phr usko display krwayen(mene rand() use kia) phr usmai 1st row ky elements display krwayen msln agr aik array hai
23 43. 5. 84.
54. 42. 1. 75
To display ho
23 43 5 84

Midterm Paper Pattern For Spring 2017

Total Questions: 23

Total marks: 39

Time: 60 minutes

Objective:

18 MCQs = 1 mark each

Subjective:

3 marks short questions = 2

5 marks long questions = 3

5 marks

Write a program using switch statement that should prompt the user to enter radius of circle.

 

After getting input from user, it should display the following menu to user.

  1. Press ‘A’ or ‘a’ to calculate area

  2. Press ‘C’ or ‘c’ to calculate circumference

     

    When user enters correct choice then corresponding task should be executed.

    If user presses key other than above option then message “Option is not available” should be displayed on output screen.

     

    Formula for:

     

    Area of Circle:  3.14 × radius × radius
    Circumference of Circle:  2 × 3.14 × radiu

Answer:

#include<iostream>

using namespace std;

 

main()

{

float radius, area, circumfrence;

char choice;

 

cout"Please enter the radius of the circle: ";

cin>>radius;

 

cout"Choose what you want to calculate"endl;

cout"1. Press ‘A’ or ‘a’ to calculate area"endl;

cout"2. Press ‘C’ or ‘c’ to calculate circumference"endl;

cout"Enter your choice: ";

cin>>choice;

 

switch(choice)

{

case 'A':

case 'a':

area = 3.14 * radius * radius;

cout"Area of the circle is: "areaendl;

break;

 

case 'C':

case 'c':

circumfrence = 2 * 3.14 * radius;

cout"Circumfrence of the circle is: "circumfrenceendl;

break;

 

default:

cout"Option is not available"endl;

}

 

}

5 marks

Write down the output of following code segment.

 

int num[10] = {2, 3, 5, 8, 9, 10, 12, 15, 19, 20} ;

int *ptr = num ;

 

for (int i=0; i<10; i+=2)

{

cout *(ptr+i) “, ”;

}

RSS

Latest Activity

Farhan Amin replied to Farhan Amin's discussion your vu email address will deleted
51 minutes ago
Farhan Amin replied to Farhan Amin's discussion your vu email address will deleted
51 minutes ago
+ ! ! ! ! ! AaiMa AnsaRi liked + M.Tariq Malik's discussion CS201 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 14-11-2019
1 hour ago
+ ! ! ! ! ! AaiMa AnsaRi replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
1 hour ago
+ ! ! ! ! ! AaiMa AnsaRi joined + M.Tariq Malik's group
1 hour ago
+ ! ! ! ! ! AaiMa AnsaRi liked + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion
1 hour ago
+ Abb@s replied to Farhan Amin's discussion your vu email address will deleted
1 hour ago
+ Danial replied to Farhan Amin's discussion your vu email address will deleted
2 hours ago
Shine--Ex-VUStudent liked + "J ɨ y ą ⋆'s discussion meliiiiiiii dailyyyyyyyyyyyyyyyyy milkkkkkkkkkkkkkkkkk :(
2 hours ago
+ Danial replied to Farhan Amin's discussion your vu email address will deleted
2 hours ago
Shine--Ex-VUStudent liked +"Certified Gangster"++'s discussion New invention of Microsoft
2 hours ago
Moji posted a discussion
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
2 hours ago
Muhammad Usman Shahzad replied to + M.Tariq Malik's discussion CS601 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 14-11-2019 in the group CS601 Data Communication
2 hours ago
Muhammad Usman Shahzad joined + M.Tariq Malik's group
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to sayyad saqib hussain shah's discussion HRM 626 HANDOUTS REQUIRED PLS
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Farhan Amin's discussion your vu email address will deleted
3 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
3 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
3 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
3 hours ago

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

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