SlideShare a Scribd company logo
OBJECT ORIENTED
PROGRAMMING WITH C++
IN OBJECT ORIENTED PROGRAMMING THE PROGRAM IS DIVIDED
INTO ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐.
A. class
B. object
C. function
D. none of these
2
THE PROCESS BY WHICH OBJECTS OF ONE CLASS ACQUIRE THE
PROPERTIES OF OBJECTS OF ANOTHER CLASS IS CALLED
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ .
A. abstraction
B. inheritance
C. encapsulation
D. polymorphism
3
IN OOP WHICH COCEPT PROVIDES THE IDEA OF REUSABILITY.
A. abstraction
B. inheritance
C. encapsulation
D. polymorphism
4
THE PROCESS OF MAKING AN OPERATOR TO EXHIBIT DIFFERENT
BEHAVIORS IN DIFFERENT INSTANCES IS CALLED ‐‐‐‐‐.
A. function overloading
B. operator overloading
C. inheritance
D. none of these
5
THE PROCESS OF MAKING A FUNCTION TO EXHIBIT DIFFERENT
BEHAVIORS IN DIFFERENT INSTANCES IS CALLED ‐‐‐‐‐.
A. function overloading
B. operator overloading
C. inheritance
D. none of these
6
OBJECTS COMMUNICATE WITH ONE ANOTHER BY USING
‐‐‐‐‐‐‐‐‐‐.
A. message passing
B. operator overloading
C. inheritance
D. both a & b
7
THROUGH ‐‐‐‐‐‐‐‐ WE CAN ELIMINATE REDUNDANT CODE AND
EXTEND THE USE OF EXISTING CLASS.
A. INHERITANCE
B. OPERATOR OVERLOADING
C. ENCAPSULATION
D. BOTH A & B
8
THE ‐‐‐‐‐‐‐‐‐ PRINCIPLE HELPS THE PROGRAMMER TO BUILD
SECURE PROGRAMS.
A. OPERATOR OVERLOADING
B. ENCAPSULATION
C. DATA HIDING
D. POLYMORPHISM
9
WHAT ARE THE BASIC RUN TIME ENTITIES IN AN OBJECT
ORIENTED PROGRAM?
A. OBJECTS
B. FUNCTIONS
C. DATA
D. NONE OF THESE
10
OOPS FOLLOWS ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ APPROACH DURING
PROGRAM DESIGN.
A. TOP DOWN
B. BOTTOM ‐UP
C. BOTH A & B
D. NONE OF THESE
11
THE TECHNIQUE OF HIDING INTERNAL DETAILS IN AN OBJECT IS
CALLED‐‐‐‐‐
A. ENCAPSULATION
B. FUNCTIONS
C. ABSTRACTION
D. INHERITANCE
12
CLASSES ARE ‐‐‐‐‐‐‐‐ DATATYPE.
A. DERIVED
B. USER‐DEFINED
C. BUILT‐IN
D. BOTH A & C
13
‐‐‐‐‐‐‐‐‐‐ PROVIDES INTERFACE BETWEEN THE OBJECT’S DATA
AND PROGRAM.
A. OBJECT
B. FUNCTIONS
C. CLASS
D. POLYMORPHISM
14
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ REFERS TO THE LINKING OF PROCEDURE CALL
TO THE CODE TO BE EXECUTED IN RESPONSE TO THECALL.
A. POLYMORPHISM
B. FUNCTIONS
C. DYNAMIC BINDING
D. OBJECT
15
A ‐‐‐‐‐‐‐‐ FOR AN OBJECT IS A REQUEST FOR EXECUTION OF A
PROCEDURE.
A. OBJECT
B. FUNCTIONS
C. DYNAMIC BINDING
D. MESSAGE
16
THE << OPERATOR IS KNOWN AS‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐.
A. PUT TO
B. GET FROM
C. INSERTION
D. BOTH A & C
17
THE >> OPERATOR IS KNOWN AS‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐.
A. PUT TO
B. GET FROM
C. EXTRACTION
D. BOTH B & C
18
‐‐‐‐‐‐‐‐ CONTAINS FUNCTION PROTOTYPE FOR THE STANDARD
INPUT AND OUTPUT FUNCTIONS.
A. IOMANIP.H
B. IOSTREAM.H
C. STDLIB.H
D. BOTH A & B
19
IN C++ DEFAULT RETURN TYPE FOR ALL THE FUNCTIONS IS
‐‐‐‐‐‐‐‐‐.
A. INT
B. VOID
C. FLOAT
D. NONE OF THESE
20
TNE MULTIPLE USE OF INPUT AND OUTPUT OPERATOR IS CALLED
…………….
A. POLYMORPHISM
B. INHERITANCE
C. CASCADING
D. NONE OF THESE.
21
WHICH OF THE FOLLOWING IS NOT A FEATURE OF OOPS.
A. POLYMORPHISM
B. INHERITANCE
C. DYNAMIC BINDING
D. NONE OF THESE.
22
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ RELATIONSHIP INDICATES THAT THE CHANGE TO
AN INDEPENDENT THING WILL AFFECT THEDEPENDENT THING.
A. INHERITANCE
B. DEPENDENCY
C. ASSOCIATION
D. AGGREGATION
23
FIND THE FALSE STATEMENT FROM THE FOLLOWING
A. AN IDENTIFIER IN C++ IS DEFINED AS AN UNLIMITED SEQUENCE OF CHARACTERS.
B. THE FIRST CHARACTER MUST BE AN ALPHABET FOLLOWED BY DIGITS OR UNDERSCORE OR ALPHABETS.
C. IDENTIFIERS ARE NOT CASE SENSITIVE.
D. YOU CAN USE BOTH UPPERCASE AND LOWER CASE ALPHABETS IN THE SAME IDENTIFIER.
24
WHICH ONE IS THE OBJECT ORIENTED PROGRAMMING
LANGUAGE?
25
A. Cobol
B. C
C. C++
D. both C & C++

