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.

Current Final Term Papers Spring 2012 Date: 16-July-2012 to 27-July-2012

Current Final Term Papers Spring 2012 Papers, July 2012, Solved Final Term Papers, Solved Papers, Solved Past Papers, Solved MCQs

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

.

+ 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

My Today’s  Paper

 

19/09/2012

 

Waqas Sheikh

 

Operator overloading can be performed through__________________.

Classes

► Function

Operators

Reference

 

Which of the following function is used to increase the size of already allocated memory chunk?

malloc

calloc

► realloc

free

 

_______ is used to trace the logic of the program and correct the logical errors.

Compiler

Editor

Linker

► Debugger

 

All preprocessor directives are started with the symbol______.

*

+

@

► #

 

If text is a pointer of class String then what is meant by the following statement?

text = new String [5];

Creates an array of 5 string objects statically

creates an array of 5 string objects dynamically

 

The code is written to __________ the program.

► implement

design

analysis

none of the given options.

 

What does (*this) represents?

The current function of the class

The current pointer of the class

► The current object of the class

A value of the data member

 

new operator is used to allocate memory from the free store during

 

Compile Time

► Run Time

Link Time

None of the given options

 

NULL value has been defined in ______ and _________ header files.

strings.h and iostream.h

ctype.h and conio.c

conio.c and conio.h

► stdlib.h and stddef.h

 

Array is a data structure which store

► Memory addresses

Variables

► Data Type

Data

 

What does STL stand for?

Source template library

► Standard template library (Page 519)

Stream template library

Standard temporary library

 

If overloaded plus operator is implemented as non-member function then which

of the following statement will be true for the statement given below?

obj3 = obj1 + obj2 ;

► obj2 will be passed as an argument to + operator whereas obj2 willdrive the + operator

obj1 will drive the + operator whereas obj2 will be passed as an argument

to + operator

► Both objects (obj1, obj2) will be passed as arguments to the + operator (not sure)

Any of the objects (obj1, obj2) can drive the + operator

 

The programs, in which we allocate static memory, run essentially on ________

Heap

System Cache

None of the given options

► Stack (Page 280)

 

What should be the return type of the constructor?

void pointer

int

same as object type

► constructors do not return any thing

 

In functions that return reference, use __________variables.

Local

Global

► Global or static (Page 369)

None of the given option

 

What will be the output of the following statement?

cout setbase(16) 52 ;

Ø 74

Ø 52

Ø 34

 

 

With user-defined data type variables (Objects), self assignment can produce __________.

Ø Syntax error

Ø Logical error

Ø Link error

Ø Non of the given options

 

 

Or baki which statement is used to get control anywhere

 

I think goto 

 

Baki programs the or sntax the

 

 

Short long totally programme

 

Correct error  and write a programme

 

Aik tha after writing a programme efficiency and or pata nai kiya of a program evaluated  write 3 technologies to do that evaluation  

 

Or men sara ganda kar k ayah un even mcqs b galat  ;-(

Please some students can upload complete paper specially programs its not helping wid incomplete questions? Any help would be appreciative.
Moreover if someone can upload the question about explaining the statements wala complete statement , as its repetitive .

Today paper 19 july 2012

Cs201

Time 11 to 1 pm

 

MCQ  20% from past paper

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?

Q  write general syntax of two way friend relationship between the class(class1, class2).

Give explaination of the code

Martix(int=0,int=0)

Matrix(constMartix&)

~Matrix();

.make a program using getline function(5)

 

Coy constructor aur assignment operator wala questiontha ji k moiz wali file main hai.

 

 

 

mcqs were mostly from past papers

subjective qs were from

template functions

matrices

setbase manipulator

overloaded operators

sequential and random access files

difference between endl and \n

All subjective questions were from matrices

40% objectives from past papers.

Thanks for helping everyone. 

RSS

Latest Activity

zuha shah joined + M.Tariq Malik's group
14 minutes ago
+ ! ❤️ ░S░I░N░G░E░R replied to + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion 100 Instructions from the Quran
17 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion 100 Instructions from the Quran
17 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Jis Tarah ..
18 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Baat Karna ...
18 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Yaha Har Cheez ..
18 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked + !! "AS" !!'s discussion Alfaaz Ki Nisbat..
18 minutes ago
+ ! ❤️ ░S░I░N░G░E░R liked ٥ دن's discussion Gunahon ki gehrai
19 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
28 minutes ago
Qaisar nadeem replied to + M.Tariq Malik's discussion ENG201 Business and Technical English Writing Assignment No 01 Fall 2019 Solution & Discussion in the group ENG201 Business and Technical English Writing
29 minutes ago
Profile IconQaisar nadeem and Isha Chuhdary joined + M.Tariq Malik's group
29 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! posted a discussion
41 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Jis Tarah ..
56 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Baat Karna ...
56 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Ghalti...
57 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Yaha Har Cheez ..
57 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Alfaaz Ki Nisbat..
58 minutes ago
Profile IconSafdar Mehmood, Shayaan, Hafiz muhammad sufyan and 28 more joined Virtual University of Pakistan
59 minutes ago
+ ! ! ! ! ! ! ReBeL replied to ٥ دن's discussion Gunahon ki gehrai
1 hour ago
MUHAMMAD USMAN replied to MIT's discussion cs604 Quize#1 fall semester 2019 in the group CS604 Operating Systems
1 hour ago

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

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