SlideShare a Scribd company logo
1 of 5
OLD Question Set Of OOPS for CCAT
(previously known as CET)
Q1. What makes a class abstract?
1.
2.
3.
4.

The class must not have method definitions
The class must have a constructor that takes no arguments
The class may only exist during the planning phase
The class must have a function definition equal to zero

Q2The maximum number of dimension an array can have in `c` is
1.
2.
3.
4.

depends on the operating system
depend on the program
depends on the compiler
depends on the programmer

Q3In object oriented programming units of code are called functions. Units of data
are called _________________
1.
2.
3.
4.

Structures
Bits
Targets
Blocks

Q4Which of the following are class relationships?
1.
2.
3.
4.

Part-of relationship.
Use-a relationship.
Is-a relationship.
All

Q5When a virtual function is not redefined by a derived class
1.
2.
3.
4.

The version defined in the base class will be used.
The version defined in immediate derived class will be used.
It will not do any thing.
Either 1 or 2

For further info plese vist
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
OLD Question Set Of OOPS for CCAT
(previously known as CET)

Q6 Which of the following is true about abstract data type.
1. Object of an abstract class type can’t be created
2. We can derive classes from these abstract classes
3. Object of an abstract class type can’t be created and We can derive classes
from these abstract classes
4. None of these options

Q7 When the base class is inherited by using the private access specifier
1. All public and protected members of the base class become private
members of the derived class.
2. All public and protected members of the base class become protected
members of the derived class.
3. All protected members of the base class will not be inherited
4. All public members of the base class become protected members

Q8 In object oriented programming we uses classes because they
1. Can model objects in the real world
2. Class works like entity all the things at one place
3. Provides data security
4. All of the above
Q9 A class is a ________ for an object
1. Definition
2. Template
3. Hard copy
4. Data set
Q10 Which one of the following describes characteristics of "protected"
inheritance?
1. The base class has access only to the public or protected members of the
derived class.
2. The derived class has non-public, inheritable, access to all but the private
members of the base class.
3. The derived class has access to all members of the base class.
4. The private members of the base class are visible within the derived class.
For further info plese vist
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
OLD Question Set Of OOPS for CCAT
(previously known as CET)
Q11 A function contained within a class is called
1. A member function
2. An operator
3. A class function
4. A method
Q 12 C++ is not fully object oriented by
1.
2.
3.
4.

Primitive Data Type
Copy Constructor
Destructor
C++ is fully object oriented

Q13 Abstract classes that contain
1. No function
2. Least one pure virtual function
3. No virtual function
4. All of the above
Q14 In C++ what does the operator overloading means.
1. Giving new meaning to existing C++ operators
2. Defining functionality of existing C++ operator for user define objects.
3. Both 1 and 2
4. None of the above
Q15 An object oriented Programming language covers
i. Encapsulation
ii. Interdependence
iii. Polymorphism
iv. Inheritance
1. i , ii and iii
2. ii, iii and iv
3. i, iii and iv
4. i, ii, iii and iv
Q16 A static function can be called using the class name and function.
1. True
2. False
3. Depends on language
4. Cannot say

Q17._________ can access the private and protected data.
1. Friend function
2. Member function of friend class
3. Both
For further info plese vist
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
OLD Question Set Of OOPS for CCAT
(previously known as CET)
4. We cannot access.

Q18. Object is an instance of a class. It has ______________________.
1.
2.
3.
4.

State
Behaviour
Identity
All of the above

Q19 Polymorphism can be achived by ________________.
1.
2.
3.
4.

Inheritance
Overloading
Overriding
All of the above

Q20 A class inherits from a derived class, is called as __________________.
1.
2.
3.
4.

Single inheritance
Multiple inheritance
Multilevel inheritance
Hierarchical inheritance

Q21. An instance method _________________
1.
2.
3.
4.

Represents the behaviour of an object
Represents the attribute of an object
Represents another class
1 and 2

5. Q22 The main objective of an abstract base class for achieving __________
polymorphism.
6. Compiletime
7. Runtime
8. Both of the above
9. None of the above
For further info plese vist
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
OLD Question Set Of OOPS for CCAT
(previously known as CET)
Q23.Operator overloading is ____________.
1.
2.
3.
4.

Making c++ operators works with objects
Giving new meaning to existing c++ operators
Making new c++ operator
Both 1 & 2

