Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
describe the types of inheritance 1 single inheritance2 multiple inheritance3 hierarchical inheritance4 multilevel
explain concept of inheritance with support of suitable exampleinheritance inheritance is one of milestone of object-oriented programming language as
state the position of object at any moment is called state an object can have many states depend upon time after receiving some input instructions
event occurrence of a process is called event in other words the object can receive many input instructions the changes which occur due to these
explain briefly concurrent task by taking an exampleconcurrent task- the concurrent occurrence of more than one event is called concurrent task
briefly explain the state diagram by taking one examplestate diagram - an object can be given a sequence of input instructions the state of the
what is advantage of two-way associationtwo-way association advantages are followinga independent of the classesb useful for existing predefined
what types of adjustments are required to increase chances of inheritancea some attributes can be added or ignored in the base class
list the steps for converting state diagram to the codea finding major control pathb finding the conditional statements c finding the loops d
what are ways of finding out either an update is required or not for derived attributesthe ways to find out an update is required or not are as
what are metrics for choosing the best algorithmmatrices for choosing the best algorithms are as below computational complexity ease of understand
in object oriented design which steps must designer take to adjust inheritanceto readjust inheritance following steps should be takeni rearrange
what is an object designobject design is a very interactive method which decides the relationship among objects classifies operations on classes
describe briefly models which define the operations on classesthe three models which are used to define operations on classes are asobject model
why generally does an object-oriented system use the relational dbmsthe reasons for using relational dbms for oo systems could be any combination of
what is persistencypersistency ensures which data is stored and that after the object is no longer available program stops running the data will be
how is concurrency identifiedconcurrency in objects can be identified by the way they alter their state current objects can change their state
differentiate between the object oriented decomposition and the structured decompositionprocess-oriented structural decomposition divides a complex
what are the benefits of decomposing a systemthe benefits of decomposing a system into subsystems are that after decomposition each individual
describe different steps of the object-oriented design process the broad steps of the object-oriented design process area define context and modes
what are shortcomings in structured approachstructured methodology treats data and their behaviours separately and this makes it harder to isolate
why were functional methods fashionable in early daysthese are inspired directly by computer architecture and thus popular among computer scientist
how do you find the final model after iterative analysiswhy is iterative analysis of any of the problem neededthe final model serves as the base for
give an example of operations from the functions of a bankfor creation of a saving account you can writebank create -savings-account
give an example of operations from the state actions and activitiesfor instance in bank the activityverify account code and verify