More Related Content

Similar to Object oriented programming with c++

02 Ebook 77 Examples and Exercises of C Programming.pdf
02 Ebook 77 Examples and Exercises of C Programming.pdf02 Ebook 77 Examples and Exercises of C Programming.pdf
02 Ebook 77 Examples and Exercises of C Programming.pdf
Politeknik Sultan Idris Shah
 
ICFAI Projects and Operations Management - Solved assignments and case study ...
ICFAI Projects and Operations Management - Solved assignments and case study ...ICFAI Projects and Operations Management - Solved assignments and case study ...
ICFAI Projects and Operations Management - Solved assignments and case study ...
smumbahelp
 
Sample Lab Manual Word Edited aaaaaaaaaaaaaaa
Sample Lab Manual Word Edited aaaaaaaaaaaaaaaSample Lab Manual Word Edited aaaaaaaaaaaaaaa
Sample Lab Manual Word Edited aaaaaaaaaaaaaaa
XEON14
 
GCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdf
GCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdfGCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdf
GCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdf
ssuserc36624
 
Cs2312 OOPS LAB MANUAL
Cs2312 OOPS LAB MANUALCs2312 OOPS LAB MANUAL
Cs2312 OOPS LAB MANUAL
Prabhu D
 
Executable Specifications in Action
Executable Specifications in ActionExecutable Specifications in Action
Executable Specifications in Action
Vagif Abilov
 
Executable Specifications in Action
Executable Specifications in ActionExecutable Specifications in Action
Executable Specifications in Action
Vagif Abilov
 
MAS compilation of questions
MAS compilation of questionsMAS compilation of questions
MAS compilation of questions
acctg2012
 
The road to continuous deployment (PHPCon Poland 2016)
The road to continuous deployment (PHPCon Poland 2016)The road to continuous deployment (PHPCon Poland 2016)
The road to continuous deployment (PHPCon Poland 2016)
Michiel Rook
 
