Download DBATU B.Tech 2019 Oct-Nov IT 3rd Sem Object Oriented Paradigm with C++ Question Paper

Download DBATU (Dr. Babasaheb Ambedkar Technological University) B Tech 2019 Oct-Nov (Bachelor of Technology) IT 3rd Sem Object Oriented Paradigm with C++ Question Paper

DR. BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY, LONERE
Mid Semester Examination - SethOct. 2019 _
Course: B. Tech in Information Technology Sem: III
Sub] ect Name: Object Oriented Paradigm with CH- Sub] ect Code: BTITC303
Max Marks: 20 Date:? 05/10/2019 ' Dura?onz-l Hr.
Instructions to the Students:
1. Attempt all questions
2. Write prggr_ams wherever applicable
(Level/CO) Marks
> Q. 1 Write answers for the following: ? 6
1. De?ne algorithm. Write any two characteristics of an algorithm. , C03
2. State and explain whether the following statement is TRUE or FALSE? C03
In procedure-oricnted programmigmll data are shared by all functions.
3. What is the purpose of a reference variable ?2 ' C03
4. Choose correct answer: A relational operator ? C01
A. assigns one operand to another.
B. yields a Boolean result.
C. compares two operands.
D. logically combines two operands.
5. Choose correct answer: A normal C++ operator that acts in special ways ' C01
on newly de?ned data types is said to be
A. glori?ed.
B. encapsulated.
C. classi?ed.
D. overloaded. ?
6. Choose comet answer: L?arary ?les can be included using . C01
A, < >
B. < > or ? ?
C. ?6 ?5
D. #
2.2 Solve Any Two of the following. 3 X "
(A) Design and write a program in CH- using while loop that displays the humbers C01
from 100 to 110.
(B) What is the purpose of constructor? Demonstrate types of constructor with a C03
program.
(C) What is operator overloading? Demonstrate by writing a program. COS
Q. 3 Solve Any One of the following. 8
(A) Write a program in C++ to define a class for employcedetails like: EmpID, C01, C03
Name, Number of working days. Write ?mctions to read, calculate salary of the
month and display. The program should be able to work for 50 employees.
(B) Create a class string that can work as a user-de?ned string type. Include C01, C03
constructors to create an uninitialized string, initialize an object with a string at
the time of creation, concatenate two stringsand displays desired string object.
'luk'k End ***

This post was last modified on 21 January 2020