The purpose of a class is to specify a classification of objects and to specify the features that characterize the structure and behavior of those objects.
ATrue
BFalse
A class classifies objects and specifies the features of their structure and behavior.
2.
★ Final term Spring 2010
Testing is easy for the software that is developed using OOAD due to use of ___________
AModular approach
BReal time modeling
CUsability feature
OOAD builds software in modules, which makes testing easier.
3.
★ Final term Spring 2010
Which of the following is the characteristic of being able to assign a different meaning or usage to something in different contexts - specifically?
AOOP
BPolymorphism
CEncapsulation
DInheritance
Polymorphism assigns different meanings or uses to the same thing in different contexts.
4.
★ Final term Spring 2008
_______ usually identified by the phrase "is a kind of".
AInheritance
BClass
CObject
Inheritance expresses an "is a kind of" relationship between classes.
5.
★ Final term Spring 2008
Characteristics of object are called ________
AMethods
BAttributes
CStatus
Attributes are the characteristics of an object, while methods are its operations.
6.
★ Final term Spring 2008
Operations are usually called via _______
AFunctions
BSignatures
CMethods
An operation can be called only through its valid operation signature.
7.
★ Final term Spring 2010
According to "Booch", object has following three components
AState, Behavior, Identity
BState, Behavior, Interface
CState, Interface, methods
DState, Variables, Methods
Booch defines an object as having state, behavior and identity.
8.
★ Final term Spring 2010
The interface is implemented by _______
AMethods
BSignatures
CClasses
DObjects
An interface only declares operations; classes provide their implementation.
9.
★ Final term Spring 2010
Which of the following carries connotations of the class to which the object belonged?
AClass
BInstance
CStructure
DNone of the above
The term instance implies the class to which the object belongs.
10.
★ Final term Spring 2010
Object oriented analysis focuses on the _________
AStates of objects
BCollaboration of objects
CImplementation of objects
OOA defines classes and how they collaborate to meet the customer requirements.
11.
★ Final term Spring 2010
Object oriented analysis generates _________
AImplementation constraints
BSystem Interfaces
CConceptual model of Information
OOA produces a conceptual model of the information in the problem domain.
12.
★ Final term Spring 2010
Which of the following is not considered during OO Design?
AConcurrency factor
BUsability factor
CDistribution factor
OO design considers concurrency (task structure) and distribution (hardware), not usability.
13.
★ Final term 2010
Both software objects and real time objects have__________
AIdentity and behavior
BIdentity and state
CState and behavior
Software objects are modelled on real-world objects, both having state and behaviour.
14.
★ Final term 2010
Which of the following carry characteristics of specialization?
ASub classes
BSub Interfaces
CSub objects
Sub-classes specialize the more general super-class.
15.
★ Final term 2010
Object oriented analysis focuses on _________
AModular approach
BIncremental approach
CTraditional approach
DDerived approach
Object orientation takes a modular approach to building software.
16.
★ Final term Spring 2010
_________ means information hiding.
AInheritance
BEncapsulation
CClass
Encapsulation hides an object's internal details.
17.
★ Final term Spring 2010
Object oriented design elaborates the hardware and software architecture to produce_________
AImplementation specifications
BTesting specifications
CFunctional specifications
DModelling specifications
OOD elaborates the analysis models into implementation specifications.
No MCQs match this filter.Is filter mein koi MCQ nahi.
1.
★ VU quizLecture 272 marks
What are the purposes of the Objects?
Show answerJawab dekhein
An object is a concept, abstraction or thing with crisp boundaries and meaning for the problem at hand. Objects serve two purposes: they promote understanding of the real world and provide a practical basis for computer implementation.
2.
★ VU quizLecture 271 marks
What is Object Oriented Analysis and Design (OOAD)?
Show answerJawab dekhein
OOAD is an approach to analysing and designing systems in terms of classes and objects (combining aspects of ERDs and DFDs), supporting object-oriented languages such as C++ and Java.
3.
★ Final term 2011Lecture 272 marks
Define Class?
Show answerJawab dekhein
A class is a template or blueprint describing a group of objects that share common attributes, operations (methods), relationships and meaning. Each object created from it is an instance of the class.
4.
★ Final term 2011Lecture 272 marks
Define Object Oriented Analysis and Design (OOAD)?
Show answerJawab dekhein
OOAD is an approach that analyses and designs a system in terms of classes and objects (their attributes, behaviour and collaboration), rather than separate data and processes. It combines aspects of ERDs and DFDs, supports object-oriented languages such as C++ and Java, and adds to (does not replace) traditional modelling tools.
5.
★ Final term 2011Lecture 272 marks
Define object
Show answerJawab dekhein
An object is an abstraction of something in a problem domain, reflecting the capabilities of the system to keep information about it, interact with it, or both. It has state (attributes) and behaviour (methods).
1.
★ VU quizLecture 275 marks
Differentiate object from class.
Show answerJawab dekhein
A class is a template or category that defines the common attributes (state) and operations (behaviour) shared by a set of similar objects. An object is a specific instance of a class, with its own identity and attribute values; all objects are instances of some class. Example: 'Computer' is a class (with subclasses laptop, desktop, palmtop); a particular laptop with its own serial number is an object.
2.
★ VU quizLecture 2710 marks
What are the components of the object? Give example
Show answerJawab dekhein
An object is an abstraction of something in the problem domain that models a single concept, reflecting the system's ability to keep information about it and interact with it. According to Booch an object has three components: identity (who is it - each object is unique), behaviour (what can it do - how it responds to events and stimuli), and state (what does it know - its condition at any moment, which affects how it behaves). Examples: a dog has state (name, colour, breed, hungry) and behaviour (barking, fetching, wagging tail); a bicycle has state (current gear, cadence, number of gears) and behaviour (braking, accelerating, changing gears), and each particular dog or bicycle has its own identity.
3.
★ Final term Spring 2008Lecture 2710 marks
Differentiate the following :
Entity vs Entity Set
Encapsulation vs Inheritance
Show answerJawab dekhein
Entity vs entity set: an entity is a single object (person, place, thing or event) that exists and is distinguishable from other objects and is described by a set of attributes, e.g. one particular customer. An entity set is the collection of all entities of the same type that share the same attributes/properties, e.g. all customers of a company.
Encapsulation vs inheritance: encapsulation is information hiding; an object packages its data (attributes) and the operations on that data together and hides internal details, so other objects can use it only through its defined interface (operations/signatures). Inheritance is the mechanism by which a class (subclass) acquires the attributes and operations of another class (superclass) and can add or refine its own; it is identified by the phrase "is a kind of". Encapsulation protects and hides an object's internals, while inheritance creates hierarchies that allow reuse of existing class definitions.