Call
CallCall
C by balaguruswami - e.balagurusamy
C   by balaguruswami - e.balagurusamyC   by balaguruswami - e.balagurusamy
C by balaguruswami - e.balagurusamy
Srichandan Sobhanayak
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
pakoku123
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
nbghjuyt654
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
bhggg777
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
nhyt6666789
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
alkhdkh970970
 
Labsheet1 stud
Labsheet1 studLabsheet1 stud
Labsheet1 stud
rohassanie
 
C test
C testC test
Vb.net
Vb.netVb.net
H2O World - Building a Smarter Application - Tom Kraljevic
H2O World - Building a Smarter Application - Tom KraljevicH2O World - Building a Smarter Application - Tom Kraljevic
H2O World - Building a Smarter Application - Tom Kraljevic
Sri Ambati
 

Similar to Object oriented programming with c++ (20)

02 Ebook 77 Examples and Exercises of C Programming.pdf
02 Ebook 77 Examples and Exercises of C Programming.pdf02 Ebook 77 Examples and Exercises of C Programming.pdf
02 Ebook 77 Examples and Exercises of C Programming.pdf
 
ICFAI Projects and Operations Management - Solved assignments and case study ...
ICFAI Projects and Operations Management - Solved assignments and case study ...ICFAI Projects and Operations Management - Solved assignments and case study ...
ICFAI Projects and Operations Management - Solved assignments and case study ...
 
Sample Lab Manual Word Edited aaaaaaaaaaaaaaa
Sample Lab Manual Word Edited aaaaaaaaaaaaaaaSample Lab Manual Word Edited aaaaaaaaaaaaaaa
Sample Lab Manual Word Edited aaaaaaaaaaaaaaa
 
GCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdf
GCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdfGCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdf
GCP-Professional-Cloud-Developer-Exam-v22.2.1_139-taqwlj.pdf
 
Cs2312 OOPS LAB MANUAL
Cs2312 OOPS LAB MANUALCs2312 OOPS LAB MANUAL
Cs2312 OOPS LAB MANUAL
 
Executable Specifications in Action
Executable Specifications in ActionExecutable Specifications in Action
Executable Specifications in Action
 
Executable Specifications in Action
Executable Specifications in ActionExecutable Specifications in Action
Executable Specifications in Action
 
MAS compilation of questions
MAS compilation of questionsMAS compilation of questions
MAS compilation of questions
 
The road to continuous deployment (PHPCon Poland 2016)
The road to continuous deployment (PHPCon Poland 2016)The road to continuous deployment (PHPCon Poland 2016)
The road to continuous deployment (PHPCon Poland 2016)
 
Call
CallCall
Call
 
C by balaguruswami - e.balagurusamy
C   by balaguruswami - e.balagurusamyC   by balaguruswami - e.balagurusamy
C by balaguruswami - e.balagurusamy
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
 
Iscom 471 final exam
Iscom 471 final examIscom 471 final exam
Iscom 471 final exam
 
Labsheet1 stud
Labsheet1 studLabsheet1 stud
Labsheet1 stud
 
C test
C testC test
C test
 
Vb.net
Vb.netVb.net
Vb.net
 
H2O World - Building a Smarter Application - Tom Kraljevic
H2O World - Building a Smarter Application - Tom KraljevicH2O World - Building a Smarter Application - Tom Kraljevic
H2O World - Building a Smarter Application - Tom Kraljevic
 

More from Mohammad Usman

Exploring Search Engines and their usage online
Exploring Search Engines and their usage onlineExploring Search Engines and their usage online
Exploring Search Engines and their usage online
Mohammad Usman
 
Web Technologies Types available on the internet
Web Technologies Types available on the internetWeb Technologies Types available on the internet
Web Technologies Types available on the internet
Mohammad Usman
 
AI open tools for Research.pptx
AI open tools for Research.pptxAI open tools for Research.pptx
AI open tools for Research.pptx
Mohammad Usman
 
Open AI Tools for Data Analytics
Open AI Tools for Data AnalyticsOpen AI Tools for Data Analytics
Open AI Tools for Data Analytics
Mohammad Usman
 
Data structures and algorithms
Data structures and algorithmsData structures and algorithms
Data structures and algorithms
Mohammad Usman
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
Mohammad Usman
 