Q24 Parametric polymorphism is ______________.
1.
2.
3.
4.

Static binding
Dynamic binding.
Both 1 and 2
None of the abovee

Q25. In ___________, the constructor is executed in the order of inheritance.
1.
2.
3.
4.

Single inheritance
Multiple inheritance
Multilevel inheritance
Hierarchical inheritance

Q26.We can have virtual ___________ but not virtual __________.
1.
2.
3.
4.

Constructor, Destructor
Destructor, Constructor
Both can have virtual
None can have virtual

Q 27.______________ is a technique for minimizing interdependencies among modules
by defining a strict external interface.
1.
2.
3.
4.

Interface
Inheritance
Abstraction
Encapulation

For further info plese vist
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru

More Related Content

What's hot

51955853 banking-system-documentation
51955853 banking-system-documentation51955853 banking-system-documentation
51955853 banking-system-documentationAziz Muslim
 
mini project in c using data structure
mini project in c using data structure mini project in c using data structure
mini project in c using data structure SWETALEENA2
 
Access specifiers (Public Private Protected) C++
Access specifiers (Public Private  Protected) C++Access specifiers (Public Private  Protected) C++
Access specifiers (Public Private Protected) C++vivekkumar2938
 
Virtual base class
Virtual base classVirtual base class
Virtual base classTech_MX
 
Entity Relationship Diagram for Blogging Platform
Entity Relationship Diagram for Blogging PlatformEntity Relationship Diagram for Blogging Platform
Entity Relationship Diagram for Blogging PlatformArman Hossain
 
University management system (Credit Hour System)
University management system (Credit Hour System)University management system (Credit Hour System)
University management system (Credit Hour System)Mostafa Sakr
 
Exception handling
Exception handlingException handling
Exception handlingxavier john
 
Inter Thread Communicationn.pptx
Inter Thread Communicationn.pptxInter Thread Communicationn.pptx
Inter Thread Communicationn.pptxSelvakumarNSNS
 
Bank management system c++
Bank management system c++Bank management system c++
Bank management system c++Akshay Sorathia
 

What's hot (13)

Constructors and Destructor in C++
Constructors and Destructor in C++Constructors and Destructor in C++
Constructors and Destructor in C++
 
51955853 banking-system-documentation
51955853 banking-system-documentation51955853 banking-system-documentation
51955853 banking-system-documentation
 
mini project in c using data structure
mini project in c using data structure mini project in c using data structure
mini project in c using data structure
 
Constructors destructors
Constructors destructorsConstructors destructors
Constructors destructors
 
Access specifiers (Public Private Protected) C++
Access specifiers (Public Private  Protected) C++Access specifiers (Public Private  Protected) C++
Access specifiers (Public Private Protected) C++
 
Virtual base class
Virtual base classVirtual base class
Virtual base class
 
Scanner class java
Scanner class javaScanner class java
Scanner class java
 
Access modifiers in java
Access modifiers in javaAccess modifiers in java
Access modifiers in java
 
Entity Relationship Diagram for Blogging Platform
Entity Relationship Diagram for Blogging PlatformEntity Relationship Diagram for Blogging Platform
Entity Relationship Diagram for Blogging Platform
 
University management system (Credit Hour System)
University management system (Credit Hour System)University management system (Credit Hour System)
University management system (Credit Hour System)
 
Exception handling
Exception handlingException handling
Exception handling
 
Inter Thread Communicationn.pptx
Inter Thread Communicationn.pptxInter Thread Communicationn.pptx
Inter Thread Communicationn.pptx
 
Bank management system c++
Bank management system c++Bank management system c++
Bank management system c++
 

Viewers also liked

C and data structure
C and data structureC and data structure
C and data structureprabhatjon
 
CCAT Aug 2013 paper
CCAT Aug 2013 paperCCAT Aug 2013 paper
CCAT Aug 2013 paperprabhatjon
 
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination prabhatjon
 
Some question for Section C (Embeded )
Some question for Section C (Embeded )Some question for Section C (Embeded )
Some question for Section C (Embeded )prabhatjon
 
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014prabhatjon
 
Some other Importent Question (Mix)
Some other Importent Question (Mix)Some other Importent Question (Mix)
Some other Importent Question (Mix)prabhatjon
 

Viewers also liked (8)

C and data structure
C and data structureC and data structure
C and data structure
 
