CS304 Current Midterm 2022 Papers
CS304 Current Midterm 2022 Papers
For solved current papers, past papers, handouts and more materials visit
VUAnswer.pk
CS304
17 MCQs thy
3 question (3 marks)
Q1) Code correct karna tha
Q2) Reason tha
3 question (5 marks)
Q1) Code diya hua tha ussy correct karna tha
Q2) Again code diya hua tha correct likhna tha
Q3) Country,city ,Pakistan, karachi, USA, China, New York , inki inheritance mai
diagram banai thi
Cs304
2 Question 3 marks
Write krna thi
DBA ki duties.
Q marks 5
consaptual sechma ko brifly duscribe krna tha
last question bhol gia
Midterm Cs304
Mcqs 18 From Handouts and past papers (A few)
Subjective:
Totally new paper, not from past papers
Info was given, differentiation was asked b/w classes in terms of base and derived
class. (3 marks)
Write a program X and Y were given. Asked to apply friend function (3 marks)
Program was given and error were supposed to be found (5 marks)
Program was given, there was an error of self-assignment, Asked to find it and
explain the solution for it. (5 marks)
Q: You are required to carefully analyze the following piece of C++ code and
identify the statement(s) having an error. Also, provide the reason(s) of the
error(s).
#include<iostream>
using namespace std;
Design the class hierarchy for the organization’s employees such that the salaries
of regular employees can be calculated accordingly
Paper Cs304.
7,8 objectives from past ND remaining from handouts
Objectives
CS304 ka paper
Total 23 ques. aaye thay jin main 2 Q 5 marks k thay 2 Q 3 marks k baqi MCQs
thay. MCQs lecture 1 to 15 se thay.
2 marks wale Q1 main code tha C++ us main errors find krne thay aur program ka
complete correct code likhna tha.
Q2 main File name ki class create krni thi aur us k 3 functions Print, View and
Get_size declare krne thay. No implementation code required.
5 marks
Q1 main class banani thi jis main 2 constructors create krne thay 1st non
perameterized 2nd 1 perameterized aur assignment operator declare krna tha then
implementation function bhi create krna tha jis main class k constructors call krne
thay.
5 marks ke 2nd Q main aik scenario dia tha Hajj app ka. Us main objects find krni
thin aur kisi 3 objects ka Object Oriented Model banana tha.
Cs 304
School ke andar students and un ke pass copy pencil books Hain wo ground me
khelty Hain
CS 304
Note:
For any subjects solved current papers and past papers files contact us.