Career Guide
Career GuideCareer Guide
Career Guide
Mohammad Usman
 
C areer banner
C areer bannerC areer banner
C areer banner
Mohammad Usman
 
Career counselling banner
Career counselling bannerCareer counselling banner
Career counselling banner
Mohammad Usman
 
Career ccc
Career cccCareer ccc
Career ccc
Mohammad Usman
 
Career ccc hindi
Career ccc hindiCareer ccc hindi
Career ccc hindi
Mohammad Usman
 
Literacy for or_against_the_poor_seminar
Literacy for or_against_the_poor_seminarLiteracy for or_against_the_poor_seminar
Literacy for or_against_the_poor_seminar
Mohammad Usman
 

More from Mohammad Usman (12)

Exploring Search Engines and their usage online
Exploring Search Engines and their usage onlineExploring Search Engines and their usage online
Exploring Search Engines and their usage online
 
Web Technologies Types available on the internet
Web Technologies Types available on the internetWeb Technologies Types available on the internet
Web Technologies Types available on the internet
 
AI open tools for Research.pptx
AI open tools for Research.pptxAI open tools for Research.pptx
AI open tools for Research.pptx
 
Open AI Tools for Data Analytics
Open AI Tools for Data AnalyticsOpen AI Tools for Data Analytics
Open AI Tools for Data Analytics
 
Data structures and algorithms
Data structures and algorithmsData structures and algorithms
Data structures and algorithms
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
 
Career Guide
Career GuideCareer Guide
Career Guide
 
C areer banner
C areer bannerC areer banner
C areer banner
 
Career counselling banner
Career counselling bannerCareer counselling banner
Career counselling banner
 
Career ccc
Career cccCareer ccc
Career ccc
 
Career ccc hindi
Career ccc hindiCareer ccc hindi
Career ccc hindi
 
Literacy for or_against_the_poor_seminar
Literacy for or_against_the_poor_seminarLiteracy for or_against_the_poor_seminar
Literacy for or_against_the_poor_seminar
 

Recently uploaded

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 

Recently uploaded (20)

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 

