Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
69 views
14 pages
Bs Cs 3rd Papers
Uploaded by
Rashid Mehmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Bs Cs 3rd Papers For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
69 views
14 pages
Bs Cs 3rd Papers
Uploaded by
Rashid Mehmood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Bs Cs 3rd Papers For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Bs Cs 3rd Papers For Later
You are on page 1
/ 14
Search
Fullscreen
if Object Oriented Programming (SCS 3rd) Government College University, Faisalabad Mid Term Exam Time Allawed; 50) Minutes Max Marks: [8 9 thest cheurly state your [rots asstui tan re hot alloted to ask any question. IF you find paysting arable .{ contaue solving the paper | brietty nv of Structured Progra: jet Progtractii ri ieye paratiqrs yp paradigm. (4m Question rN esplain hivw these limitations are overcomes by Object OF ny tee lav eateentepeoti Take [np from user for arr, Print arr ia of arr inka bre westion 2: Docluie an integerarray af size 10, named cise order. Then create anpther array naned Arr nnd wore the edd andeacd ehern I Brr on ssreen #8 marta Question 3: Connider the following program and pravide its output. Write thin program on yout answer sheet and your output in front of every line that display something. If Users is any errors} in the Program then clearly mentign the reason of error and cofinent ermoncous line(s} of code to ecatinus execution, You are pot required to corrcet those errarts} [Assume address of 1s 004, acldtess of fis 7008, and nidress of fin fo0ed vold maint If Int 419, J20: float f= coute<|; fs td marks) void Funglint” x, floats y, int e){ tunel, functsl, coute xt) y(imt) = getimt ft, at) + sett int) + setytint) + setztunt) + gent) + eciyt ) * petet ) © input ) ("Take input from userfor vs y,and = * display) Good Lack!Coursa Title: Odjact Onented Programm.ng ——— eT ED Time Allowed 89 Minutes we (19 Marks) Question 1: T= int color; = fost weight, height; oS cat(int ctr, Moat wht, float ht); | + void set(int cls, float wht, float ht); + int getColor( ): + Moat getwWeight( ); + float getHeight( + void input( ); + void display( ); input for all data members from wset | iid! If'we look around us we can see there are different kind of ings. You have to ture some of the buildings that at least includes Factories, ), Universitics(Private), Hospitals, Stations, Mosques, Houses and include any others that you want to. In the classification we can jes, and Offices are kind of Commercial Buildings, Hospitals, Stations, and Mosques are Public, and Houses and Apartments ere Domestic. Your task is: + Design your complete class hierarchy for these buildings. Your provided class bier: Jd be properly handling the Generalization end Specialization. For example Bank is a Commercial Building so in class hierarchy bank would be like Commercial | Bank class hierarchy to Banks(Priv «Provide class headers for implementation of these buildings. You are not required to provide definitions of your class member functions. Just provide their prototypes and comment out their purposes Some of the specifications ere given below: * Every Building would have Area(in sq feet), and Location( Address) that should be provided for every building. © Buildings can have many floors. ° Houses can ae © many rooms on a floor, * Factories can have Stores and Units. Units further can have many roo: i ae Y rooms and halls, Similarly you have to analyze other Buildings as well and Provide your classes accordingly, (10 marks) G0 Luck,7 GOVERNMENT COLLEGE UNIVERSITY, FAISALABAD Final Examination Examination’ Fall 2021 8) Semester 3rd ol 202 f Tite, Object Oriented Programming 4(3-1) Course Code: CSI; er ‘Alowed 90 Minutes empling your exin Hf you find any ambiguity then cealy state Fetions: Do not ask any question while a “Surption and solve your question accordingly aver shect for solution of every question. (06 marks) following code. If here is any error then mark the error and write ‘of eose to continue writing your Output ont: ler he following classes and write output of Gin Afr reasoning the enor, ignore that erroneous fine Void eain t start of sain“
FINAL SEMESTER EX. re ; e=MESTER EXAMINATION February 2022 Sa Science) Semester: aaa Time : 150 mi c itle: Da Sehgal Course Title: Data Structures and Algorithm Question #01 (03+04) § : . DS Whatis recursion? Write a recursive algorithm for printing numbers from | ton © Write a recursive algorithm that displays the table of any number passed to a function. Question #02 (02+05) «s What is the difference between comparison and non-comparison sorting algorithms? Write an algorithm for selection sort (03405) are the applications of hashing in computing? 7 using hash function h = (al Question #03 What is hashing? What Draw the hash table for \s, 2}. M4, 21, 10, 12, extent and rehash approach if you find any collision. Question #04 (0305) . (Practical) (10) B and FIFO using examples and enlist she oP a) gsing counting sor. Dra all steps used to sort. Seo 6 || 212 |? z. this aay? Draw Gmany passes are required 10 SoOE E—E Fyey, #1.) pelle Cae yA Ay —_ ay | vt WDE . ft :J Department vr Cumpures oeerern~ GC University, Faisalabad BSCS (3" semester) Mid Term Exam Intro. to statistical theory (STA-321) Course Instructor: Summera Fazal Date: 25" Nov 2021 Total Marks Time Allowed: | hour Attempt all Questions J! g Qt: Classify the following variables as discrete or continuous variable. 2) x . The life time of T.V tubes produced by a company. () ‘The number of students attending a class. (> ‘The amount of milk produced by a cow. Cteviti aves ry = ee ‘Temperature recorded every half hour at a weather bureau. (arin) 0 * Classify each as nominal, ordinal, interval or ratio level measurement. (4) i. Ranking of squash player. 9 >< li, Salaries of five executives in bank, 1Y tii, 1Q of students’ RC dv. Nationality evi. Shoe size X vii. Socioeconomic status. | viii. Ages of students ft Record of number of errors made in a certain time period. ('W Q3: Make a grouped frequency distribution for this data taking a class interval of 10 and first class must be started from minimum value. Also find cumulative frequency and class mark. (4) 109, 82, 74, 62,103, 85, 95, 105, 90, 116, 118, 91, 52, 83, 88, 99, 101, 52, 96, 76, 72, 84, 56, 89, 64, 77, 110, 104, 97, 101, 59, 107, 62, 62, 96, 46 Q4: The weights of 150 students are given below in the form of grouped data. oO) Weights 95-100 100-105 105-110 | 110-115 115-120 120-125 | 125-130 (lbs,) — Frequency | 7 17 37 aa 28 15, ll | Calculate: Mean by use of “Short-cut method”. Lower Quartile Mode iv. Construct histogram. - GOOD LUCK!!!QL: ¢ Q O4 os OF Computer Science + FaisalabadGOVERNMENT COLLEGE UNIVERSITY FAISALA. Roll No. Final Term Exam BSCS (M) 3"¢ Sem. i ‘Code: PHY-323 Course Title: Basic Electronics : Hours: 3(2-1) Course Instructor: Dr. Taqmeem Hussain pS Max. Marks: 20 Time allowed: Max. 120 min ee jote: Write your roll number on the top right of this Question paper. Hand over your solution to your exam invigilator. Maximum of 120 minutes are allowed for all Questions. All questions are COMPULSORY. SUBJECTIVE wing questions. Draw Figures or diagrams to (40 x1 = 10) Q1. Give short and appropriate answers to the follo elaborate your answer if necessary. violet, orange and gold while other resistor has orange, orange, ach with maximum and minimum possible values. i. Aresistor has color bands yellow, orange and silver. Give the resistance of e: ductors and capacitor i> Define conductors, e and current laws uctor if temperature is raised? Define the Kirchhoff's voltag What will happen to the resistance of conductor and semicondl red over germanium? rams ot NOT, AND and OR gates (using diodes or transistors) along with Why silicon is prefer vii.» Draw the circuit diag) their truth tables. tween LEDs and photodiodes? pn junction diode diagram. viii, How can you differentiate bet ics Define a pn junction diode and give its types. Make a biased x. What is impedance? Give its units. Isita scalar quantity oF vector? Explain your answer pl aracteristics of a properly biased common emitter transistor (5) Jaborate characteristics curves. lease. Q2. Define a BJT transistor. Give the ch circuit. Make neat and clean diagrams to el tification? Explain the half wave rectificati need to elaborate. con and full wave rectification. Make proper (5) Q3. What is rect diagrams wherever you a
You might also like
DPT-BSCS Result Sem-1
PDF
No ratings yet
DPT-BSCS Result Sem-1
3 pages
OOP Final Exam
PDF
No ratings yet
OOP Final Exam
13 pages
May 23
PDF
No ratings yet
May 23
2 pages
0576 Introduction To C Exercises With Solutions
PDF
No ratings yet
0576 Introduction To C Exercises With Solutions
6 pages
All Software 2020 HND
PDF
No ratings yet
All Software 2020 HND
74 pages
HS 2nd Year Science 2020 COMPUTER SCIENCE AND APPLICATION
PDF
No ratings yet
HS 2nd Year Science 2020 COMPUTER SCIENCE AND APPLICATION
6 pages
0576 Introduction To C Exercises With Solutions
PDF
No ratings yet
0576 Introduction To C Exercises With Solutions
79 pages
Computer Science: 2024 III 09 0930 Seat No. Time: 3 Hours Subject Code H4 7 0 5
PDF
No ratings yet
Computer Science: 2024 III 09 0930 Seat No. Time: 3 Hours Subject Code H4 7 0 5
15 pages
Learning Objectives For Computer Science 2
PDF
No ratings yet
Learning Objectives For Computer Science 2
4 pages
2023 - Final Solution - Spring - OOP
PDF
No ratings yet
2023 - Final Solution - Spring - OOP
13 pages
OODP1
PDF
No ratings yet
OODP1
5 pages
OOP-Paradigm With C++
PDF
No ratings yet
OOP-Paradigm With C++
5 pages
Assignment 2
PDF
No ratings yet
Assignment 2
3 pages
Computer Science Model Question NEB
PDF
No ratings yet
Computer Science Model Question NEB
6 pages
Latex
PDF
No ratings yet
Latex
40 pages
10 Question Bank
PDF
No ratings yet
10 Question Bank
25 pages
41-Computer Science Exam - 2
PDF
No ratings yet
41-Computer Science Exam - 2
7 pages
17539XII Paper Sept
PDF
No ratings yet
17539XII Paper Sept
5 pages
Sample Paper 7
PDF
No ratings yet
Sample Paper 7
7 pages
BSC IT (Kashmir University) Past Papers (IIIrd Sem)
PDF
No ratings yet
BSC IT (Kashmir University) Past Papers (IIIrd Sem)
19 pages
Oopd (QP) 4
PDF
No ratings yet
Oopd (QP) 4
16 pages
CS Question
PDF
No ratings yet
CS Question
7 pages
Exercises, C
PDF
No ratings yet
Exercises, C
105 pages
Namma Kalvi 11th Computer Science Model Question Papers em 2020 217210
PDF
No ratings yet
Namma Kalvi 11th Computer Science Model Question Papers em 2020 217210
50 pages
School Model Question Paper
PDF
No ratings yet
School Model Question Paper
4 pages
OOP Assignment 3
PDF
No ratings yet
OOP Assignment 3
7 pages
21CSC101T May 2023
PDF
No ratings yet
21CSC101T May 2023
4 pages
Unit 7 Exercises
PDF
No ratings yet
Unit 7 Exercises
12 pages
( MUFADDAL) Sem 1 Question Papers 2022-23
PDF
No ratings yet
( MUFADDAL) Sem 1 Question Papers 2022-23
29 pages
OOP-Final S-24 (CYS)
PDF
No ratings yet
OOP-Final S-24 (CYS)
14 pages
OODP All QP Sem 2
PDF
No ratings yet
OODP All QP Sem 2
10 pages
2018 June
PDF
No ratings yet
2018 June
8 pages
Data Structures
PDF
No ratings yet
Data Structures
244 pages
Data Structures
PDF
No ratings yet
Data Structures
206 pages
Class Notes For CSCI 104: Data Structures and Object-Oriented Design
PDF
No ratings yet
Class Notes For CSCI 104: Data Structures and Object-Oriented Design
206 pages
Prep2 Cs
PDF
No ratings yet
Prep2 Cs
4 pages
Computer Science Class XII 2023
PDF
No ratings yet
Computer Science Class XII 2023
8 pages
EEE2109 FinalExam Spring2020
PDF
No ratings yet
EEE2109 FinalExam Spring2020
5 pages
2019 June
PDF
No ratings yet
2019 June
12 pages
Oop Past Papres Merged New
PDF
No ratings yet
Oop Past Papres Merged New
182 pages
CS103 Computer Programming Mid-II: National University of Computer and Emerging Sciences
PDF
No ratings yet
CS103 Computer Programming Mid-II: National University of Computer and Emerging Sciences
13 pages
Assignmt 3
PDF
No ratings yet
Assignmt 3
15 pages
List of Experiments OOPM
PDF
No ratings yet
List of Experiments OOPM
4 pages
Solving PDEs in C++
PDF
No ratings yet
Solving PDEs in C++
524 pages
CS103 Computer Programming Sessional II: National University of Computer and Emerging Sciences
PDF
No ratings yet
CS103 Computer Programming Sessional II: National University of Computer and Emerging Sciences
11 pages
OOP - Spring23 - Final Paper Soln
PDF
No ratings yet
OOP - Spring23 - Final Paper Soln
6 pages
CSL0203 - OOP-Paradigm With C
PDF
No ratings yet
CSL0203 - OOP-Paradigm With C
5 pages
Mse 2 (4TH Sem) 2
PDF
No ratings yet
Mse 2 (4TH Sem) 2
6 pages
4th Sem Mid 2021f Past Paper 06-May-2024 19-45-35
PDF
No ratings yet
4th Sem Mid 2021f Past Paper 06-May-2024 19-45-35
6 pages
3rd Annual Exam 2024
PDF
No ratings yet
3rd Annual Exam 2024
3 pages
CS ModelPaper 1
PDF
No ratings yet
CS ModelPaper 1
16 pages
K Scheme OOP Unit Test-1 Question Bank
PDF
No ratings yet
K Scheme OOP Unit Test-1 Question Bank
12 pages
Department of Information Technology 20Cs301 - Data Structures Using C++ Question Bank Part A - Module I
PDF
No ratings yet
Department of Information Technology 20Cs301 - Data Structures Using C++ Question Bank Part A - Module I
7 pages
OOPS C++ LAB List of Experiments
PDF
No ratings yet
OOPS C++ LAB List of Experiments
2 pages
Practical File Oops
PDF
No ratings yet
Practical File Oops
41 pages
Programming and Data Structure-Ii Lab Manual
PDF
No ratings yet
Programming and Data Structure-Ii Lab Manual
164 pages
Supplementary Papers - Semester 2
PDF
No ratings yet
Supplementary Papers - Semester 2
7 pages
S5 Comp Mce Q A
PDF
No ratings yet
S5 Comp Mce Q A
17 pages
Lel 19a 8145
PDF
No ratings yet
Lel 19a 8145
1 page
Lel 19a 8145
PDF
No ratings yet
Lel 19a 8145
1 page
Lel 19a 8145
PDF
No ratings yet
Lel 19a 8145
1 page
Scirp Invoice 289007 1753250885824
PDF
No ratings yet
Scirp Invoice 289007 1753250885824
1 page
Syllabus 9th&10th (2025 27)
PDF
No ratings yet
Syllabus 9th&10th (2025 27)
133 pages
Electromagnetism 4 CH
PDF
No ratings yet
Electromagnetism 4 CH
23 pages
Newspaper Pub
PDF
No ratings yet
Newspaper Pub
2 pages
Etc Roll Number Slip
PDF
No ratings yet
Etc Roll Number Slip
2 pages
Indian Journal of Remote Sensing-Published Paper
PDF
No ratings yet
Indian Journal of Remote Sensing-Published Paper
8 pages
Temperature Scale
PDF
No ratings yet
Temperature Scale
4 pages
DAS AppForm
PDF
No ratings yet
DAS AppForm
3 pages
IRJET V5I149 With Cover Page v2
PDF
No ratings yet
IRJET V5I149 With Cover Page v2
8 pages
Power Amplifier & MOSFET
PDF
No ratings yet
Power Amplifier & MOSFET
14 pages
BS HND Scheme of Study 2021
PDF
No ratings yet
BS HND Scheme of Study 2021
33 pages
BS HND Scheme of Study 2022
PDF
No ratings yet
BS HND Scheme of Study 2022
33 pages
Math Books List
PDF
No ratings yet
Math Books List
10 pages