Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS304 Current MIDTerm Papers Fall 2012 Date: 08-December-2012 to 19-December-2012

Views: 3312

Replies to This Discussion

this moazz mcq and subctive


thanks aloooooooooooooooooot

 Paper Assssssssan tha DOstoooooooo..........!

Is Disscussion form k questions tiyar kr lo inhi ma sa aya ha paper...........

Is Disscussion form ki so far complete subjective file downlaod kr lain.......||||




MCQ's mostly conceptual thy but easy thy. jaisa k Insertion or Extraction k sign pochy, or constant or static variable or this pointer en sy related mcq's thy. Khuch past papers sy b aaye thy.


ik code diya how tha c1-c2-c3, or pocha tha k compiler es structure ko samjh k khud esy appropriate form main ly aaye ga? 2 Marks.


ik question tha, can constant object access the none constant member function of each class? 2 Marks


Assignment overloading operator k program likhna tha. 3 Marks



Object Oriented model bnana tha, or simple, composition, aggregation relationship b show krwany thy .  A university have 45 lectures of subjects and their 6 Assignment, 1 Quiz, MDB, GDB. 5 Marks



Pre-Decrement or Post-Decrement k overloading program likhny thy. 5 Marks

waisy overall paper esy tha mcq's b .

Best Of luck.



Read more: CS304 Paper, 12/12/2012 - Virtual University of Pakistan


        Fall 2012_CS304_Midterm


Which part of an object exhibits its state?

  • Data
  • Operations
  • Any public part
  • Any private part


What problem(s) may occur when we copy objects without using deep copy constructor?

  • Dangling pointer
  • Memory Leakage
  • All of the given  
  • System crash


Which operator can not be overloaded?

  • >=
  • =
  • [ ]
  • ? :

A C++ class is similar to --------------------

  • Structure
  • Header File
  • Library File
  • None of the given


Which one of the following features of OOP is used to derive a class from another?

  • Encapsulation
  • Polymorphism
  • Data hiding
  • Inheritance


_______ is a relationship

  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulation

Which operator can not be overloaded?

  • >
  • =
  • >
  •  :


A class can be identified from a statement by -------------

  • Noun
  • Pronoun
  • Verb
  • Adverb


Which property of an object distinguishes it from other objects?

  • Identity
  • Behavior
  • Messages


Can constant object access the none-constant member function of each class? (2)








                       My Today paper cs304


1:-What is the relationship between the given class?

Write c++ code for that classes? (marks 5)


2:-.  power wala program likhna tha  (5 mark)

3:-how would you describe binary operator? And overload any operator using any class? (3 marks)

4:-codding d we te kisse program k r kaha gaya ta k is me kya error ha? (3 marks)

 some Mcqs were from past papers.



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

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