CCAT Aug 2013 paper
CCAT Aug 2013 paperCCAT Aug 2013 paper
CCAT Aug 2013 paper
 
Section b a
Section b  aSection b  a
Section b a
 
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination
 
Section c
Section cSection c
Section c
 
Some question for Section C (Embeded )
Some question for Section C (Embeded )Some question for Section C (Embeded )
Some question for Section C (Embeded )
 
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
 
Some other Importent Question (Mix)
Some other Importent Question (Mix)Some other Importent Question (Mix)
Some other Importent Question (Mix)
 

Similar to Oops Paper

Similar to Oops Paper (20)

C#
C#C#
C#
 
CHAPTER 3 part1.pdf
CHAPTER 3 part1.pdfCHAPTER 3 part1.pdf
CHAPTER 3 part1.pdf
 
Java sessionnotes
Java sessionnotesJava sessionnotes
Java sessionnotes
 
C# interview quesions
C# interview quesionsC# interview quesions
C# interview quesions
 
OOP presentation.pptx
OOP presentation.pptxOOP presentation.pptx
OOP presentation.pptx
 
Opp concept in c++
Opp concept in c++Opp concept in c++
Opp concept in c++
 
OOP Unit 2 - Classes and Object
OOP Unit 2 - Classes and ObjectOOP Unit 2 - Classes and Object
OOP Unit 2 - Classes and Object
 
Java Inheritance
Java InheritanceJava Inheritance
Java Inheritance
 
Quiz bigdata
Quiz bigdataQuiz bigdata
Quiz bigdata
 
PPT Lecture-1.4.pptx
PPT Lecture-1.4.pptxPPT Lecture-1.4.pptx
PPT Lecture-1.4.pptx
 
INHERITANCE-Oopc ppt-ta4
INHERITANCE-Oopc ppt-ta4INHERITANCE-Oopc ppt-ta4
INHERITANCE-Oopc ppt-ta4
 
OOP_presentation.pptx
OOP_presentation.pptxOOP_presentation.pptx
OOP_presentation.pptx
 
Delphi qa
Delphi qaDelphi qa
Delphi qa
 
12th ip CBSE chapter 4 oop in java notes complete
12th ip CBSE  chapter 4 oop in java notes complete12th ip CBSE  chapter 4 oop in java notes complete
12th ip CBSE chapter 4 oop in java notes complete
 
Devry CIS 247 Full Course Latest
Devry CIS 247 Full Course LatestDevry CIS 247 Full Course Latest
Devry CIS 247 Full Course Latest
 
Packages,static,this keyword in java
Packages,static,this keyword in javaPackages,static,this keyword in java
Packages,static,this keyword in java
 
Nested class in java
Nested class in javaNested class in java
Nested class in java
 
Inheritance
InheritanceInheritance
Inheritance
 
core java material.pdf
core java material.pdfcore java material.pdf
core java material.pdf
 
Ppl home assignment_unit3
Ppl home assignment_unit3Ppl home assignment_unit3
Ppl home assignment_unit3
 

More from prabhatjon

Registration open for CCDAC AUG 2015 batch
Registration open for CCDAC AUG 2015 batchRegistration open for CCDAC AUG 2015 batch
Registration open for CCDAC AUG 2015 batchprabhatjon
 
C-CAT Exam Laptop Configuration
C-CAT Exam Laptop ConfigurationC-CAT Exam Laptop Configuration
C-CAT Exam Laptop Configurationprabhatjon
 
CDAC CCAT examination important question
CDAC CCAT examination important questionCDAC CCAT examination important question
CDAC CCAT examination important questionprabhatjon
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructureprabhatjon
 
Instructions to candidates For DASDM
Instructions to candidates For DASDMInstructions to candidates For DASDM
Instructions to candidates For DASDMprabhatjon
 
Critical Aptitude Question
Critical Aptitude QuestionCritical Aptitude Question
Critical Aptitude Questionprabhatjon
 
Delta final paper
Delta final paperDelta final paper
Delta final paperprabhatjon
 
Aloha paper for cdac ccpp
Aloha paper  for  cdac ccppAloha paper  for  cdac ccpp
Aloha paper for cdac ccppprabhatjon
 
Diploma in Advanced Software Development Methodologies (DASDM)
Diploma in Advanced Software Development Methodologies  (DASDM)Diploma in Advanced Software Development Methodologies  (DASDM)
Diploma in Advanced Software Development Methodologies (DASDM)prabhatjon
 
