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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

MCQ's sab new thy koi 4, 5 past papers mein sy thy or subjective paper ki doc file attach kr di hai 

kindly share your current papers to help other students

+ 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: 939

.

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

Attachments:

Replies to This Discussion

Nadia Kousar(MCS) thanks for sharing ur paper ..best of luck for ur result 

Note for All Members: You don’t need to go any other site for current Final Term papers fall 2012, Because All discussed data/sharing of our members in this discussion are going from here to other sites. You can judge this at other sites yourself. So don’t waste your precious time with different links.

My today cs201 final term paper

02-03-2013

(Nadia Kousar )

MCQ’s new thy sab koi 4,5 past paper mein sy thy subjective paper ye tha

Q: 1        In C++ language how would you identify whether a declared variable is a “reference variable “ or an “address variable” ?

Q: 2        How can we initialize an object which is declared as constant data member in another class ?

Q:3         write general syntax of two way friendship between the two classes (class1  and class2) ?

Q:4         Assume if p is a pointer then what will happen if  each of the below statement is executed ?

  • Delete  (p)
  • Delete []p

Q:5         what is the difference between “endl” and “ \n” ?

Q:6         write the output of the program

#include <iostream.h>

Main ( )

{

Char *name [] = {“Ali” , “Ahmad” , “Riaz”};

int x;

int y;

x = sizeof (name);

y = sizeof (*name);

cout x endl y ;

return 0 ;

}

Q:7         write the output of the following code

#include < string.h >

#include < iostream.h >

int main ( )

{

Char str [ ] = “ This is a line “ ;

Char*p ;

P = strchr ( str , ‘s’ ) ;

While ( p! = NULL ) {

Cout “ found at \n “ p – str + 1 ;

P = strchr ( p + , ‘s’ ) ;

return 0 ;

}

Q:8         write a program which defines a user-defined manipulator named Octal. This manipulator should convert and display the decimal number into Octal form. In the main function, you have to take a decimal number as an input from the user and hen by using the user defined manipulator display the number in Octal form.

Q:9         write a program that defines a Template function named Square ( ) which finds the square of a number and then return it. Define one variable of type float in main function and call square function on that.

Output should be as given below

Enter a float value to its square: 12.3                                        

Square of float number is: 151.29

3 question yaad nai aa rhy 

                                                                                    

ohh God itnaa mushkil 

itna mushkil

:'(

CS201 some current Final Term Papers 2013

February 20, 2013
1)Write a simple program, which will get a stream of character and output the stream of characters using cin and cout.
2) Find the error in following syntax,
while(i<=100)
sum+=i*i;
. class String
{
char buf [25];
};
Write code for assignment (=) operator function which assign one String object to other object. Your code should also avoid self assignment.
3).make a program using template function select two floating point number and add them with add() function.(
n February 20, 2013 at 4:00pm
there are some current questions .
Write a program which consists of two classes, Date and Person. Date class should contain three data members day , month , year and setter and getter function for these data members. Date class should also contain showdate() member function to display date. 
Person class should contain three data members Name, Address, and Bday , where Name and Address are char pointer while Bday(Date of birth) is of type Date, Person class should further contain two member functions Display() and setdate(). 
In main program Create an object of Class person and call the member functions with it..
February 20, 2013 at 4:28pm
MY CS201 Current Paper:
20-2-2013
Total 52 Qs
40 mcqs …..only 20% were from past papers:
Subjective Qs were almost 90% from past papers … Some Qs which I remember
1) What happens when we use new and delete operator? (from past papers)
2) Question: Suppose an object of class A is declared as data member of class B.
(i) The constructor of which class will be called first? Answer A
(ii) The destructor of which class will be called first? Answer B(from past papers)
3) Write a program which defines five variables which store the salaries of five employees, using setw and setfill manipulators to display all these salaries in a column. Note: Display all data with in a particular width and the empty space should be filled with character x Output should be displayed as given below: (from past papers)
xxxxxx1000
xxxxxx1500
xxxxx20000
xxxxx30000
xxxxx60000
4)Overflow condition is used in repetition structure at which point it oocurs?
5)Is it possible to overlad operation for primitive data types.justify yor ans
6) Let we have a class,
class String
{
private: char buf[25];
}; Write code for assignment (=) operator function which assign one String object to other object. Your code should also avoid self assignment(from past paper)
7)What happen when an object is assigned to another object without overloading an assignment operator?
8)Write function name sum which accepts an integer as a argument in the function use a static variable to add the value passed to it as argument with each function call is the endl display the sum of value pass an argument:
9) Question No: 40 ( Marks: 10 ) Write a program which consists of two classes, Date and Person. Date class should contain three data members day , month , year and setter and getter function for these data members. Date class should also contain showdate() member function to display date.
Person class should contain three data members Name, Address, and Bday , where Name and Address are char pointer while Bday(Date of birth) is of type Date, Person class should further contain two member functions Display() and setdate().
In main program Create an object of Class person and call the member functions with it..(from Past Papers.

Today Final Term Paper Fall 2012
On 21 Feb 2013
Total Questions: 52
Total Marks: 80
Total MCQs: 40 (Each of 1 Mark)
Total Short Questions: 4 (Each of 2 Mark)
Total Short Questions: 4 (Each of 3 Mark)
Total Long Questions: 4 (Each of 5 Mark)
CS201

Q1: (Marks 5) Write a program that defines a Template function named Add () which adds two numbers returns Sum. Define two variables of int type in the main and then call Add () function on that.
Output should be like this:

Adding numbers (don’t remember here what was written)
Enter first number:
12
Enter second number:
25
Sum=37

Q2: (Marks 5) Find the error in the program and then remove this. (Don’t remember the coding)

Q3: (Marks 5) Given the class Data

main()
{
class Date
{
private:
int day, month, year;
public:
day=01;
month=10;
year=2010
}
……………..Dont remember the lines
……………..
……………..

}

Use the dynamically allocation (don’t remember what)
In the last also free memory allocation.

Q4: (Marks 3) Why goto is not recommended to use in programmes?
Q5: (Marks 2) Write two types of data conversions used for used defined data types.
Q6: (Marks 2) Write the following using logical operators:
1. number is both multiple of 4 and 6
2. number is even but not 8
3. answer is either N or n
4. don’t remember this

Q7: (Marks 3) Write the output of the following if “int 5” is passed to the variable:
Template <class T);
T reciprocal (T x);
{
return (1/x);
}
(it was like something. Don’t remember exactly)