Object oriented programming with c++

  • 2. IN OBJECT ORIENTED PROGRAMMING THE PROGRAM IS DIVIDED INTO ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐. A. class B. object C. function D. none of these 2
  • 3. THE PROCESS BY WHICH OBJECTS OF ONE CLASS ACQUIRE THE PROPERTIES OF OBJECTS OF ANOTHER CLASS IS CALLED ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ . A. abstraction B. inheritance C. encapsulation D. polymorphism 3
  • 4. IN OOP WHICH COCEPT PROVIDES THE IDEA OF REUSABILITY. A. abstraction B. inheritance C. encapsulation D. polymorphism 4
  • 5. THE PROCESS OF MAKING AN OPERATOR TO EXHIBIT DIFFERENT BEHAVIORS IN DIFFERENT INSTANCES IS CALLED ‐‐‐‐‐. A. function overloading B. operator overloading C. inheritance D. none of these 5
  • 6. THE PROCESS OF MAKING A FUNCTION TO EXHIBIT DIFFERENT BEHAVIORS IN DIFFERENT INSTANCES IS CALLED ‐‐‐‐‐. A. function overloading B. operator overloading C. inheritance D. none of these 6
  • 7. OBJECTS COMMUNICATE WITH ONE ANOTHER BY USING ‐‐‐‐‐‐‐‐‐‐. A. message passing B. operator overloading C. inheritance D. both a & b 7
  • 8. THROUGH ‐‐‐‐‐‐‐‐ WE CAN ELIMINATE REDUNDANT CODE AND EXTEND THE USE OF EXISTING CLASS. A. INHERITANCE B. OPERATOR OVERLOADING C. ENCAPSULATION D. BOTH A & B 8
  • 9. THE ‐‐‐‐‐‐‐‐‐ PRINCIPLE HELPS THE PROGRAMMER TO BUILD SECURE PROGRAMS. A. OPERATOR OVERLOADING B. ENCAPSULATION C. DATA HIDING D. POLYMORPHISM 9
  • 10. WHAT ARE THE BASIC RUN TIME ENTITIES IN AN OBJECT ORIENTED PROGRAM? A. OBJECTS B. FUNCTIONS C. DATA D. NONE OF THESE 10
  • 11. OOPS FOLLOWS ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ APPROACH DURING PROGRAM DESIGN. A. TOP DOWN B. BOTTOM ‐UP C. BOTH A & B D. NONE OF THESE 11
  • 12. THE TECHNIQUE OF HIDING INTERNAL DETAILS IN AN OBJECT IS CALLED‐‐‐‐‐ A. ENCAPSULATION B. FUNCTIONS C. ABSTRACTION D. INHERITANCE 12
  • 13. CLASSES ARE ‐‐‐‐‐‐‐‐ DATATYPE. A. DERIVED B. USER‐DEFINED C. BUILT‐IN D. BOTH A & C 13
  • 14. ‐‐‐‐‐‐‐‐‐‐ PROVIDES INTERFACE BETWEEN THE OBJECT’S DATA AND PROGRAM. A. OBJECT B. FUNCTIONS C. CLASS D. POLYMORPHISM 14
  • 15. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ REFERS TO THE LINKING OF PROCEDURE CALL TO THE CODE TO BE EXECUTED IN RESPONSE TO THECALL. A. POLYMORPHISM B. FUNCTIONS C. DYNAMIC BINDING D. OBJECT 15
  • 16. A ‐‐‐‐‐‐‐‐ FOR AN OBJECT IS A REQUEST FOR EXECUTION OF A PROCEDURE. A. OBJECT B. FUNCTIONS C. DYNAMIC BINDING D. MESSAGE 16
  • 17. THE << OPERATOR IS KNOWN AS‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐. A. PUT TO B. GET FROM C. INSERTION D. BOTH A & C 17
  • 18. THE >> OPERATOR IS KNOWN AS‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐. A. PUT TO B. GET FROM C. EXTRACTION D. BOTH B & C 18
  • 19. ‐‐‐‐‐‐‐‐ CONTAINS FUNCTION PROTOTYPE FOR THE STANDARD INPUT AND OUTPUT FUNCTIONS. A. IOMANIP.H B. IOSTREAM.H C. STDLIB.H D. BOTH A & B 19
  • 20. IN C++ DEFAULT RETURN TYPE FOR ALL THE FUNCTIONS IS ‐‐‐‐‐‐‐‐‐. A. INT B. VOID C. FLOAT D. NONE OF THESE 20
  • 21. TNE MULTIPLE USE OF INPUT AND OUTPUT OPERATOR IS CALLED ……………. A. POLYMORPHISM B. INHERITANCE C. CASCADING D. NONE OF THESE. 21
  • 22. WHICH OF THE FOLLOWING IS NOT A FEATURE OF OOPS. A. POLYMORPHISM B. INHERITANCE C. DYNAMIC BINDING D. NONE OF THESE. 22
  • 23. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ RELATIONSHIP INDICATES THAT THE CHANGE TO AN INDEPENDENT THING WILL AFFECT THEDEPENDENT THING. A. INHERITANCE B. DEPENDENCY C. ASSOCIATION D. AGGREGATION 23
  • 24. FIND THE FALSE STATEMENT FROM THE FOLLOWING A. AN IDENTIFIER IN C++ IS DEFINED AS AN UNLIMITED SEQUENCE OF CHARACTERS. B. THE FIRST CHARACTER MUST BE AN ALPHABET FOLLOWED BY DIGITS OR UNDERSCORE OR ALPHABETS. C. IDENTIFIERS ARE NOT CASE SENSITIVE. D. YOU CAN USE BOTH UPPERCASE AND LOWER CASE ALPHABETS IN THE SAME IDENTIFIER. 24
  • 25. WHICH ONE IS THE OBJECT ORIENTED PROGRAMMING LANGUAGE? 25 A. Cobol B. C C. C++ D. both C & C++