Skip to content

Design and Analysis Methods and Modeling

頻出~30 min5 terms12 past questions

Goals of this unit

  • Tell the structured method, which breaks a system into functions, apart from object orientation, which bundles data with operations, by what each takes as the unit of design.
  • Explain what a use case describes and how it relates to UML.
  • Place reverse engineering as a technique for recovering specifications and design information from existing products.
Terms at a glance (5)
TermIn one lineFocuses onMain use
構造化手法Design method that splits a system into functions and refines them step by step from the top downFunctions (processes)Analyzing and designing systems
オブジェクト指向Approach that builds a system from objects, each bundling data with its operationsBundles of data and operationsFrom analysis and design through programming
ユースケースDescription, scene by scene, of how users and the system interact when the system is usedHow users see the system being usedOrganizing requirements
UMLStandard notation for drawing the structure and behavior of a systemRules for drawing diagramsDiagramming analysis and design work
リバースエンジニアリングTechnique that analyzes existing programs or products to recover their specifications and design informationProducts that already existWriting documents for maintenance, technical research

Terms

構造化手法Structured method

Open in glossary 構造化手法

The structured method (構造化手法) views a system in units of functions (processes) and designs it by breaking large functions down, level by level, into smaller ones.

  • Library system
    • Lending
      • Check the borrower
      • Record the loan
    • Returns
      • Accept the return
      • Check for overdue items

Then break each function into small processes that can be written as concrete steps.

3 / 3

The split is based on what the system does, and the data that flows between the resulting functions is sorted out at the same time. A DFD (data flow diagram), for example, is used to draw this flow.

AnalogyIt is like planning a big house cleaning: you go from the whole house to each room, then from each room to single jobs such as mopping the floor or wiping the windows, writing each one down.

How to rememberThink of a building: the structure is its frame. You fix the overall frame first and then work down into the details.

Exam points

  • Mix-upThe structured method (構造化手法) is the way the design itself proceeds, while a DFD is a diagramming technique used within its analysis to draw processes and how data flows between them.

1 past questions on this term 構造化手法

オブジェクト指向Object orientation

Open in glossary オブジェクト指向

Object orientation (オブジェクト指向) is an approach that builds a system from objects, each bundling data together with the operations that handle that data.

クラス(設計図)

オブジェクト(実体)

カプセル化(データと処理をまとめる)

継承(性質を引き継ぐ)

多態性(同じ指示で異なる動作)

The template for an object is called a class, and the objects that actually run are created from classes. Typical properties are encapsulation, which hides the inside from the outside; inheritance, which passes a higher class's characteristics down; and polymorphism, where objects respond to the same instruction in their own ways.

AnalogyYou can use a TV remote just by pressing its buttons, without knowing the circuits inside. Wrapping up the inside and showing only the controls is what makes it like an object.

How to rememberThe word encapsulation comes from a capsule, like a medicine capsule: the contents are sealed inside a shell.

Exam points

  • ExamThe user of an object only has to send it a request and can use its functions without knowing how its internal data is held or how its processing is built. This is the effect of encapsulation (カプセル化).
  • ExamInheritance (継承) lets a lower class take over the data and operations of a higher class, so common parts can be reused as components without being rewritten, which raises development productivity.
  • Mix-upThe structured method (構造化手法) designs by splitting into functions, while object orientation (オブジェクト指向) designs around bundles of data and operations.

2 past questions on this term オブジェクト指向

Structured method vs. Object orientation

AspectStructured methodObject orientation
Key differenceUnit of designFunctions (processes)Objects that bundle data with operations
How data and processing relateKept apart and organized as data flowing between functionsHeld together inside a single object
How it is built upLarge functions are split step by step from the top downObjects are combined, and class inheritance reuses common parts

ユースケースUse case

Open in glossary ユースケース

A use case (ユースケース) describes, for each scene in which a user (an actor) uses the system to reach a goal, the interaction between that user and the system.