Q8: (Marks 3): How can we determine that dynamically memory allocation has been set successfully or not is C++ using the new operator?
February 21, 2013 at 6:37pm
Total Questions: 52
Total Marks: 80
Total MCQs: 40 (Each of 1 Mark)
Total Short Questions: 4 (Each of 2 Mark)
Total Short Questions: 4 (Each of 3 Mark)
Total Long Questions: 4 (Each of 5 Mark)

Q.make a program using getline function
Q.make a program using template function select two floating point number and add them with add() function.(5)
Q.make a program take salary and pay tax of 5% if salary is less than 10,000 and pay 7% if the salary is greater than 10,000 using switch function.
Q.what are the function of new and delete ?
Q.what are the stream insertion overloaded operators?
Q Write a program which open a file name “this.txt” and then using write() function, writes the string “Introduction to Programming” at the end of the file.
Q What will be the output of the program:
Int x=10;
Int&y=x;
Y+=5;
Coutx;
Q A two dimensional array has 3 rows and 4 columns. Write down the syntax to initialize first element of all three rows of two dimensional array with value 2.
Q How can we initialize an object which is created as constant data member in another class?
Q An array delare int day[]={1,2,3,4,5,6,7}
How many elements have?
If the declaration ofarray is changed to int days[7]={1,2,3,4,5,6,7}
How many elements have?

sir ....Questions ziada difficult hain.......

mara 4 questions is paper ma sa ayai hain. thanx Nadia

welcome Tariq bhai 

welcome  +% Zoh@iB %  best of luck 4 ur result 

RSS

Latest Activity

+ ! ! ! ! ! Rose Marries꧂ replied to + ! zεε's discussion INDO - CHINA Conflict
5 minutes ago
Profile IconZeeshan Afzal and zaini joined +M.Tariq Malik's group
11 minutes ago
Zeeshan Afzal liked +M.Tariq Malik's group MGT211 Introduction To Business
11 minutes ago
+ ! ! ! ! ! Rose Marries꧂ liked + ! zεε's discussion INDO - CHINA Conflict
11 minutes ago
Mani Siddiqui BS VIII posted a status
"Unko khabar nahi hui, nah zamana samjh saka, Hum chupke chupke un par kai bar mar gae."
16 minutes ago
Ayesha posted discussions
25 minutes ago
Ayesha posted a status
"What's on your mind? Latest Happenings, and How Was Your Day?"
27 minutes ago
Ayesha replied to Ayesha's discussion Sach to Hai....
30 minutes ago
Shawaiz Khan zahid replied to +M.Tariq Malik's discussion Finalterm Past Papers Solved By Moazz
51 minutes ago
imran liked imran's discussion ENG101 k quiz koi kara sakta hai plzz
55 minutes ago
imran posted a discussion
57 minutes ago
Shawaiz Khan zahid posted a discussion
58 minutes ago

Today Top Members 

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

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

.