53 Like(s)
|
CS304 Midterm Past Papers
CS304 Current paper 2020 Shared by Student
mostly mcqs from past
2 short from moaz file
1 prgram output likhni thi from moaz file
baki 3 program ki out put likhni thi wo nh pta kha sy ay......3 marks k thy
long me ak program likhna tha........5 marks
1 diagram bnani thi.......5 marks
CS304 Current paper 2019 Shared by Student
1. Operator overload / (3 marks)
2. How to access protected members of a class (3 marks)
3. How to access static members through static function (3 marks)
4. Write a code for derived classes water vehicle, land vehicle and ambitious vehicle from parent class vehicle (5 marks)
5. Draw object model for university course having lectures, quiz, assignments and gdb. (5 marks)
6. This question was also a 5 marks question and I don't remember this one.
CS304 Current paper 2019 Shared by Student
Cs 304 objects orientated programing
Base class
Derived class
Overloaded operater ka code
Prayer ki rakats or timming ka code likhna ta hr nmaz ka object bna k
Ik code ta us ka out put
Or mcqs mostly moaz 2010 k past papers se ay ty..
CS304 Current paper 2019 Shared by Student
Time 12.00pm
23.12.19
Total 23 question
18 mcqs
Kuch 3,4 past paper sy or baki sary handout sy conceptual thy
Topic (construction,destruction, polymorphism,inheritance)
Q= 1 program tha output likhna tha uska 3 marks
Q=2 write 6 name of intangible objects tha ya pta nhi entities 3 marks
Q= 3 polymorphism ko explain krna tha with accurate example 5 marks
Q=4 output likhna tha construction destruction wala program tha 5marks
Q=c++ ka 1 program tha uska b output hi likhna tha 5 marks
Jaisa k mny apni last post py btaya tha k meri tabeat bht ziyada khrb ho gai the.Thank u so muxh un sab ka jinhon ny best wishes di or
itni sari duain di.ab mn 75% thek ho gai hon ....
ab apsy mulakat 26 dec ko hogi inshaAllah last
paper eng 201 ka post kron ge tb .
Allah hafiz
Take care everyone
CS304 Current paper 2019 Shared by Student
mostly mcq waqar or mooaaz file sy thy
5,6 mcqs new thy bass
long question:
1>define tmplate paremeter:2nbr
2>advantage disadvantage teplate:2
3>overriding with exmple:5
2,3 long be past sy thyyyyy
khush coding my sy thyyy
nested catch block ka genral syntxxxx
VU Subjects Available List
Available Subjects ListJoin Chat Room
Join ChatJoin our FB Group For VU help
Join VU Group MCQs DownloadSubjective Download
MCQs Test Online 1
Take a Test 1MCQs Test Online 2
Take a Test 2MCQs Test Online 3
Take a Test 3Some important topic for CS304
Concept of Object and Classes.
INHERITANCE
CONSTRUCTOR , DEFAULT CONSTRUCTOR , COPY CONSTRUCTOR and their code .
STATIC VARIABLES.
OPERATOR OVERLOADING with code (most important topic in mid term).
INHERITANCE IN CLASSES.
POLYMORPHISM
CONST OBJECTS.
Coding .
Mostly they will give code in paper and ask you to find error in code.
CS304 Current paper 2018 Shared by Student
today paper
mcqs old paper sy srif 2 ye 3 thy baki sary new thy
subjective questionn
class thee us ky data type batny thy
getter setter ka code likhna tah
model objective bana tah
+ overloading operator ka code likhna tah according to question information
ek or question tah code ka hi mgr woh yad nai
and old paper sy kuch be nai aya.
CS304 Current paper 2017 Shared by Student
2:30pm
18 Mcq's
Q.1 write Inheritance steps. (3 Marks)
Q.2 ek Prog diya huwa tha us ke shallow and Deep copy construct krni the.(3 Marks)
Q.3 Array of Object k baray may likhna tha.(3 Marks)
Q.4 Ek statement the "Furniture, computer Table, Bed, Dining Table, Chair"
In may say Base class and derived class ko identify krna tha ir ek appripriate diagram banani the.(5 Marks)
Q.5 is may b ek program ka model banana tha(5 Marks)
CS304 Current paper 2017 Shared by Student
Message ki definition thi,
operator overloading ka program,
generalization, specialization ka program,
1 program ka main part likhna tha,
r aik stream ka program tha.
Mcq's books se thy past se nhi thy
CS304 Current paper 2017 Shared by Student
CS304 OOP
Todays mine paper
2 mcqs ae only past papers se :/
2 qstn 3 marks k tny or 3 qstn 5 marks k
5 marks k 2 qstns m programm likhna ta
ek 5 marks k qstn me OOP model bnana tha or isi me base class or derived class k objects ko alg alg kr k b btana tha
Computer table, table, chair, dining table and bed
ek qstn m messages and interface ka kch tha
or ek 3 marks k qstn m code tha uski output btani ti kch functon overload kr k
CS304 Current paper 2017 Shared by Student
My (cs304) Paper Midterm Fall 2017 ( 15 / dec / 2017 )
Total Questions = 23
MCQ’s = 18
Short Questions = 2
Long Questions = 3
Total Marks = 39
(MCQ’s)
70% MCQ’s were from Moaz past midterm papers
They were easy
(Short Questions)
Q.19: Access Specifiers are used for friend functions/classes or not? Give answer with solid reason. (3 marks)
Q.20: What is model? Give two examples. (3 marks)
(Long Questions)
Q.21: Consider a real world example of hospital. Patients are allocated beds in hospitals whereas it is hospital administration who provides beds to patients. Identify objects , Interaction among objects and draw the OO Model. (5 Marks)
Q.22: Consider the code below:
class Student
{
public:
Student();
void setRollNo( int aNo );
};
Write a c++ code for the main function and create array of 10 objects & at the runtime set the roll no’s for students. (5 marks)
Q.23: Write a c++ code of Box class for the following output: (5 marks)
First box after creation Value : 0
Second box after creation Value : 25
After assigning value of Second box into First box
First box Value : 25
Categories: Virtual University
Leave a comment