Noida placement comp
Noida placement compNoida placement comp
Noida placement compprabhatjon
 
New Address of CDAC
New Address of CDACNew Address of CDAC
New Address of CDACprabhatjon
 
Course summary@bytes
Course summary@bytesCourse summary@bytes
Course summary@bytesprabhatjon
 
Admission booklet pg diploma courses cdac-v4
Admission booklet pg diploma courses cdac-v4Admission booklet pg diploma courses cdac-v4
Admission booklet pg diploma courses cdac-v4prabhatjon
 
Pg dst admissions-list
Pg dst admissions-listPg dst admissions-list
Pg dst admissions-listprabhatjon
 
List of companies visited Aug 2012 batch
List of companies visited Aug 2012 batchList of companies visited Aug 2012 batch
List of companies visited Aug 2012 batchprabhatjon
 

More from prabhatjon (20)

Registration open for CCDAC AUG 2015 batch
Registration open for CCDAC AUG 2015 batchRegistration open for CCDAC AUG 2015 batch
Registration open for CCDAC AUG 2015 batch
 
C-CAT Exam Laptop Configuration
C-CAT Exam Laptop ConfigurationC-CAT Exam Laptop Configuration
C-CAT Exam Laptop Configuration
 
CDAC CCAT examination important question
CDAC CCAT examination important questionCDAC CCAT examination important question
CDAC CCAT examination important question
 
Core java
Core javaCore java
Core java
 
Os paper
Os paperOs paper
Os paper
 
Cplus plus abd datastructure
Cplus plus abd datastructureCplus plus abd datastructure
Cplus plus abd datastructure
 
Instructions to candidates For DASDM
Instructions to candidates For DASDMInstructions to candidates For DASDM
Instructions to candidates For DASDM
 
Dsda
DsdaDsda
Dsda
 
Critical Aptitude Question
Critical Aptitude QuestionCritical Aptitude Question
Critical Aptitude Question
 
Cyber law ipc
Cyber law ipcCyber law ipc
Cyber law ipc
 
Ccpp pune
Ccpp puneCcpp pune
Ccpp pune
 
Delta final paper
Delta final paperDelta final paper
Delta final paper
 
Aloha paper for cdac ccpp
Aloha paper  for  cdac ccppAloha paper  for  cdac ccpp
Aloha paper for cdac ccpp
 
Diploma in Advanced Software Development Methodologies (DASDM)
Diploma in Advanced Software Development Methodologies  (DASDM)Diploma in Advanced Software Development Methodologies  (DASDM)
Diploma in Advanced Software Development Methodologies (DASDM)
 
Noida placement comp
Noida placement compNoida placement comp
Noida placement comp
 
New Address of CDAC
New Address of CDACNew Address of CDAC
New Address of CDAC
 
Course summary@bytes
Course summary@bytesCourse summary@bytes
Course summary@bytes
 
Admission booklet pg diploma courses cdac-v4
Admission booklet pg diploma courses cdac-v4Admission booklet pg diploma courses cdac-v4
Admission booklet pg diploma courses cdac-v4
 
Pg dst admissions-list
Pg dst admissions-listPg dst admissions-list
Pg dst admissions-list
 
List of companies visited Aug 2012 batch
List of companies visited Aug 2012 batchList of companies visited Aug 2012 batch
List of companies visited Aug 2012 batch
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

