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)
18 views
4 pages
Dec 23
mmaths
Uploaded by
Aswath Aswath
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 dec 23 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
18 views
4 pages
Dec 23
mmaths
Uploaded by
Aswath Aswath
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 dec 23 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
B.Tech/ M.Tech (Integrated) DEGREE EXAMINATION, DECEMBER 2023 Second Semester 21CSC101T - OBJECT ORIENTED DESIGN AND PROGRAMMING (For the candidates admitted from the academic year 2022-2023 onwards) * Note: @ Part - A should be answered in OMR sheet within first 40 minutes and OMR sheet should be handed over to hall invigilator at the end of 40" minute. (i) Part- Band Part- C should be answered in answer booklet. Time: 3 Hours Max. Marks: 75 PART — A (20 x 1 = 20Marks) Marks BL CO PO ‘Answer ALL Questions 1. Which of the following is not an OOPS concept? po2 1 2 (A) Encapsulation (B) Polymorphism (C) Exception (D) Abstraction 2. Who developed object-oriented programming? 2 1 2 (A) Adele Goldberg (B) Dennis Ritchie (C) Alan Kay (D) Andrea Ferro 3. diagram in UML shows a complete model of a system at a specific 1! 3 ' 3 ime, (A) Object (B) Class (C) Sequence (D) Collaboration 4, Which features of OOPS derives the class from another class? roz.a (A) Inheritance (B) Data hiding (C) Encapsulation (D) Polymorphism 5, How many time a constructor is called in the life-time of an object? toa 22 (A) Twice (B) Thrice (C) Only once (D) Depends on the way of creation of object 6. Sequence diagram is___oriented. .o22 2 (A) Class (®) Time (© Activity (D) Relationship 7. When a destructor is called? poz 22 (A) Afier the end of object life (B) Anytime in between objects lifespan (©) Atend of whole program (D) Just before the end of the object life 8. How many parameters does a default constructor require? 102022 (ay @®) 2 ©) 0 @) 3 Page Lof 4 ospF22icscioiTBehaviour diagram does not include (A) Use case diagrams (B) State diagrams (C) Activity diagrams (D) Component diagrams 10. Which members cannot be accessed in derived class in multiple inheritance? (A) Private members of base (B) Public members of base (©) Protected members of base (D) Constructor of base uL. keyword is used before a function in a base class which is to be overridden in derived class? (A) Void (B) Static (©) Virtual (D) Friend 12. In anactivity diagram, transitions belong to (A) Trigger oriented transitions (B) Self-transitions (C) Internal transitions (D) Completion transitions 13. Function template can accept (A) Any type of parameters (B) Only one parameter (C) Only parameters of the basic (D) Only parameters of the derived type type 14. Which among the following are not the valid notations for package and component diagrams? (A) Notes (B) Box (C) Nodes (D) Extension mechanism 15. Which of the following is used for generic programming? (A) Viral functions (B) Modules (C) Templates (D) Abstract class 16. ___an ability to automatically resize when appending elements. (A) Amay (B) Vector (C) Dynamic array (D) Container 17. State the return type of find method. (A) Iterator (B) Integer (C) Boolean (D) Float 18. How many instance are allowed by map container, while inserting an element? (A) 2 ®) 1 © 3 () Multiple 19. Which container can have the same keys? (A) Map (8) Multimap (©) Unordered map (D) Set 20. What are the containers? (A) Containers store objects and data (B) Containers stores all__ the algorithms (C) Containers contain overloaded (D) Containers contain set of iterators functions Page 2 of4 oepr2icscint21a. ii, bi. ii, 22.a. b. 23a. bi. ii, 24. a, b. 25.a, Page3 of PART ~B (5 x8 = 40 Marks) Answer ALL Questions List and discuss the characteristics of object oriented programming language Discuss the different types of access specifier with suitable examples. (OR) .. Distinguish between aggregation and composition with examples. Create a class named triangle with two data members - ‘base’ and “height” and a member function ‘area’ to calculate the area of the triangle. Elaborate the sequence diagrams on how a user gets a passport from the passport office. (OR) A state land registration authority is keeping the track of the native addresses and total area of the flat people across the state. Since total population is high and the area to be monitored is huge, the government decided to develop software as per the details. House name, number, city, state, width, height, umber of rooms are the data members and print the details of the house using constructor concepts such as default constructor and parameterized constructor. Illustrate a C++ program to create a multilevel inheritance of person, employee and teacher classes by explaining differences between public, private and protected inheritances with public, private and protected data. (OR) Demonstrate function overriding with an example. Construct activity diagram for the given scenario using fork and join operation with component explanation. (1) A customer can access menus of restaurant (2) To be able to login into the account (3) Select items to order (4) Make payment for order Write a program that allows the user to add the elements in two vectors. Swap the vector elements and display using STL vector. (OR) Write a C++ program containing a possible exception using a try block to throw it and a catch block to handle it properly. Write a program for sequence container‘list (array of integer data type) and implement the following methods. Create user defined function print list ( ) and display output. (@ push_front() (ii) insert() (iii) sort()__ (iv) pop_back () (OR) Marks 4 BL co os F2-21CSC10Tb. Explain about for_each (), transform (), merge (), search () algorithms with § 3 5 2 suitable examples. PART ~ C (1 x 15 = 15 Marks) Maris BL CO PO Answer ANY ONE Question 26. A university conducts examinations and the results are announced. Preparea § 3 4 3 report for the following: (i) Print the marks in the register number order, semester wise for each department (ii) Print the arrear list semester wise (ii) Prepare a rank list for each department Identity the problem statement and design the component for each sequence. Draw UML component diagrams, and explain ali notations in component diagram. 27. Ram and Shiva are working as accountants in a bank. They need to know al 1 3 4 3 the arithmetic operations to verify the accounts. Since they are beginner in mathematics, they found difficulty in doing such arithmetic operations. Help them to check accounts by applying arithmetic operations including add, substract, multiply and divide using class template. sxeee Page 4 of OsDFL-2ICSCIONT
You might also like
OODP 2024 July Paper
PDF
No ratings yet
OODP 2024 July Paper
2 pages
OODP All QP Sem 2
PDF
No ratings yet
OODP All QP Sem 2
10 pages
OODS University Paper 2024 SRM
PDF
No ratings yet
OODS University Paper 2024 SRM
4 pages
OODP1
PDF
No ratings yet
OODP1
5 pages
May 23
PDF
No ratings yet
May 23
2 pages
21CSC101T May 2023
PDF
No ratings yet
21CSC101T May 2023
4 pages
10 Question Bank
PDF
No ratings yet
10 Question Bank
25 pages
6014 Question Paper
PDF
No ratings yet
6014 Question Paper
2 pages
CT-2 QP - Set A - Answer
PDF
No ratings yet
CT-2 QP - Set A - Answer
10 pages
21CSC101T Dec 2022
PDF
No ratings yet
21CSC101T Dec 2022
6 pages
Oopcgl
PDF
No ratings yet
Oopcgl
59 pages
Udupi-2nd Pu
PDF
No ratings yet
Udupi-2nd Pu
3 pages
18csc202j Oodp Ct1 Question-Old
PDF
No ratings yet
18csc202j Oodp Ct1 Question-Old
8 pages
OOP 2017july
PDF
No ratings yet
OOP 2017july
4 pages
BSC Bca 2 Sem Object Oriented Programming Using CPP 21103329 Dec 2021
PDF
No ratings yet
BSC Bca 2 Sem Object Oriented Programming Using CPP 21103329 Dec 2021
2 pages
Null 1
PDF
No ratings yet
Null 1
4 pages
CS ModelPaper 1
PDF
No ratings yet
CS ModelPaper 1
16 pages
Cse2001 Object-Oriented-programming-with-c++ LTP 1.0 1 Cse2001
PDF
No ratings yet
Cse2001 Object-Oriented-programming-with-c++ LTP 1.0 1 Cse2001
4 pages
Blank (!)
PDF
No ratings yet
Blank (!)
29 pages
Object Oriented Programming
PDF
No ratings yet
Object Oriented Programming
3 pages
OODP Question Bank For Unit 1 and Unit 2
PDF
No ratings yet
OODP Question Bank For Unit 1 and Unit 2
6 pages
Question Paper 2021 Introduction To Object Oriented Programming
PDF
No ratings yet
Question Paper 2021 Introduction To Object Oriented Programming
4 pages
OOP Solutions Markwise
PDF
No ratings yet
OOP Solutions Markwise
5 pages
Be Computer Engineering Semester 3 2022 November Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be Computer Engineering Semester 3 2022 November Object Oriented Programming Oop Pattern 2019
3 pages
363 Bca 2001 - (D)
PDF
No ratings yet
363 Bca 2001 - (D)
24 pages
Object Oriented Programming Oops Lab Man
PDF
No ratings yet
Object Oriented Programming Oops Lab Man
39 pages
Iipuc-Computersciencepreparatoryquestionpaper 36023
PDF
No ratings yet
Iipuc-Computersciencepreparatoryquestionpaper 36023
3 pages
Ilovepdf Merged
PDF
No ratings yet
Ilovepdf Merged
17 pages
OOP-Paradigm With C++
PDF
No ratings yet
OOP-Paradigm With C++
5 pages
Exam 2
PDF
No ratings yet
Exam 2
6 pages
Programming and Data Structure-Ii Lab Manual
PDF
No ratings yet
Programming and Data Structure-Ii Lab Manual
164 pages
UNIT I Question Bank
PDF
No ratings yet
UNIT I Question Bank
5 pages
C++ Lab Manual
PDF
No ratings yet
C++ Lab Manual
38 pages
Oops Using C++ One Mark Questions
PDF
No ratings yet
Oops Using C++ One Mark Questions
14 pages
Data Structures and Algorithms
PDF
No ratings yet
Data Structures and Algorithms
18 pages
Cse2001 Object-Oriented-programming-with-c++ LTP 1.1 58 Cse2001 Object Oriented Programming With C++ LTP 4 v1.1
PDF
No ratings yet
Cse2001 Object-Oriented-programming-with-c++ LTP 1.1 58 Cse2001 Object Oriented Programming With C++ LTP 4 v1.1
3 pages
Ensf 480 Midterm 2018 Solutions
PDF
No ratings yet
Ensf 480 Midterm 2018 Solutions
6 pages
C++ QP
PDF
No ratings yet
C++ QP
7 pages
Unit1 Mcqs
PDF
No ratings yet
Unit1 Mcqs
34 pages
LAB Manual
PDF
No ratings yet
LAB Manual
40 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
EEE2109 FinalExam Spring2020
PDF
No ratings yet
EEE2109 FinalExam Spring2020
5 pages
OOP - Spring23 - Final Paper Soln
PDF
No ratings yet
OOP - Spring23 - Final Paper Soln
6 pages
Questionbank CPP
PDF
No ratings yet
Questionbank CPP
7 pages
Object Oriented Programming Concept by Using C++ (CSEN 3208)
PDF
No ratings yet
Object Oriented Programming Concept by Using C++ (CSEN 3208)
3 pages
C - Assignment - BCS2A - BCS2B
PDF
No ratings yet
C - Assignment - BCS2A - BCS2B
4 pages
B2 Oops
PDF
No ratings yet
B2 Oops
3 pages
Wa0005.
PDF
No ratings yet
Wa0005.
8 pages
Final Oopl Manual 20 21
PDF
No ratings yet
Final Oopl Manual 20 21
44 pages
Answer: B Answer: C
PDF
No ratings yet
Answer: B Answer: C
13 pages
Tre3&4 Mock Test1
PDF
No ratings yet
Tre3&4 Mock Test1
12 pages
2022 External Paper
PDF
No ratings yet
2022 External Paper
2 pages
OOP MSBTE Question Paper Summer 2008
PDF
No ratings yet
OOP MSBTE Question Paper Summer 2008
3 pages
Opp
PDF
No ratings yet
Opp
3 pages
C+ Paper 24
PDF
No ratings yet
C+ Paper 24
8 pages
Ilovepdf Merged
PDF
No ratings yet
Ilovepdf Merged
12 pages
18CSC202J QP
PDF
No ratings yet
18CSC202J QP
2 pages
Pgdac QB C++&DS
PDF
No ratings yet
Pgdac QB C++&DS
6 pages