ElementHow it is drawnWhat it represents
ActorStick figureA person or external system that uses the system
Use caseEllipseA goal the user wants to reach with the system
System boundaryRectangleThe scope of the system being modeled

An actor is not limited to a person and also covers external systems that interact with the system. Because a use case records what can be done as seen from outside rather than how the system processes things inside, it is used when requirements are being organized.

AnalogyIt is like a play script that sets out, scene by scene, the lines the actors exchange, but says nothing about the stage machinery backstage.

How to rememberRead the name literally: a use case is a case of use. You write one for each situation in which the system is used.

Exam points

  • ExamA use case (ユースケース) is based on a scenario (シナリオ) of the user working with the system and describes what the user does and how the system responds.

1 past questions on this term ユースケース

UML (Unified Modeling Language) is a standard notation that defines the kinds of diagrams and how to draw them, so that a system's structure and behavior can be shown in pictures.

Example diagramWhat it shows
Class diagramClasses and how they relate (structure)
Use case diagramHow the system is used, seen from the user's side
Sequence diagramThe time order of messages between objects
Activity diagramThe flow of processing or business work

UML is widely used in object-oriented analysis and design and is not tied to any particular programming language or product. Its diagram types are each made for a purpose, and you pick the ones that fit what you need to show.

AnalogyBecause musical notation is fixed, anyone reading a score plays the same piece. UML is like a shared score for drawing designs.

How to rememberThe U stands for Unified: UML came from merging several notations that had been separate, and the name keeps that history.

Exam points

  • ExamUML has diagrams for behavior as well as for structure; an activity diagram (アクティビティ図), for example, can draw the flow of steps in a business procedure.
  • Mix-upA use case (ユースケース) diagram is one of the diagrams UML defines, while UML is the whole system of diagram notations that includes it.

1 past questions on this term UML

Use case vs. UML

AspectUse caseUML
What it refers toInteractions between users and the system, written scene by sceneA system of notations for drawing structure and behavior
Key differenceHow they relateDrawn in UML as a use case diagramDefines many diagrams, the use case diagram among them

リバースエンジニアリングReverse engineering

Open in glossary リバースエンジニアリング

Reverse engineering (リバースエンジニアリング) is a technique that analyzes an existing program or product to recover its specifications and design information.

  1. Existing program or product
  2. Analyze the inside
  3. Recover specs and design info
  4. Document it for maintenance and more

Turn that information into documents that serve as the basis for maintenance or rebuilding.

4 / 4

It runs in the opposite direction to ordinary development (forward engineering), which goes from design to product, by tracing back from the finished product to the design. The recovered information becomes material for maintaining or rebuilding existing systems and for technical research on products.

AnalogyIt is like taking apart an old clock, studying the shapes of the parts and how they fit, and redrawing the blueprint that no longer exists.

How to rememberReverse means backward. Like putting a car in reverse, you travel the usual development route in the opposite direction.

Exam points

  • ExamReverse engineering (リバースエンジニアリング) analyzes a program to investigate its specifications and extract design information. Its targets are not limited to software and include taking a product apart to reveal its construction.
  • Mix-upRefactoring (リファクタリング) tidies a program's internal structure while keeping its outward behavior unchanged, so its purpose differs from that of reverse engineering (リバースエンジニアリング), which recovers specifications and design information from existing products.

3 past questions on this term リバースエンジニアリング

Key points

  • The structured method splits a system into functions and refines them step by step from the top down.
  • Object orientation promotes reuse of components by hiding internals through encapsulation and passing common parts down through inheritance.
  • A use case writes down, for each scene in which users work with the system, the interaction as seen from outside.
  • UML is a standard notation that can diagram both structure and behavior.
  • Reverse engineering analyzes existing programs or products to recover their specifications and design information.

Check questions

4 past questions from this unit

Start the check questions

All past questions in this topic