Oops Paper

  • 1. OLD Question Set Of OOPS for CCAT (previously known as CET) Q1. What makes a class abstract? 1. 2. 3. 4. The class must not have method definitions The class must have a constructor that takes no arguments The class may only exist during the planning phase The class must have a function definition equal to zero Q2The maximum number of dimension an array can have in `c` is 1. 2. 3. 4. depends on the operating system depend on the program depends on the compiler depends on the programmer Q3In object oriented programming units of code are called functions. Units of data are called _________________ 1. 2. 3. 4. Structures Bits Targets Blocks Q4Which of the following are class relationships? 1. 2. 3. 4. Part-of relationship. Use-a relationship. Is-a relationship. All Q5When a virtual function is not redefined by a derived class 1. 2. 3. 4. The version defined in the base class will be used. The version defined in immediate derived class will be used. It will not do any thing. Either 1 or 2 For further info plese vist http://acts.cdac.in http://cdacguru.wordpress.com http://fb.com/cdacguru
  • 2. OLD Question Set Of OOPS for CCAT (previously known as CET) Q6 Which of the following is true about abstract data type. 1. Object of an abstract class type can’t be created 2. We can derive classes from these abstract classes 3. Object of an abstract class type can’t be created and We can derive classes from these abstract classes 4. None of these options Q7 When the base class is inherited by using the private access specifier 1. All public and protected members of the base class become private members of the derived class. 2. All public and protected members of the base class become protected members of the derived class. 3. All protected members of the base class will not be inherited 4. All public members of the base class become protected members Q8 In object oriented programming we uses classes because they 1. Can model objects in the real world 2. Class works like entity all the things at one place 3. Provides data security 4. All of the above Q9 A class is a ________ for an object 1. Definition 2. Template 3. Hard copy 4. Data set Q10 Which one of the following describes characteristics of "protected" inheritance? 1. The base class has access only to the public or protected members of the derived class. 2. The derived class has non-public, inheritable, access to all but the private members of the base class. 3. The derived class has access to all members of the base class. 4. The private members of the base class are visible within the derived class. For further info plese vist http://acts.cdac.in http://cdacguru.wordpress.com http://fb.com/cdacguru
  • 3. OLD Question Set Of OOPS for CCAT (previously known as CET) Q11 A function contained within a class is called 1. A member function 2. An operator 3. A class function 4. A method Q 12 C++ is not fully object oriented by 1. 2. 3. 4. Primitive Data Type Copy Constructor Destructor C++ is fully object oriented Q13 Abstract classes that contain 1. No function 2. Least one pure virtual function 3. No virtual function 4. All of the above Q14 In C++ what does the operator overloading means. 1. Giving new meaning to existing C++ operators 2. Defining functionality of existing C++ operator for user define objects. 3. Both 1 and 2 4. None of the above Q15 An object oriented Programming language covers i. Encapsulation ii. Interdependence iii. Polymorphism iv. Inheritance 1. i , ii and iii 2. ii, iii and iv 3. i, iii and iv 4. i, ii, iii and iv Q16 A static function can be called using the class name and function. 1. True 2. False 3. Depends on language 4. Cannot say Q17._________ can access the private and protected data. 1. Friend function 2. Member function of friend class 3. Both For further info plese vist http://acts.cdac.in http://cdacguru.wordpress.com http://fb.com/cdacguru
  • 4. OLD Question Set Of OOPS for CCAT (previously known as CET) 4. We cannot access. Q18. Object is an instance of a class. It has ______________________. 1. 2. 3. 4. State Behaviour Identity All of the above Q19 Polymorphism can be achived by ________________. 1. 2. 3. 4. Inheritance Overloading Overriding All of the above Q20 A class inherits from a derived class, is called as __________________. 1. 2. 3. 4. Single inheritance Multiple inheritance Multilevel inheritance Hierarchical inheritance Q21. An instance method _________________ 1. 2. 3. 4. Represents the behaviour of an object Represents the attribute of an object Represents another class 1 and 2 5. Q22 The main objective of an abstract base class for achieving __________ polymorphism. 6. Compiletime 7. Runtime 8. Both of the above 9. None of the above For further info plese vist http://acts.cdac.in http://cdacguru.wordpress.com http://fb.com/cdacguru
  • 5. OLD Question Set Of OOPS for CCAT (previously known as CET) Q23.Operator overloading is ____________. 1. 2. 3. 4. Making c++ operators works with objects Giving new meaning to existing c++ operators Making new c++ operator Both 1 & 2 Q24 Parametric polymorphism is ______________. 1. 2. 3. 4. Static binding Dynamic binding. Both 1 and 2 None of the abovee Q25. In ___________, the constructor is executed in the order of inheritance. 1. 2. 3. 4. Single inheritance Multiple inheritance Multilevel inheritance Hierarchical inheritance Q26.We can have virtual ___________ but not virtual __________. 1. 2. 3. 4. Constructor, Destructor Destructor, Constructor Both can have virtual None can have virtual Q 27.______________ is a technique for minimizing interdependencies among modules by defining a strict external interface. 1. 2. 3. 4. Interface Inheritance Abstraction Encapulation For further info plese vist http://acts.cdac.in http://cdacguru.wordpress.com http://fb.com/cdacguru