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

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 2119

.

+ 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?)

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

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

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