Академический Документы
Профессиональный Документы
Культура Документы
COMPLETE TWOMARKS
UNIT - I
1) What is an object?
An object means a combination of data and logic that represents some real world
entity. In an object-oriented system, everything is an object. A spread sheet ,a cell in a
spread sheet, a bar chart, a report, a file ,even a single character all are examples of an
object.
2) What is a class?
A class is a set of objects that share a common structure and a common behavior
single object is simply an instance of a class .It is a specification of structure, behaviour
and inheritance for objects.
3) What is an attribute?
An attribute is a describing property of an object. It represents the state of an
object. Example, the properties of a car, such as color, manufacturer and cost.
5) Define an encapsulation
Containment of the object inside a ‘capsule’. The user cannot see inside the
capsule but can use the object by calling the program part of it.
7) Define an inheritance.
Inheritance is the property of object –oriented systems that allows objects to be
built from other objects. It is a relationship between classes where one class is the parent
class of derived class.
12) Mention the phases in object oriented system development object-oriented system
development consists of
13) Draw a figure for class hierarchy for the payroll application
Employee
Name
Address
Salary
Production worker
Office worker Manager
21. Mention the list that the sub process must have
a. A description n terms of how it works.
b. Specification of the input required for the process
c. Specification of the output to be produced.
23. Mention the questions we need to be able to answer the achieve high quality in
software.
a. How do we determine when the system is ready for delivery?
b. It is now an operation system that satisfies user’s needs.
c. Is it correct and operating as we thought it should?
d. Does it pass an evaluation process.
48. List some of the Noun phrases in the Via net Bank ATM system.
1. Account
2. Amount
3. Bank client
4. Cash
5. Saving Account
6. Checking Account
7. Transaction history
50. List the patterns for finding the candidate class and object.
1. Concept class
2. Events class
3. Organization class
4. People class
5. Places class
6. Tangible things and devices class
UNIT-II
22. Mention the essential components that should be clearly recognizable on reading a
pattern?
1. Name
2. Problem
3. Context
4. Forces
5. Solution
6. Examples
7. Resulting context
8. Rationale
9. Related patterns
10. Known uses
11. Proven solution to a recurring problem.
27. Mention the diagrams that are expressed in object oriented development?
Behaviour diagrams
Interaction diagrams
Sequence diagrams
Collaboration diagrams
State charge diagrams
Activity diagrams
29. How many implementation diagrams are there and what are they?
There are two types of implementation diagrams, they are
a. Component diagrams.
b. Deployment diagrams.
34. Draw the figure to show the difference between users and actors?
40. What are the steps in the ATM transaction use case?
1. Insert ATM card
2. perform the approval process
3. Ask type of transaction
4. Enter type of transaction
5. Perform transaction
6. Eject card
7. Request take card
8. Take card
UNIT-III
1. What is UML?
The Unified Modeling Language is a standard language of writing software
blueprints. The UML may be used visualize,specify,construct and document the artifacts
of a software intensive system.
3. What is specifying?
Specifying means building models that are precise,unambiguous and
complete.The UML addresses the specification of all the important analysis,design and
implementation decisions that must be made in developing a software intensive system.
I spelling
Place order
Event Manager
Name
Suspend()
Flesh()
15. Define a component.
Component is a physical and replaceable part of a system that conforms and
provides a realization of a set of interfaces. It is rendered as a rectangle with tabs,
including only its name.
NAME
18. How many kinds of behavioral things are there and there and what are they?
There are two kinds of behavioral things. They are
a. An interaction.
b. A state machine.
19. Define an interaction.
An interaction is a behavior that comprises a set of messages exchanged among a
set of objects within a particular context to accomplish a specific purpose. It involves a
number of elements, messages action sequences and links.
Waiting
21. How many kinds of relationships are there and what are they?
There are four kinds of relationships in the UML, they are
a. Dependency
b. Association
c. Generalization
d. Realization
a. Specifications
b. Adornments
c. Common divisions
d. Extensibility mechanisms
Rectangle
Add()
Suspend()
Flesh()
An operation is the implementation of a service that can be requested from any
object of the class to affect behavior.
UNIT-IV
1. What is debugging?
Debugging is the process of finding out where something went wrong and
correcting the code to eliminate the errors or bugs that cause unexpected results.
Test plan is a plan developed to detect and identify potential problems before
delivering the software to its users.
Black box testing is a testing by trying various inputs and examining the resulting
output without knowing how the conversion is implemented.
A top-down strategy can detect the serious design flows early in the
implementation. It need more testing than an individual object’s methods or supporting
logic.
Bottom-up testing starts with the details of the system and proceeding to higher-
levels by a progressive aggregation of details until they fit the requirements for the
system.
Branch testing coverage , performing enough tests to ensure that every branch
alternative has been executed at least once under some test.
Metaphor is that relating two otherwise unrelated things by using one to denote the
other. (such as a question mark to label a Help button).
Regression testing is that all passed tests are repeated with the revised program.
Referential Integrity is that making sure that a dependent table’s foreign key
contains a value that refers to an existing valid tuple in another relation.
Usability testing is the testing that measures the ease of use as well as the comfort
and satisfaction users have with the system.
22. What is White-Box testing?
White-Box testing assumes that the specific logic is important and must be tested
to guarantee the system’s proper functioning.
Correspondence measures how well the delivered system matches the needs of
the operational environment, as described in the original requirements statement.