The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
..…… are entities that combine the properties of procedures and data since they perform computations and save local state.
A.
Methods
B.
Interfaces
C.
Objects
D.
Others
Correct Answer
C. Objects
Explanation Objects are entities that combine the properties of procedures and data since they perform computations and save local state. Objects encapsulate data and behavior, allowing them to interact with other objects and perform tasks. They can have methods, which are procedures that define the behavior of the object, and they can also have attributes that store data specific to the object. Objects are fundamental in object-oriented programming and are used to model and represent real-world entities or concepts in software systems.
Rate this question:
2.
....…… . is a method of implementation in which programs are organized as cooperative collections of objects, each of which represents an instance of some class, and whose classes are all members of a hierarchy of classes united via inheritance relationships.
A.
Object-oriented design
B.
Object-oriented programming
C.
Object-oriented analysis
D.
Object-oriented database
Correct Answer
B. Object-oriented programming
Explanation Object-oriented programming is a method of implementation in which programs are organized as cooperative collections of objects. Each object represents an instance of some class, and the classes are all members of a hierarchy of classes united via inheritance relationships. In object-oriented programming, the focus is on creating objects that encapsulate data and behavior, allowing for modular and reusable code. This approach promotes code organization, flexibility, and code reusability.
Rate this question:
3.
Language is object-oriented if and only if it satisfies the following requirements:
A.
It supports objects that are data abstractions with an interface of named operations and a hidden local state.
B.
Objects have an associated type [class].
C.
Types [classes] may inherit attributes from supertypes [superclasses].
D.
It supports multithreading
Correct Answer(s)
A. It supports objects that are data abstractions with an interface of named operations and a hidden local state. B. Objects have an associated type [class]. C. Types [classes] may inherit attributes from supertypes [superclasses].
Explanation A language is considered object-oriented if it supports objects that are data abstractions with an interface of named operations and a hidden local state. This means that the language allows for the creation of objects that encapsulate data and behavior, and can be manipulated through their defined operations. Additionally, objects in an object-oriented language have an associated type (class), which defines their structure and behavior. Furthermore, the language should also support the concept of inheritance, where types (classes) can inherit attributes from their parent types (superclasses).
Rate this question:
4.
…… is a method of design encompassing the process of object-oriented decomposition and a notation for depicting both logical and physical as well as static and dynamic models of the system under design.
A.
Object-oriented design
B.
Object-oriented programming
C.
Object-oriented analysis
D.
Object-oriented database
Correct Answer
A. Object-oriented design
Explanation Object-oriented design is a method of design that involves breaking down a system into smaller, more manageable objects. It also includes creating models, both logical and physical, to represent the system. These models can depict both static aspects, such as the structure of the system, and dynamic aspects, such as the behavior of the system. Object-oriented design is a crucial step in the development of object-oriented systems, as it helps in creating a well-organized and efficient design.
Rate this question:
5.
…… is a method of analysis that examines requirements from the perspective of the classes and objects found in the vocabulary of the problem domain.
A.
Object-oriented design
B.
Object-oriented programming
C.
Object-oriented analysis
D.
Object-oriented database
Correct Answer
C. Object-oriented analysis
Explanation Object-oriented analysis is a method of analysis that examines requirements from the perspective of the classes and objects found in the vocabulary of the problem domain. This approach focuses on understanding the problem domain and identifying the objects and their relationships. It helps in identifying the attributes and behaviors of the objects, as well as their interactions. Object-oriented analysis is an important step in the software development process as it lays the foundation for object-oriented design and object-oriented programming. It helps in creating a clear understanding of the problem domain and facilitates the development of effective and efficient software solutions.
Rate this question:
6.
6- major elements of object model are:
A.
Class,Object,Method,Interface
B.
Class,Property,Inheritance
C.
Abstraction,Encapsulation, Modularity, Hierarchy
D.
Abstraction,Class,Polymorphism
Correct Answer
C. Abstraction,Encapsulation, Modularity, Hierarchy
Explanation The correct answer is Abstraction, Encapsulation, Modularity, Hierarchy. These four major elements are fundamental concepts in object-oriented programming. Abstraction refers to hiding unnecessary details and only showing essential features. Encapsulation involves bundling data and methods together into a single unit, known as a class, and providing access to them through interfaces. Modularity promotes dividing a program into separate, independent modules for better organization and maintainability. Hierarchy establishes relationships between classes, allowing for inheritance and the creation of subclasses with specialized features.
Rate this question:
7.
Minor elements of object model are
A.
Class,Object,Method,Interface
B.
Class,Property,Inheritance
C.
Typing,Concurrency, Persistence
D.
Abstraction,Class,Polymorphism
Correct Answer
C. Typing,Concurrency, Persistence
Explanation The correct answer is Typing, Concurrency, Persistence. These are minor elements of the object model. Typing refers to the data types and how they are defined and used within the object model. Concurrency refers to the ability of objects to execute simultaneously and handle multiple tasks at once. Persistence refers to the ability of objects to retain their state even after the program has ended, allowing for data to be stored and retrieved. These three elements play a crucial role in the functionality and design of the object model.
Rate this question:
8.
An …… denotes the essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer.
A.
Abstraction.
B.
Encapsulation
C.
Modularity.
D.
Hierarchy
Correct Answer
A. Abstraction.
Explanation Abstraction denotes the essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer. This means that abstraction allows us to focus on the important aspects of an object while ignoring the irrelevant details. It helps in simplifying complex systems by breaking them down into manageable components. Abstraction is a fundamental concept in object-oriented programming and design, allowing for the creation of reusable and modular code.
Rate this question:
9.
Kinds of abstractions are :
A.
Entity,action,virtual machine,coincidental
B.
Class,object,method
C.
Analysis,design,programming
D.
Others
Correct Answer
A. Entity,action,virtual machine,coincidental
Explanation The correct answer is entity, action, virtual machine, coincidental. These are the different kinds of abstractions. An abstraction is a simplified representation of something complex. In this context, an entity abstraction refers to representing an object or concept as a distinct entity. Action abstraction refers to representing a process or behavior as a single action. Virtual machine abstraction refers to creating a virtual representation of a physical machine or system. Coincidental abstraction refers to accidental or unintentional abstractions that occur during the process of modeling or representing something.
Rate this question:
10.
…… is An object that represents a useful model of a problem domain or solution domain entity
A.
Entity abstraction
B.
BAction abstraction
C.
Virtual machine abstraction
D.
Coincidental abstraction
Correct Answer
A. Entity abstraction
Explanation Entity abstraction refers to an object that represents a useful model of a problem domain or solution domain entity. It allows us to simplify complex systems by focusing on the essential characteristics and behaviors of the entity, while hiding unnecessary details. This abstraction helps in understanding and managing the entity more effectively, making it a valuable tool in problem-solving and solution development.
Rate this question:
11.
- …… is An object that provides a generalized set of operations, all of which perform the same kind of function
A.
Entity abstraction
B.
Action abstraction
C.
Virtual machine abstraction
D.
Coincidental abstraction
Correct Answer
B. Action abstraction
Explanation Action abstraction refers to an object that provides a generalized set of operations, all of which perform the same kind of function. This means that the object encapsulates a set of actions or behaviors that can be performed, allowing the user to interact with it without needing to know the specific details of how each action is implemented. This abstraction simplifies the usage of the object and promotes code reusability by grouping similar actions together.
Rate this question:
12.
…… is the process of compartmentalizing the elements of an abstraction that constitute its structure and behavior; encapsulation serves to separate the contractual interface of an abstraction and its implementation.
A.
Abstraction.
B.
Encapsulation.
C.
Modularity.
D.
Hierarchy
Correct Answer
B. Encapsulation.
Explanation Encapsulation is the process of compartmentalizing the elements of an abstraction, separating the contractual interface from its implementation. This allows for the structure and behavior of the abstraction to be contained and hidden, providing a clear and defined interface for interacting with the abstraction without exposing its internal details. Encapsulation helps to ensure data integrity and security by preventing direct access to the implementation, and it promotes code reusability and maintainability by allowing for changes to the implementation without affecting the external interface.
Rate this question:
13.
…… is the property of a system that has been decomposed into a set of cohesive and loosely coupled modules.
A.
Abstraction
B.
Encapsulation
C.
Modularity.
D.
Hierarchy
Correct Answer
C. Modularity.
Explanation Modularity refers to the property of a system that has been broken down into separate modules that are both cohesive and loosely coupled. Cohesiveness means that each module performs a specific and well-defined function, while loose coupling means that the modules have minimal dependencies on each other. This allows for easier maintenance, reusability, and scalability of the system. Abstraction refers to the process of simplifying complex systems by focusing on essential details, encapsulation refers to the bundling of data and methods into a single unit, and hierarchy refers to the organization of elements in a hierarchical structure.
Rate this question:
14.
…… is a ranking or ordering of abstractions.
A.
Abstraction.
B.
Encapsulation
C.
Modularity.
D.
Hierarchy
Correct Answer
D. Hierarchy
Explanation Hierarchy is a ranking or ordering of abstractions. It represents a system or structure where elements are organized in a specific order based on their importance, level of authority, or relationship to one another. In the context of abstractions, hierarchy refers to the arrangement of abstract concepts or ideas in a hierarchical manner, with higher-level abstractions being more general and encompassing lower-level abstractions. This allows for a clear and organized understanding of complex systems or ideas by breaking them down into manageable levels of abstraction.
Rate this question:
15.
…… is the enforcement of the class of an object, such that objects of different types may not be interchanged, or at the most, they may be interchanged only in very restricted ways.
A.
Typing
B.
Concurrency
C.
Persistence
D.
Threading
Correct Answer
A. Typing
Explanation Typing is the enforcement of the class of an object, meaning that objects of different types cannot be interchanged or can only be interchanged in very restricted ways. This refers to the concept of assigning a specific data type to variables or objects in a programming language, which determines the operations that can be performed on them. This ensures type safety and prevents errors that may occur when incompatible types are used interchangeably.
Rate this question:
16.
…… is the property that distinguishes an active object from one that is
A.
Typing
B.
Concurrency
C.
Persistence
D.
Threading
Correct Answer
B. Concurrency
Explanation Concurrency is the property that distinguishes an active object from one that is not. Concurrency refers to the ability of an object or system to execute multiple tasks or processes simultaneously. In the context of active objects, concurrency allows for the execution of multiple methods or operations concurrently, enabling efficient use of resources and improved performance. This distinguishes active objects from passive objects that can only perform one task at a time. Therefore, concurrency is the property that sets active objects apart from inactive ones.
Rate this question:
17.
…… is the property of an object through which its existence transcends
time (i.e., the object continues to exist after its creator ceases to exist) and/or
space (i.e., the object’s location moves from the address space in which it was
created).
A.
Typing
B.
Concurrency
C.
Persistence
D.
Threading
Correct Answer
C. Persistence
Explanation Persistence is the property of an object through which its existence transcends time and space. It means that the object continues to exist even after its creator ceases to exist and its location moves from the address space in which it was created. This implies that the object can be stored and retrieved from a storage medium, such as a database or a file system, allowing it to persist beyond the lifetime of the program or system in which it was created.
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.