Docsity

OOSAD & data gathering, Study notes of Computer science

Toggle sidebar
bg1
Object-Oriented Analysis and Design
The Concept of Object-Orientation
Object-orientation is what’s referred to as a programming paradigm. It’s not a
language itself but a set of concepts that is supported by many languages.
If everything we do in these languages is object-oriented, it means, we are
oriented or focused aroundobjects.
Now in an object-oriented language, this one large program will instead be
split apart into self contained objects, almost like having several mini-
programs, each object representing a different part of the application.
And each object contains its own data and its own logic, and they
communicate between themselves.
These objects aren’t random. They represent the way you talk and think about
the problem you are trying to solve in your real life.
They represent things like employees, images, bank accounts, spaceships,
asteroids, video segment, audio files, or whatever exists in your program.
Object-Oriented Analysis and Design (OOAD)
It’s a structured method for analyzing, designing a system by applying the
object-orientated concepts, and develops a set of graphical system models
during the development life cycle of the software.
OOAD in the SDLC
The software life cycle is typically divided up into stages going from abstract
descriptions of the problem to designs then to code and testing and finally to
deployment.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download OOSAD & data gathering and more Study notes Computer science in PDF only on Docsity!

Object-Oriented Analysis and Design

The Concept of Object-Orientation

Object-orientation is what’s referred to as a programming paradigm. It’s not a language itself but a set of concepts that is supported by many languages. If everything we do in these languages is object-oriented, it means, we are oriented or focused around objects. Now in an object-oriented language, this one large program will instead be split apart into self contained objects, almost like having several mini- programs, each object representing a different part of the application. And each object contains its own data and its own logic, and they communicate between themselves. These objects aren’t random. They represent the way you talk and think about the problem you are trying to solve in your real life. They represent things like employees, images, bank accounts, spaceships, asteroids, video segment, audio files, or whatever exists in your program.

Object-Oriented Analysis and Design (OOAD)

It’s a structured method for analyzing, designing a system by applying the object-orientated concepts, and develops a set of graphical system models during the development life cycle of the software.

OOAD in the SDLC

The software life cycle is typically divided up into stages going from abstract descriptions of the problem to designs then to code and testing and finally to deployment.

The earliest stages of this process are analysis (requirements) and design. The distinction between analysis and design is often described as “what vs how”. In analysis developer’s work with users and domain experts to define what the system is supposed to do. Implementation details are supposed to be mostly or totally ignored at this phase. The goal of the analysis phase is to create a model of the system regardless of constraints such as appropriate technology. This is typically done via use cases and abstract definition of the most important objects using conceptual model. The design phase refines the analysis model and applies the needed technology and other implementation constrains. It focuses on describing the objects, their attributes, behavior, and interactions. The design model should have all the details required so that programmers can implement the design in code.

Object-Oriented Analysis

In the object-oriented analysis,

  1. Elicit requirements: Define what does the software need to do, and what’s the problem the software trying to solve.

Data gathering in systems development

Computer system development

Computer system development Computer system development is to gather data in order to identify which computer systems need to be developed and updated. This can be done by doing different projects within a business and incorporate it into a computer system in order to make future projects more accessible and easier to accomplish. We will discuss different projects and explain it in detail in contribute to computer system development.

Data gathering in system development

system developer system analysis

**Data gathering is a major task of system analysis. System analysis involves:  Understanding and describing how the current system functions.  Determining what users would like their new system to do (requirements).  Need to collect information: current and future information problems, opportunities, and constraints.

Data Gathering Methods

Common methods are:  Interviewing  Questionnaires  Research  Observations

1. Interviewing

An interview is a formal meeting between a prospective employer and a potential employee where they discuss the skills and competencies of the job requirements and the interviewer asks questions to the interviewee in order to determine if the interviewee is a suitable candidate for the job which was advertised. During an interview there are several factors to consider:  Format  Environment  Behavior  Language  Presentation The presentation of the interview is appropriate to the interviewee. An interviewer needs to ensure that the presentation of the interview is appropriate to the interviewee. Presentation has to do with the way the interviewer addresses the questions, the information the interviewer gives about the position available, the roles and responsibilities the candidate has to comply with, the nature of the business, some background information about the business, etc. The basic flow of an interview is as follows.  Meet and greet  Define objectives  Ask personal questions  Ask professional questions  Enquire if interviewee has any questions  End the interview

2. Questionnaires

A questionnaire is a list of questions on paper in a designed format which provides a business with information regarding customer wants and needs. A customer want is something they don’t need but want to have because it is pretty or innovative. A customer need is something a customer needs in order to survive like food, shelter, and clothing. When a respondent is asked to complete a questionnaire it is vitally important that the respondent understand the objectives of the questionnaire. If the

 Plastic releases poisonous chemicals when it was cooled down and heated again  This is particularly when it has been heated in a microwave oven  The chemical goes into the heated food  It causes several types of illnesses to humans  You can freeze the food in plastic containers but not heat it  Rather heat it in glass containers  Research has been done on baby feeding bottles (plastic) as well Research notes identify the characteristics of the data and the relationships between data items The characteristics of the data are that it is based on thorough research and facts were accumulated. The paper-based research note above identifies the characteristics of the data. There is clear relationship between data items because it stipulates cause and effect. The cause is that the plastic containers release a poisonous substance when it is heated and the poisonous substance goes into the food. This is the cause. The effect is that humans can obtain several illnesses because of that. Let’s look at the same research topic but this time we will use a computer-based research. In the computer-based research it is shorter with minimum details but the main message is conveyed. Out of the paper-based research it is easier to facilitate access to those data items for example:  Plastic releases poisonous chemicals when it was cooled down and heated again  This is particularly when it has been heated in a microwave oven  The chemical goes into the heated food  It causes several types of illnesses to humans  You can freeze the food in plastic containers but not heat it  Rather heat it in glass containers

 Research has been done on baby feeding bottles (plastic) as well But the computer-based research only stipulates three facts:  Food frozen in plastic containers  Releases poisonous substance when heated  Which causes illnesses to humans? It is therefore better to use the paper-based research in order to identify data items which will facilitate access to those data items.

4. Observations

When a person is expected to give information for computer system development it is important to observe the person’s behavior. This will give you great insight regarding the future use of the information. For example, if a respondent are asked for information you will immediately note if the person is interested or not. You can identify this by observing the person’s body language. When person gathering information goes to a shopping mall it is often difficult to get a respondent who are willing to give information. This is because people are usually in a hurry and they just want to finish their business at the shopping mall. If you do get someone to give information you should take the person to a quiet corner or spot and observe the following behaviors:  Does the respondent make eye contact?  Is the respondent standing still?  Is the respondent fiddling?  Does the respondent look in a hurry?  Is the respondent friendly?  Is the respondent rude?  Does the respondent show interest?