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)
7K views
161 pages
Object Oriented Programming C++ Solved Manual
SOLVED MANUAL FOR SUBJECT OOP FOR MSBT COMPUTER DIPLOMA SUBJECT (CODE-22316)
Uploaded by
satyam thigale
AI-enhanced title
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 OBJECT ORIENTED PROGRAMMING C++ SOLVED MANUAL For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
7K views
161 pages
Object Oriented Programming C++ Solved Manual
SOLVED MANUAL FOR SUBJECT OOP FOR MSBT COMPUTER DIPLOMA SUBJECT (CODE-22316)
Uploaded by
satyam thigale
AI-enhanced title
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 OBJECT ORIENTED PROGRAMMING C++ SOLVED MANUAL For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save OBJECT ORIENTED PROGRAMMING C++ SOLVED MANUAL For Later
You are on page 1
/ 161
Search
Fullscreen
» MAHARASHTRA STATE PONSA a Lael TTS le) (Autonomous) (ISO. 900) : 2015) (ISO / EC Radbeeteat Programming Using © 41 (22316) a practical No. 1: Develop min arithmetic expression, of 1s using const iting data type com um 2 progr: jors, ext Practical 4 1. The declaration of constants and variables facilitates the evaluation of arithmetic expressions in real life problems. 2, The data type conversion helps in real life problems to get the accurate results of evaluation of arithmetic expressions. Relevant Program Outcomes (POs) 1. Basic knowledge: Apply knowledge of basic mathematics, sciences and basic engineering to solve the broad-based Computer engineering problem. 2. Discipline knowledge: Apply Computer engineering discipline - specific knowledge to solve core computer engineering related problems. 3. Experiments and practice: Plan to perform experiments and practices to use the results to solve broad-based Computer engineering problems. 4. Engineering tools: Apply relevant Computer technologies and tools with an understanding of the limitations. $s. Communication: Communicate effectively in oral and written form. MIT Competency and Practical skills This practical is expected to develop the following skills in you : Develop C++ programs to solve broad-based problems 1. Define and declare constants and variables. 2. Use data type conversion. 3. Compile the program. 4, Debug and execute the program. IV Relevant Course Outcome(s) Develop C++ programs to solve problems using Procedure Oriented Approach.. V Practical Outeome (POs) Write’ Compile/ debug / Execute simple C++ program using constants, variables, arithmetic expressions and data type conversion. VI Relevant Affective domain related Outeome(s) 1. Select proper programming environment in C+. 2. Follow ethical practices. Vil Minimum Theoretical Background G++ Basic Input/Output: . C++ VO operation is using the stream concept. Stream is the sequence of bytes or flow of data, It makes the performance fast. If bytes flow from main memory to device like Soe display screen, or a nctwork connection, ete, this is called as output operation. If flow from device like printer, display screen, or a network connection, etc to main memory, this is called as input operation, Maharashira state Board of Technical Education Ttig Oo 319 x Progeannm Function and Description a ti Js used to define the cout, cin and cerr objects, i which correspond to standacd output stream, standard input stream and ‘standard error stream, respectively. iomanij Feused to declare services useful for a panies formatted I/O, such as setprecision and setw. .
iis used lo declare services for user-controlled file processing. ‘Standard output stream (cout) The cout is a predefined object of ostream class. It is connected with the standard output device, which is usually a display screen, The cout is used in conjunction with stream insertion operator (<<) to display the ‘output on a console. Standard input stream (cin) The cin is a predefined object of istream class. Itis connected with the standard input device, which is usually a keyboard. The cin is used in conjunction with stream extraction operator (>>) to read the input from a console. ‘Standard end line (endl) ‘The endl is a predefined object of ostream class. saris tis used to insert a new line characters and flushes the stream. Constants: A variable which does not change its value is known as a constant variable. Any at result in an error message. A constant in const qualifier can be used to dicopes ented Programming Using C+ (2ayj6y Preprocessor definitions (Hiefine): Another mechanism to name constant values is the use of preprocessor definitions, They have the following form: Syntax: #define identifier replacement Example: define PL3.14159 ‘Hdefine NEWLINE \n! Basic Data Types: C++ supports a large number of data types. The built in or basic data types supported by C++ are integer, floating point and character. C++ also provides the data type bool for variables that can hold only the values True and false. Some commonly used data types are summarized in table along with description. _Type Description [Size in bytes Trt Small integer number z Tong int Large integer number 4 float Small real number 4 double Double precision real number 8 Tong double | “Cong double precision real number 8 char A Single Character i Variable: Variable is a location in the computer memory which can store data and is ‘given a symbolic name for easy reference. The variables can be used to hold different ‘values at different times during the execution of a program.Object Oriemed Programming Using C++ (22516) VHT Resources required Sh | Nein if Specification Quantity Remarks No_| Resource a 1. | Hardware Computer (3-15 preferable), RAM Computer minimum 2 GB and Seni DD 40GB and ie ee As per batch Forall de size Experiments 2 | Operating Windows LINUX system 3_| Software Turbo CH Version 30 or any other IX Precautions 1, Handle computer system and peripherals with care. 2. Follow safety practices. X Resources used S.No] Name of Resource Specifieati 1 | Computer System: is - 8 RAM, 512GB with broad specifications ane ae ma 2 | Software Wee Cee 3) | Auo.otber rescureeuseld] Mi St acenite= Books J XI Result (Output of the Program) }jest Oriented Programming Using C++ (22316) nom es at b+ a= br Output baal mi } 3. Regarding following statement which of the statements is true? const int a = 100; a) Declares a variable a with 100 as its initial value b) Declares a construction a with 100 as its initial value c) Declares @ constant a whose value will be 100 d) Constructs an integer type variable with a as identifier and 100 as value 4, Which of the following statement is not true about preprocessor directives? a) These are lines read and processed by the preprocessor b) They do not produce any code by themselves ¢) These must be written on their own line d)They end with a semicolon XI Exercise Attempt QI or Q2 and Q.3 a or b from the followin; (Note: Use Point VITT to X and XIII to XV for all rele blank pages provided or attach more pages ifneeded.) 1. Write a C++ program to evaluate the following expressions: _=b+vb*=4ac = =b— Jb" =4ac a Finclude
ne PL 3424159Oizo Orioiued sregieaaguing oG0 ee ee ee The output will be Gaciostream-h> ¢conio.h> 177.5. Because res = Cink) £1 7 Cint) £2 conve, a) fined: Winclude void main() ‘ elracr (i Same will happer the next Seer Bi : at last there ts ho dato bype Conversion Hence, Ehe wesult wil float £1-15.5,, £2927 res = (int)fi/ (int) £27 cout
2 2 “Hinclude
1} =. d- dal ine main() tei Hf pe b ni a Hlsote Gs bycu, tt, A2 Ge zesstal | | cout <<“Enter the value of a,b, &8c"; Cingea 7b sae Y 615 + (dtp) SS 2 2S! =isgrt Ub yb): St 4s aaale)) q/* 23 duOS Cout <<“\nThe value of discriminant is, = cout << 85 ib OG * Giada ot = UGE He Alara aa 03 ib =b =) / (249) ; 4 e j 5a dtp).Ans, Hinclude
2) Weite a C++ program to demonstrate the use of operator precedance: using mamespace Std; int main () pt dvG@ % J t int @ = 203
shylocritt inti ce= (5 5 ion dai intucee-- 5S: ; } ink e ;- 12, ©NIk 9 dD Speke qs a oye d .p 40.-qiiey) 43° vsind “>> JLoS EH F eaten b) Paes (2
> 5 cout <<"\nValue of (Catb #c)/d) is u{oss)\ Gr d=))nj ret Prramning Ui C+ 2211) ed = Practical No. 2: Program to implement decision making statements (IEElse, Switch) Practical Significan The decision making statements like if-else and switch-case helps to decide the order of execution of statements based on certain conditions or repeat a group of statements until certain specified conditions are met. Relevant Program Outcomes (POs) + Basic knowledge: Apply knowledge of basic mathematics, sciences and basic engineering to solve the broad-based Computer engineering problem. : * Discipline knowledge: Apply Computer engineering discipline - specific knowledge to solve core computer engineering related problems. + Experiments and practice: Plan to perform experiments and practices to-use the results to solve broad-based Computer engineering problems. 7 * Engineering tools: Apply relevant Computer technologies and tools with an understanding of the limitations, * Communication: Communicate effectively in oral and written form Competency and Practical skills This practical is expected to develop the following skills in you: Develop C++ programs to solve broad-based problems 1. Define decision making statements applicable to the particular problem. 2. Compile the program. 3. Debug and execute the program. oy Relevant Course Outcome(s) ’ Develop C++ programs using decision making statements. = ae _ Practical Outcome :) “utd, ‘ih ‘ Chive) Sapa ep eate innete ior naeObject Oriented Programming Using. C++ 22316) neral it can be used to execul re the keyword in CH. ¢ one block of statemen, if-else Statement :- In gen among two blocks, ifand else a Syntax if(condition) statements, statements Switch Statement: A switch statement work with byte, short, char and int primitive data type, it also works with enumerated types and string, ‘Syntax switch(expression/variable) { case value: //any number of case statements es break; //optional as:Oriented Programming Using C+ (22316) 1x Precautions 4, Handle computer system and peripherals with care 2, Follow safety practices. x Resourees used ‘Name of Resource Specification 7] Computer System TSS RAM, Si GB with broad specifications age Shpy SBR T_| Software Oacrs [ ‘Any other resource used Gekieencee Seeks . : ca Ticats xi Result (Output of the Program) 5 “using decision “contre|” statement: XII Practical Related Questions : z =v bab. | Note: Below given are few sample questions for reference. Teacher must design = more such questions so as to ensure the achievement of identified CO. (Note: Use Point VII to X and XIII to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) a a 1. Observe the following block of code and determine what happens when x=2? f switch (x) ( case 1: 7 s:gout<< "x is 3, so jumpil ) -dBranch;CHE 22310) Object Oriented Programming USiNe.ppjcc Oriented Programming Using C + (22316) stones ill Exercise: Attempt QI or Q2 or Q3 and Q.4.a,b or a, € from the following: (Note: Use Point VIII to X and XIH1 to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) 1. Writea C+ program check leap year, 2. Writea C++ program armstrong numbers between two integers. 3. Write a C++ program to check whether a number is palindrome or not. 4. Complete the given table: Write & justify ] long factorial (leng a) c - if lar nD return (a *\fsctorial (a + 1))7 else Program Code Outprs pgs cludeseiceursemas There will be void main{) an err For| lube sei Steg" break if (a < 15) Statement. f time: Because it cout << ee is used Try ee loops and tn Pex. Switch case! statements, pe Speen pesesteugObject Oriented Programming Using C+ (22316) Gout << “You have got grade Br" << endl; You have got grade B" << endl; "you have got grade 0" << endli cout << "You have got grade DY << endl; break; (Space for Answers) will be executed, The input ol) be divided by lo and hence, the given Will be executedPage No. 2 Class CO- A Roll No. Date: /_/202 lid | Practical No. 2 QI] Write a Crt Program to check leap year. Ars| include
using mamespace Std ; int main i Int yr5 cout <<" Entem ene year & 7}; cin >> yr; if (lyr /- 4 == 0) && (yA 100 P= 0) cout <<"\nIk is aq leap year") else if (yv %/e 40d == 0) cout <<”\nIt isa leap year ”; else fs cout &<"\nIt is not a leap year”, tii i ties “at o> suo | retaiyny 0; - ; fom i £4 i 0 ‘0s.cout<<"Enter first number ”; cin poe nl} cout SENCER IEG Second Taras bey Cine? Nay cout <<"\nArmstrong numbers 2"; } | Foliar = n2 0; 1+3) ¥ tal |Object Oriented Programming Using C+ (22316) I u Practical No. 3: Program to Implement Control Structure (For, While, Do-While) Practical Significan: ; ta tedly until a particular condition is Loops are used to execute a set of statements repeal satisfied, Relevant Program Outcomes (POs) eee 5 * Basic knowledge: Apply knowledge of basic mathematics, sciences and basic ‘engineering to solve the broad-based Computer engineering problem. F Discipline knowledge: Apply Computer engiricering discipline ~ specific Knowledge to solve core computer engineering related problems. Experiments and practice: Plan to perform experiments and practices to use the results to solve broad-based Computer engineering problems. Engineering tools: Apply relevant Computer technologies and tools with an understanding of the limitations. * Communication: Communicate effectively in oral and written form. Competency and Practical skills This practical is expected to develop the following skills in you : Develop C+ programs to solve broad-based problems 1. Use appropriate looping construet(for, while, do-while) in the given problem. 2. Compile the program. 3. Debug and execute the program, Relevant Course Outcome(s) Develop C++ programs to solve problems using Procedure Oriented Approach. Practical Outcome (POs) a a ‘Write/ Compile/ debug / Execute simple C++ program using for loop, while loop and do-while loop .ges cone! Puig Using € +4: (22316) J codes } How for loop works? ization statement is executed only once at the beginning. Then, the test expression is evaluated, © Ifthe test expression is false, for loop is terminated. © Butif the test expression is true, codes inside body of for loop is executed and upglate expression is updated. ; ‘© Again, the test expression is evaluated and this process repeats until the test expression is false. while Loop: The syntax of a while loop is: while (testExpression) Icodes where, test Beit Sn, is checked on each entry ofthe while loop. How while loop works? aes Ea ee ee roe cad the body of while loop Hac "Then, the test expression is evaluated again, ‘This process goes on until | expression is false. ‘When the test expression is false, while loop is terminated.cH a2) Object Oriented Programming Using VII Resources required ase aia Remarks S| Nameot Specifien | Se — r_| Resource et ata — | | Hardware: Computer (i3-i5 Computer preferable), RAM System minimum 2 GB and onwards, HDD 40GBand | 4. ,erhatch reall above size Experiments | ‘Operating | Windows /LINUX system 3] Software Turbo C+¥ Version 3.0 or any [ other IX Precautions — 1. Handle computer system and peripherals with care 2. Follow safety practices. X Resources used S.No] Name of Resource Specification 1 | Computer System iS-th gen, 8GB RAM, 51GB with broad specifications | 5p 2_| Software Dev C++ 309) Asyetiecresoucoused | SOF pepe nies eR OORee XI Result (Output of the Program) XI Practical Related Questions Note: Below given are few sample questions for reference. Teacher must design ‘more such questions $0 as to ensure the achievement of identified CO. (Note: Use Point VIII to X and XIII to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) 1 Observe the following block of code and determine what happens when Winclude
void main () { int a,d,n, sum, term=-0; coutc<*Enter the first term, common difference," Maharashtra state Board of Technical Education 8x Oriented ProurAMIMng Using C++ (22316) <
>a>>n; sume0; int i=2; cout<<"\nThe terms are *; do ( term= a+ (1-1) *a; sump=term: couté
Using Namespace std , ss int main) Pesan al 1 £ 8 5 aT ae oe cee ay) Eb Shah core eee ianle of 7 is" \aBeri20i > sbulomt Hee 1<=10 5 le vhio sbogesmea paieu Onion taiPage No. Class Roll No. Date:__/_/202 ag Weite a Ctt program which will print ‘Chalf. pyramid) pattern of Natural Numbers. | | Y 2 sidot | De lonidt 2a A priek Wainm Dai slele}- p = a : 25. Complete the piven table: Program Code Write & justify, Output ‘@) finclude
int main() ‘ int a, d, ny cout << "Enter a, d, n of AP: "; Gin >> a >> d >>'n; cout << stdirendl << "Terms of AP: a = Koo" de" ccdcc™ ne tccn #include
include
ant main() ‘ ati std::stack< char > s? = " se ie // Pushing elements into stack for (char c= ‘at; ©
int main() int n, i; Maharashtra state Board of Technical Education aefloat num(ioa), suins0.0, average; Gout << “Enter the numbers of data: "7 Gin >> ny while th > 100.)
> n; ) for(i = 0; i
> num{i}; sum $= num{i}: average = sum / ny cout << "Average = " << averages ~) ¥eturn 0; i is £ 1 2. Which of the following correctly declares an array? a)intarray[10]; —b) int array; ©) array {10}; ¢) array array[10]; 3. Can we change the size of an array at run time? 4. Whatis the default value of Array? “ S$. Can we declare array size as a negativenumber? 6. Whatis the meaning of anonymous array? Explain with an example? 7. Is there any difference between int{] a and int a[]? 8 How to copy an array into another array? 72 > G22 sin ee ‘we change the size of an array at run time’ : ‘ “ninjas ain vont a ‘ saaObject Oriented Programming Using C++ (22316) size ce an. 3) Tt ig not possible to “change _Ebe tnemo ut We can alice te 2 ; aioe) usin malloc C) oT me aieeute! the. array _by User's array at yuntime at runtime , by functions, They wi!) input. : value of an array 4) The afoul! 8) We can “Copy array With the Kelp of Notations They will be used for indexing. OR like Ae pie XI Exercise £ Attempt any 2 programs from 1-4 and Q.5 attempt any 2 from the following: (Note: Use Point VIII to X and XI to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) 1. Write a C+ program to find median of two sorted arrays of same size. 2. Write a C+ program to find the two repeating elements in a given array. 3, Find the smallest and second smallest elements in an array. 4 Write a C+ program to find the Missing Number. 5. Complete the given table:PageNo. 4 Class CO-A Roll No Date: /_ 1202 Practical No. 4 J de a| Write a Ctt program to find the wo repeating elements in a given array. Ans, #include
“Using Namespace std; I Lint main0 jai if : Vf > iteeint obloimie:) 5 00119. Ame | ot. .Coulty <
tip cin >> ali]; we see tide << ais i “cout < "\n Given. AoNay alismniga/ >> dueo i for 1 Gl04 14s; nei ¢ Os DvoF ist eo << GMT s> LidessUgnes Ze ‘AnRepeating elements : "3. Fer pcnOn tet), > CO Gis 1005SPage No. [Class Roll No. Date: __/_/202 49) Waite a Cr+ | program to find the missing number. Ans. Hinclude
_Using Mamespace std , f u om Lint maint) 1 aa para int on, i, Sumi, sum2 = 0, dain Spa cout <<” Enter the size of an array "; | Cierny) Bel | ADIL SARS int alloc); coutce” mee nae”Object Oriented Programming Using © 4+ (22316) Write & justify Program Code Oatpat a) finelude
int arrayl(] = (1200, 200, 2300, 1230, 1543}; int array2{] = (12, 14, 16, 18, 20); int temp, result =" 0; void main() ‘ fer (temp = 0; temp < 9; tempt+) ‘ ) for (temp = 0; temp < 4; temp++) f | result += array2{temp); ) cout << result; result += arrayl(templ; ) ) dinclude
void main () ‘ int array(] = (0, 2, 4) 6, 7, 59 31% int n, result = 0; for (n = 0; n < 8; nét) { result += array(n]; } cout << result; 4 ©) Hinclude
{ void main() char str[5] = "ABC"; | : cout << stri3ly ; cout << saryObject Oriented Programming Using C 4+ (22916) as The out XIV References / Suggestions for further Reading, rays! 1 hutps:/Avww.w3schools.in/eplusplus-tutorial/ai 2. hups://www.geeksforgeeks.org/c-programs-gq/array-programs-Eq/ 3. hitps://www.sanfoundry.com/e-programming-examples-arrays/ 4. _hups:/svww.programtopia.net/cplusplus/docs/arrays XV Assessment Scheme Performance indicators Process related(35 Marks) 10% Togie formation 20% ‘Appropriate one dimensional array declaration 20% Debugging ability Follow ethical practices. 1 Product related (15 Marks) 5_| Expected Output ‘Timely Submission of report es feo fa aACE LC ——7~_”-- éh ~—h—efFsSsmh Objest Oriented Programming Using € ++ 22316) VI Practical No. 5: Program to Perform Matrix Operation Using Multi-Dimension Array. Practical Significance: The Two Dimensional Array helps to represent the real life data in tabular format with different operations on it. Relevant Program Outcomes (POs) ‘ © Basic knowledge: Apply knowledge of basic mathematics, sciences and basic engincering to solve the broad-based Computer cnginecring problem. © Discipline knowledge: Apply Computer engineering discipline - specific knowledge to solve core computer engineering related problems. o Experiments and practice: Plan to perform experiments and practices to use the results to solve broad-based Computer engineering problems. 4 o Engineering tools: Apply relevant Computer technologies and tools with an ‘of the limitations. wunication: Communicate effectively in o Oo ul and written form. Competency and Practical skills This practical is expected to develop the following skills in you : Develop C++ programs to solve broad-based problems | Define real life problem and solve it using multidimensional array if applicable. 2. Compile the program. 3. Debug and execute the program, Relevant Course Outeome(s) Develop C++ programs to solve problems using Procedure Oriented Approach. Practical Outcome (POs) } a)Write? Compilef debug / Execute simple C++ program using multidimensional array. Relevant Affective domain related Outcome(s) 1. Select proper programming environment in C++. 2. Follow safety measures 3. Follow ethical practices. Minimum Theoretical Background Multi-dimensional array A multi-dimensional array is an array of arrays. 2-dimensional arrays are the most commonly used. They are used to store data in a tabular manner. : type arr[row_size][column_size]; * 2D array initialization: An array can cither be initialized during or after declaration. The format of initializing an array during declaration is as follows: * Syntax :type arr[row_size]{column_size]= { {elements}, {elements} .. * Example: int ar[3][5] = {{5, 12, 17, 9, 3}, (13, 4, 8 14, 1}, (9, 6, 3, 7, 20} Maharashtra state Board of Technical Education 2VILL Resources required Bh eee of Specification Quantity Remarks 1 | Hardware: Computer (i3-i5, Computer preferable), RAM System minimum 2 GB and ae HDD 40GB and ‘As per batch ee size Windows /LINUX For all Experiments Operating, Turbo C++ Version 1.0.or other IX Precautions 1, Handle computer system and peripherals with 2. Follow safety practices. x Resources used 'S. No] Name of Resource Specification | T | Computer System 15-l]th gen, 8GB RAM, S12 GB with broad specifications | Sst 2 | Software Dev C++ 3 “Any other resource used Reference Backs XI Result (Output of the Program) XU Practical Related Questions Note: Below given are few sample questions for reference. Teacher must design more such questions so as to ensure the achievement of identified CO. (Note: Use Point VEIT to X and X11 to X¥V for all relevant programming exercise use blank pages provided or attach more pages ifneeded.) L. What is the error in this C++ code? finclude
vaid maint) int acy(2] (3): ary(If) = (41, 2, 3), 14, 5. Shr cout<
vold malnd) ' int a[2}(3] = (1, 2) 3.6 4) Ste int i= 0, j= OF for (1 = Or dee 2p ite) for tj = 0; $< 3p 4eey cout<
void main ime a[2)(3] = (ly 2 3, 4) She int i= 0, $= OF for (4 = 0s 2 < 2; Ltt) for (j = G7 3 < 37 $+) coutsea (i) (317 ' (Space for answers) be generated because Lhere beside 3. If we resolved Wy An error will MAS , (23450 Maharashtra state Board of Technical Education 32Practical No. 5 Q.. Write a C++ progyam to Multiply Two 343 [Matrix Using Multi-dimentional Arvays. | Ans. #iniclude
/using Mamespace Std; | lime maint) 4 int produck Liol[io], el=3, cl=3, 7223, c2=3 | Int [,j, ks I int alslfs] =1{2.4,0F, (2p3,9},43,0,8) 3; int bUs[s) = {{1.2-33.13,6,15 12-4, 7443 | if (cl l= ¥2) 1 cout <<" Cannot be Multiplied "5 3 e \se { cout << "\nThe first matrix is | for(i=O ; fer) jy tri) for(j=9o 1 beer; ++j) cout << ali][ij] <<” “; cout «ec “\n"; ! a cout << “\n"; cout << The second matrix fs \n” 3 ! for(i=O, i
class Empty (17 void main() t cout << sizeof (Empty); ' a)A non-zero value b}U c)Compile time error d) Ruatime error 3. State Truc or False: Data items in C++ class are by default public. (Space for answers) “Ts Maharashira state Board of Technical Education #Object Griented Programming Using C +* (22316) XIE Exercise Attempt Q1 or Q2 and Q3 by from the following: (Note: Use Point VIII to X and XII to XV for all relevant programming exercise use blank pages provided or attach more pages if weeded.) C+ program to declare a class “Book™ having data members: ‘name, author and price. Accept and display data for book having maximum 2. Write a CH program to declare a class “staf having data members name, basic salary, DA, HRA and calculate gioss salary. Accept and display data far one staff. a, Where DA=74,5% of basic i, HRA= 30% of basic, ii, Gross_salary-basic HIRAIDA 4. Complete the pivea table: Program Code Write & justify Output a) #includeciostream,h> class Empty { 17 void main{) Empty a, by if {a == b) cout << "impossible * << endl; else i cout << "Fine " << endl; ‘Maharashtra state Board of Technical Education 8Practical No.6 qi Write a C++ program to declave a class and price. Accept and display data for book having maximum price. Ans, #include
using Mamespace std; class Book { char bookName [3%] ; char alithor [30] ; Float price; “Book” having data members book-mame, quthor | public : void’: getDatal) { cout << "\nEnter Book Name, Author 'g -Name and Price \n"; cin >> bookName >> author >> pice; } float MaxPricel) { flook x = price; : 2 void putDatal) * ee At { ' << bookName; "<< author; cout << “\nBook's Name cout << “\n Author's Name >int main) { a asuei by Bg ee SS ees ] bl. getDatal) ; [7 ba. getDatal | b3. getDatal); | fF Ubi. MayPricel) > b2.MayPrice() && bl. MaxPrice () > b3. MaxPrice ()) bl. PuEDatal); } else if(b2.MayPrice() > b3. Mas Price ()) { b2, putDatal),; Js ry] else: b3.putDatal); return 0; H- ELL 1G.P/ 5.6.6.E.JSS —Ss—_—_——-—rl le lhl—t—™ gal Wrike a C++ pragvam to declare a class |" staff" having data members name, basic salary , DA, HRA and calculate grass salary, ‘ | Accept and display data for one staff. [ [Where DA = 74.5°A of basic, i] HRA = 30% of Basic. ii) Gross —salary = basic + HRA + DA. fins. Himclude
LUSing namespace Std, class staff Float basic, gross-sal , Souk << "\nEnker Basic Salary of Staff y cin > basic ; 2 Float DA = 74.5, HRA = 30, gross_sal = (basic * DA /100) + (basic * FiRA/ toe) + basic; ' return gross-sal, —. | : G.P/ G.C.0.E.4,ink maint) { staff ssl, S\. getData(), cout << “\n Gross Salasy of Employee | ts. 2 Oy cout << Sl. putDatal); return 0; a FI P/GC.0.E!lude
ingle | heigher c_values (ine, int): void Reetangler:set_values (ink 2 unt yt values (3,412 rear" << (Space for answers) XIV References / Suggestions for further Reading 1. hitps:/Awww.geeksforgecks.org/c-classes-and-objects! 2. bups:!/veww.tutorialspoint.com/cplusplus‘epp_classes_objects.hium Maharashtra state Board af Technical Edocation 7}Object Oriented Phopransming Using C ++ (22516) Vv VI Vil Practical No. 7: Program to Implement Array of Objects Practical Significance: The classes and objects help to represent real life related member functions, Array of ebjects are used ta represent the data af similar type y With different atiributes and Relevant Program Outcomes (POs) o Basie knowledge: Apply knowledge of basic mathemutics, sciences and basic engineering to solve the broad-based Computer engineering problem, © Discipline knowledge: Apply Computer enginecting discipline - specific clo solve core computer engingering related problen rls and practic nto perform experiments and practices to use the solve broad-based Computer engineering prableis, o Engincering tools: Apply relevant Computer teclimologies and tools with an understanding of the limitations, o C winication: Communicate cffecti ely in oral and written form, Competency and Practical skills This practical ts expected ta develop the following skills im you : Develop C++ prograins ta solve broad-based problems [Define real life entity into classes and objects. 2.Define ancl use classes and array of objects. 4.Compile the program, 4. Debug and execute the program. Relevant Course Outeome(s) Develop C+ programs using classes and objects. Practical Quteome (POs) a) Write’ Compiley debug / Execute simple C++ program using classes and array of objects. Relevant Affective domain related Outeome(s) 1. Selcet proper programming environment in C++, 2. Pollow sefety measures 3, Follow ethical practices. Minimum Theoretical Background Array of objects: Arrays of variables of type “class” is known as "Array af objects". Declaring Array of Objects: Syntax: className ObjectArrayName|size|; eg. Student std]; Maharashtra stats Board of Technical Education atOrignted Programming Using C ++ (22316) Accessing data members and member functions: The data members and member functions of class can be accessed using the dat(*.") operator with the abject. For example if the name of object isstd/2/ and you want to access the member function with the name getDataf) then you will have to write std{2)-getDataf) . VILL Resources required Name of| aac Specification Quantity Remarks Hardware: Computer (13-15 Computer preferable), RAM minimum 2 GB and onwards, HDD qoGB and above Windows /LINUX As per batch Forall size Experiments Turbo C++ Version 3,0 or any other IX Precautions 1, Handle computer system and peripherals with care. 2. Follow safety practices, x Resources used Specification Computer System S-t) ER gen, & with broad specifications | 35 Sopaan, Dev C++ Any other resource used Reference Books. XI Result (Output of the Program) ' XII Practical Related Questions y Note: Below given are few sample questions for reference. Teacher must design more sich questions so as to ensure the achievement of identified CO. (Note: Use Point VIII to X and XII] te XV for all relevant programming exercise use blank pages provided or attach mare pages if necded.) 1, State the output of the following program: | #include
ss books Maharashtra state Board of Technical Edocation a_ pros Us cH 016) ae 1 sooks bockIsize) Por lint in0zicsizey i445 ‘ { jarecvEnter details of book "eetist)cemats peok(i) getdataty; fortint i=O7ispizes ies} ( qoutts*\nBook "(nei ce™\nm pookiil -putdatal) ; (Space for answers) take Input for 3 book as of book | be displayed on @ Maharashtra site Bean f Pedal vationObject Oriented Programming Using C++ (22316) XID. Exercise Attempt Q1 or Q2 and Q3 aor b from the following: (Note: Use Paint Vill to X and XIII to XV for all relevant programming exercise yge blank pages provided or attach more pages if needed.) 1. Write a C+ program to define a class “Employee” having data members emp_id, emp_name and emp_salary, Accept and display data for employees having salary greater than 25,000/-. 2. Write a C-+ program to define a class “City” having data members name, population, Accept and display data for 10 cities. 3. Complete the given table: Program Code tek j Output justi 3) Winclude
class Student t char nome[Z0}; lat marks; public: veld getName {) Il ein>>namer 1 void ‘getMarks (1 ‘ cin >> marks; I void displaylafo() foe ce Mane 2 * <6 name endl: cout << “Marks : “ << marks << endl; void maint} t Student fort int ise} { Boge db! Lone cout << “Student # focra state Board of Techn ation ‘Maharasl hellPractical No. 7 | Conn a C++ program to define a class |"Employee” having data members emp-id , | [ emp-name and emp-salary. Acept and display ‘data for ermployees having Salary greater than 25, 600 /-, Ans, Hinclude < testreanm> “using Mamespace std, | class Employee i int int emp-id, | chav emp-—name[3o], | public + | float emp-salary ; void getData() pf tN cout << "\nEnter Employee ID” << emp-id cout <<"\nEnter Employee Salary vl cin >> emp-salary ; aN a | ' cout << *\nEmployee Name » “aemp-mames|’ cout <<” \nEmployee ID: ” << emp-id; “\n Employee salony ec eeuk =e GPIG.C.OEd cout << cout <<*\nEnter Employee Name : "<< emp- Mame;Int main () int i; L - Employee els] , for(izsO;, i¢55 tt) — eli). getDatal); cout
25000) i eli]. putDatal); | 5 wekurn 0;
[email protected]
a Ctt+ program to define a class "City" having data members mame, populatian, Accept and cisplay data for 10 cities. are Hinclude
using namespace Std; class City 4 char cityName[3o]; int population , votd getDatal) { cout<
? population ; cout << "\nCity Name : "; | cout <« city Name ; | cout
using Mamespace std; | class Swapping int a,b,c; Public : Void getData() I | cout << "\nEnter Two mumbers °; friend void swap ( Swapping & §)3 sl | Void before§wapC) —F T | ouk
Coutee“\na = "<< a3 G = ) “Teese 2 So.4Page No. 50.2 Date: / /202 | | Void swap (Swapping &t) | A SE = t b; t-b = £-¢; i } L ink main) t Swapping §; ne pentyl . QebDatal() ; . beforeSwap(); ip) Ww ip wap (s); terSwap () ; in ~ reburn a %Object Oriented Programming Using C ++ (22316) XIII Exercise Attempt QI or Q2 and Q.3 aorb from the following: (Note: Use Point VIII to X and XIII to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) 1. Write a C++ program to swap the values of two variables using friend function. 2. Write a C++ program to define a class “Distance” having data member as meters. Display the addition of two Distance objects using friend function. 3. Complete the given table: Write & justify Program Code Output a)#include
class A { int a; public: At) fe = 107} friend void showA (Aa); i void showA(A& x) ft ot peste rae nee Miharashtra state Board of Techacal Ears(Space for answers) grrr eng nr emntonmea Cou « ee < "\nEnter “Distance ‘in meters; “cin ¥E ™ ; Ee. friend void tdist (Distance dl, Distance.Object Oriented Programming Using C ++ (22316) XIV References / Suggestions for further Reading 1 https:/Avww.geeksforgeeks.org/c-classes-and-objects/ 2 https://www.tutorialspoint.com/cplusplus/cpp_classes_objects.htm 3 https://www.tutorialspoint.com/cplusplus/cpp_fricnd functions.htm 4 http://www.san foundry.com/multiple-choice-questions-c-plus-plus- friends/ XV Assessment Scheme Performance indicators AoE meaner prigtaliie Mari’ | 0% ( Logic formation Appropriate friend function declaration and 20% ein On Debugging ability 20% 10% Follow ethical practices. 0, Expected Output 10% Timely Submission of report Answer to sample questions 100% Total (50 Marks) List of Students /Team Members Lo here nchWea eR eee areoew ener tert DZ deneneanccenseeenecanseedennneenones Bo aviviesieeeere Re Process Product Total(50) Related(35) Related(15) eb il Dated signature of Teacher : alion Maharashtra state Board of Technical Educ:Obyert Onrented Pregremwong Loong C #4 (22.16) i vi vu a er Muabarsstira state Bowed of Techruite! Educate Practical No, 9: Program to Implement Inline Function Practical Significance: The classes and objects help to represent real life entity with different attributes and related member functrons. The use of inline functions facilitates faster execution of the program. Relevant Program Outcomes (POs) © Basie knowledge: Apply knowledge of baste mathematics, sciences and basic engineenng to solve the broad-based Computer engineering problem. © Discipline knowledge: Apply Computer engineering discipline - specific know ledge to solve core computer engmecring related problems. Experiments and practice: Plan to perform experiments and practices to use the results to solve broad-based Computer engineenng problems. © Engineering tools: Apply relevant Computer technologies and tools with an understanding of the Imuitations. © Communication: Communicate effectively in oral and written form, Competency and Practical skills ; This practical 1s expected tu develop the following skills in you : Develop C++ programs to solve broad-based problems 1_ Define real life entity into classes and objects. 2. Define and use of inline function. 3. Compile the program. 4. Debug and execute the program. Relevant Course Outcome(s) Develop C++ programs using classes and objects. Practical Outcome (POs) Write!) Compile! debug / Execute simple C++ program using classes, objects and inline functions Relevant Affective domain related Outcome(s) 1. Select proper programming environment in C++. 2 Follow safety measures 3. Follow cthical practices. Minimam Theoretical Background fatine Feection: C++ selme function is concept that 1s commonly used with classes. If a funcnon as inline, the compiler places a copy of the code of that function at each pount where the fenetion ts called at compile ume A fusction defines ina class definition is an inline function definiuon, even without | the woe of the inline keyword e To imlse 2 functuon, place the keyword inline before the function name and define the function before any calls are made to the function. The compiles can ignore the intine quelefrer in case defined function is more than a line Declaring inline Junction:—_—_— c 9 ee i aad ie ey O4; gyi et eel Syntax: ame blic: class class - etaration FuonNasnelist of parameters) { other member un ' jnlin€ a a fanct! 7. puete” é j mbers declaration Hother m™ t Vv : : ty ; é % a avin Hardware: Computer ystem Experiments | | For all | | | Precauti . . ; with care- ons als wil Handle computer system and peripher Follow safety practices. Resources used _ CTT EY TH TR nN RD ae eee STP PR HAY Teste gen, 8458 @a Rom Computer System with broad specifications 7k Result (Output of the Program) XU Practical Related Questions Note: Below given are few sample quextiuns for reference. Teucher must design more such questions xo dy to envure the achievement of identified CO. Migharushira sate Uoand uf Techical Fdveation —_—— -Object Oriented Programming Using C ++ (22316) (Note: Use Point VIII to X and XIII to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) 1. What does the inline keyword do? A. Indicates a function declaration B. Tells the compiler to use the function only within the same source code file C. Causes all function calls to be replaced by the code from the function D. Allows one-line function declarations Why would you want to use inline functions? A. To decrease the size of the resulting program B. To increase the speed of the resulting program C. To simplify the source code file D. To remove unnecessary functions Which of the following is a limit on inline functions? A. Inline functions cannot rerum a value. B. Inline functions must retum a value. C. Inline functions must be less than ten lines. D. The compiler may choose to ignore an inline directive Which of the following is a valid inline for function foo? A. inline void foot) 4} B. void foof{) inline 4} C. inline:void foo() {} D. None of the above (Space for answers) netions aye used to of the stesulting program. increase Ehe nt “on inline 4 Functions “is, “compiler ma _ignore an inline directive. —ee renee Object Oriented Programming Using C++ (22516) XII Exercise Attempt Q1 and Q.2 from the following: (Note: Use Point VIII to X and XIII to XV for all relevant programming exercise use blank pages provided or attach more pages if needed.) 1. ‘Write a C++ program to create a class “Number” having data members x and y and perform mathematical operations like addition, subtraction, multiplication and division on two numbers using inline functions. 2. Complete the given table: Write & justify - Output Output : Square of a No fs 100. When the Program will be executed, SSeS will be returned. a)#include
class InlineDeno i public: “int square{int 5s); // declare the functicn ye ffuse inline prefix inline int InlineDemo::ssu4r=(int s) { return s*s; } void main(} i InlineDemo s; cout<<"Square of a No is :"<
i melude
oo ——————ssssssSSSsSSS Maharashtra state Board of Techarcal Education = ae gan ea Cera Pa ERE a ih Na es ceereehtereteicingmnmmn ens yr biter EE i g 5: K Sa aa ieObject Oriented Programming Using C ++ (22316) class Number rn. getData ( ) 5 Maharashira state Board of Technical Education nm. pukData(), weburn O;Object Oriented Programming Using C ++ (22316) XIV_ References / Suggestions for further Reading 1. https:/Avww.geeksforgeeks.org/c-classes-and-objects/ 2. https://www.tutorialspoint.com/cplusplus/cpp_classes_objects.htm 3, https://www.geeksforgecks. org/inline-functions-cpp/ ~ XV Assessment Scheme Process related(35 Marks) Logic formation Appropriate inline function declaration and definition Follow ethical practices. Product related (15 Marks) Expected Output Timely Submission of report Answer to sample questions Total (50 Marks) z Dated signature Marks Obtained of Teacher Process Product” Related(35) Related(15) | ao ducation Maharashtra state Board of Technical EObject Oriented Programming Using C ++ (22316) ne IV VI vil Maharashtra state Board of Technical Education Practical No. 10: Program to Implement Constructors and Destructors Practical Significance: The classes and objects help to represent real life entity with different attnbutes and related member functions. The use of constructor functions facilitates initialization of instance variables The use of destructor functions facilitates deallocation of object memory. Relevant Program Outcomes (POs) o Basic knowledge: Apply knowledge of basic mathcmatics, sciences and basic engineering to solve the broad-based Computer enyincenng problem. o Discipline knowledge: Apply Computer engineering discipline + specific knowledge to solve core computer enyincerng related problems o Experiments and practice: Plan to pertorm cxpernments and practices to use the results to salve broad-based Computer engincering problems o Engineering tools: Apply relevant Computer technologies and tools with an understanding of the limitations. o Communication: Communicate effectively in oral and written form Competency and Practical skills This practical is expected to develop the following skills in you : Develop C++ programs to solve broad-based problems Define real life entity into classes and objects Define and use of constructor function, Define and use of destructor function. Implement constructor overloading. Compile the program. 6, Debug and execute the program. ween Relevant Course Outcome(s) Develop C++ programs using classes and objects. Practical Outcome (POs) Write/ Compile! debug / Execute simple C++ program using constructors and destructors. Relevant Affective domain related Outcome(s) 1, Select proper programming environment in C++. 2, Follow safety measures 3. Follow ethical practices. Minimum Theoretical Background e Constructor: Constructors are special member functions which performs initialization of every object. The Compiler calls the Constructor whenever an object” is created. Constructors initialize values to instance variables after storage is allocated to the object. Constnictors are of three types : 1, Default Constructor 2. Parameterized Constructor 3. Copy Constructor
You might also like
CPP IMP Questions by Vishal Sir
PDF
No ratings yet
CPP IMP Questions by Vishal Sir
108 pages
DMS Model-Answer-Paper-Summer-2023
PDF
No ratings yet
DMS Model-Answer-Paper-Summer-2023
18 pages
Computer Graphics CGR Solved Lab Manual PDF - Manual Answe
PDF
No ratings yet
Computer Graphics CGR Solved Lab Manual PDF - Manual Answe
135 pages
Unit 1 DSU
PDF
No ratings yet
Unit 1 DSU
7 pages
K Scheme OOP Unit Test-1 Question Bank
PDF
No ratings yet
K Scheme OOP Unit Test-1 Question Bank
12 pages
Dsu 22317 Notes
PDF
No ratings yet
Dsu 22317 Notes
92 pages
Oops Book
PDF
No ratings yet
Oops Book
203 pages
DBMS Imp Questions Kharat Academy
PDF
100% (4)
DBMS Imp Questions Kharat Academy
43 pages
Msbte w22 22103
PDF
100% (1)
Msbte w22 22103
21 pages
Sy Sem III 22316 QP Model Answers Oop
PDF
No ratings yet
Sy Sem III 22316 QP Model Answers Oop
78 pages
C++ Notes
PDF
100% (1)
C++ Notes
109 pages
S-24
PDF
No ratings yet
S-24
23 pages
C Programming Micro Project
PDF
No ratings yet
C Programming Micro Project
18 pages
Winter 23
PDF
No ratings yet
Winter 23
25 pages
Java Programming
PDF
100% (1)
Java Programming
8 pages
OOP Micro-Project Report
PDF
100% (2)
OOP Micro-Project Report
36 pages
DMS 22319 Notes PDF
PDF
100% (1)
DMS 22319 Notes PDF
160 pages
220244-Microprocessor - 22415 - 2023 - Summer Model Answer
PDF
100% (1)
220244-Microprocessor - 22415 - 2023 - Summer Model Answer
26 pages
DTM w22 22323
PDF
No ratings yet
DTM w22 22323
18 pages
2022 Winter Model Answer Paper (Msbte Study Resources)
PDF
No ratings yet
2022 Winter Model Answer Paper (Msbte Study Resources)
16 pages
Aproj Ectrepor T On: Governmentpolytechni C, Ji Ntur
PDF
No ratings yet
Aproj Ectrepor T On: Governmentpolytechni C, Ji Ntur
20 pages
"Digital Technique": Micro Project Work Submitted by
PDF
50% (2)
"Digital Technique": Micro Project Work Submitted by
9 pages
Object Oriented Programming (OOPs) or C++ Sample Paper of MSBTE For Third Semester Computer Engineering Diploma (80 Marks)
PDF
90% (10)
Object Oriented Programming (OOPs) or C++ Sample Paper of MSBTE For Third Semester Computer Engineering Diploma (80 Marks)
3 pages
Model Question Paper - AdvanceJava
PDF
100% (1)
Model Question Paper - AdvanceJava
3 pages
DTE Imp Questions
PDF
No ratings yet
DTE Imp Questions
2 pages
Oop Chapter 2
PDF
No ratings yet
Oop Chapter 2
8 pages
Object Oriented Programming Using C++": Department of Second Year Computer Engineering
PDF
50% (4)
Object Oriented Programming Using C++": Department of Second Year Computer Engineering
9 pages
2019 Summer Model Answer Paper (Msbte Study Resources)
PDF
50% (2)
2019 Summer Model Answer Paper (Msbte Study Resources)
40 pages
22316-2023-Winter-Question-Paper (Msbte Study Resources)
PDF
No ratings yet
22316-2023-Winter-Question-Paper (Msbte Study Resources)
3 pages
8086 MIC - Unit 1 - Notes
PDF
100% (1)
8086 MIC - Unit 1 - Notes
31 pages
C++ Lab Manual Final
PDF
100% (1)
C++ Lab Manual Final
35 pages
Oop Chapter 1
PDF
100% (2)
Oop Chapter 1
4 pages
OSY Chapter 1 To 6 Notes
PDF
No ratings yet
OSY Chapter 1 To 6 Notes
98 pages
Micro Project Oop
PDF
No ratings yet
Micro Project Oop
28 pages
17431-2019-Winter-Model-Answer-Paper (Msbte Study Resources)
PDF
No ratings yet
17431-2019-Winter-Model-Answer-Paper (Msbte Study Resources)
33 pages
SKMBT C22021032313190
PDF
100% (4)
SKMBT C22021032313190
236 pages
Question Bank (I Scheme) : Chapter
PDF
No ratings yet
Question Bank (I Scheme) : Chapter
2 pages
Aditya Shitole Dsu Project
PDF
50% (2)
Aditya Shitole Dsu Project
12 pages
1) Write A C++ Program To Declare A Class "Book" Having Data Members Book - Name, Author and
PDF
100% (1)
1) Write A C++ Program To Declare A Class "Book" Having Data Members Book - Name, Author and
4 pages
Today's Content: Program Development Steps
PDF
100% (1)
Today's Content: Program Development Steps
7 pages
CGR Micro Project
PDF
No ratings yet
CGR Micro Project
12 pages
2017 Summer Model Answer Paper
PDF
No ratings yet
2017 Summer Model Answer Paper
29 pages
Oop Blood Bank Management System
PDF
100% (1)
Oop Blood Bank Management System
17 pages
Linked List: A Micro Project Report ON " "
PDF
100% (3)
Linked List: A Micro Project Report ON " "
16 pages
AMT Micro-Project
PDF
100% (1)
AMT Micro-Project
17 pages
MIC 17431-2018-Summer-Model-Answer-Paper
PDF
No ratings yet
MIC 17431-2018-Summer-Model-Answer-Paper
22 pages
OOP Practical 15
PDF
100% (1)
OOP Practical 15
7 pages
Dsu Map W22
PDF
No ratings yet
Dsu Map W22
25 pages
Write A Program To Create A Student Table in Database and Insert A Record in Student Table
PDF
No ratings yet
Write A Program To Create A Student Table in Database and Insert A Record in Student Table
2 pages
Practical No 14
PDF
100% (2)
Practical No 14
8 pages
Dsu Imp
PDF
No ratings yet
Dsu Imp
9 pages
MIC Notes (22415)
PDF
100% (1)
MIC Notes (22415)
60 pages
DSU Krishna 1
PDF
0% (1)
DSU Krishna 1
18 pages
MIC Microproject
PDF
No ratings yet
MIC Microproject
20 pages
C++ Basics
PDF
No ratings yet
C++ Basics
84 pages
Diploma in Computer Technology: Government Polytechnic, Solapur
PDF
No ratings yet
Diploma in Computer Technology: Government Polytechnic, Solapur
19 pages
2018 Winter Model Answer Paper
PDF
No ratings yet
2018 Winter Model Answer Paper
20 pages
Practical 1 (OOP)
PDF
No ratings yet
Practical 1 (OOP)
4 pages
OOP P1 (270 - Varun Behere)
PDF
No ratings yet
OOP P1 (270 - Varun Behere)
8 pages
MSBTE JAVA 9113 Question Paper
PDF
No ratings yet
MSBTE JAVA 9113 Question Paper
10 pages