System Analysis and Design/ Object-Oriented System Modeling

Similar documents
Learning Objectives. Objects and their properties. Identifying objects in an application. Modeling systems with object. Prof. V.

Äriprotsesside modelleerimine ja automatiseerimine Loeng 7 Valdkonna mudel

CHAPTER 9 DESIGN ENGINEERING. Overview

Object oriented programming Concepts

Advanced Database Applications. Object Oriented Database Management Chapter 13 10/29/2016. Object DBMSs

Object- Oriented Design with UML and Java Part I: Fundamentals

University of Calgary Department of Electrical and Computer Engineering. SENG : Object Oriented Analysis and Design Behrouz Homayoun Far

Object-Oriented Concepts and Principles (Adapted from Dr. Osman Balci)

Object Oriented Software Development CIS Today: Object Oriented Analysis

Chapter 5: Structural Modeling

06. Analysis Modeling

PPSC Competitive Exam for the Post of System Analyst

Object-Oriented Systems Development: Using the Unified Modeling Language

Object-Oriented Systems Analysis and Design Using UML

Appendix A - Glossary(of OO software term s)

INHERITANCE & POLYMORPHISM. INTRODUCTION IB DP Computer science Standard Level ICS3U. INTRODUCTION IB DP Computer science Standard Level ICS3U

Chapter 6 Introduction to Defining Classes

Object-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 2: Review of Object Orientation

Object-Oriented Programming in C++/Handout 01 Page 1 of 8

CHAPTER 5 GENERAL OOP CONCEPTS

Object-Oriented Software Engineering. Chapter 2: Review of Object Orientation

Suggested answers are provided below. These answers are presented top-down, left to right.

What are the characteristics of Object Oriented programming language?

New Programming Paradigms

Data Structures and Algorithms Design Goals Implementation Goals Design Principles Design Techniques. Version 03.s 2-1

Data Structures (list, dictionary, tuples, sets, strings)

Inheritance and Polymorphism

Elementary Concepts of Object Class


9/21/2010. Based on Chapter 2 in Advanced Programming Using Visual Basic.NET by Bradley and Millspaugh

Programming Languages and Program Development

Chapter 2: The Object-Oriented Design Process

Chapter 5 Object-Oriented Programming

The Unified Modeling Language. Asst.Prof.Dr. Supakit Nootyaskool IT-KMITL

Solved Question Paper June 2017

JAVA MOCK TEST JAVA MOCK TEST II

Object Oriented Design (OOD): The Concept

Progress Report. Object-Oriented Software Development: Requirements elicitation (ch. 4) and analysis (ch. 5) Object-oriented software development

Chapter 5. Inheritance

Basic Structural Modeling. Copyright Joey Paquet,

An Introduction To Object Modeling System Concept for Object Modeling The Overall View Components of UML Diagram

1. BlueJ bank example with subclasses of BankAccount 2. Transparency of UML diagram for BankAccount class hierarchy

CSC207H: Software Design SOLID. CSC207 Winter 2018

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

Sri Vidya College of Engineering & Technology

OO is considered to be supported in three points which are usually symbolized as the three vertexes of a triangle: Encapsulació i ocultació

Information System Design (IT60105)

Lecture Chapter 2 Software Development

Software Development. Modular Design and Algorithm Analysis

Object Oriented Paradigm

Object Oriented Analysis is popular approach that sees a system from the viewpoint of the objects themselves as they function and interact

Systems Analysis & Design

Lecture 13: Object orientation. Object oriented programming. Introduction. Object oriented programming. OO and ADT:s. Introduction

22/09/2012 INFO2110. Copyright Warning. Revision of class diagram. Overview. Purpose of class diagram. Generalization Relationship

Components vs. Objects

SDC Design patterns GoF

Introduction to UML What is UML? Motivations for UML Types of UML diagrams UML syntax Descriptions of the various diagram types Rational Rose (IBM.. M

Overview of OOP. Dr. Zhang COSC 1436 Summer, /18/2017

Programming I. Course 9 Introduction to programming

OBJECT-ORIENTED MODELING AND DESIGN. Introduction

REVIEW OF THE BASIC CHARACTERISTICS OF OBJECT ORIENTATION

Object-Oriented Software Engineering Practical Software Development using UML and Java

INTERNAL ASSESSMENT TEST III Answer Schema

Introduction to Software Engineering. 5. Modeling Objects and Classes

Paytm Programming Sample paper: 1) A copy constructor is called. a. when an object is returned by value

Lecture Contents CS313D: ADVANCED PROGRAMMING LANGUAGE. What is Inheritance?

SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY

May Comp-B 11, Advanced Software Design. 3 hours duration

CS313D: ADVANCED PROGRAMMING LANGUAGE

Object Oriented Programming is a programming method that combines: Advantage of Object Oriented Programming

Chapter 5, Analysis: Object Modeling

Object Oriented Programming. Michał Bereta

Chapter 8: Class and Method Design

OBJECT ORIENTED SYSTEM DEVELOPMENT Software Development Dynamic System Development Information system solution Steps in System Development Analysis

OO design. Classes, Responsibilities, Collaborations (CRC) 13/9/1999 COSC

CS313D: ADVANCED PROGRAMMING LANGUAGE

UML Primer. -Elango Sundaram

modeling essential properties treat what and how independently building complex structures from simpler ones identifying common elements

Design Strategies in OO Development

CS487 Midterm Exam Summer 2005

S T R U C T U R A L M O D E L I N G ( M O D E L I N G A S Y S T E M ' S L O G I C A L S T R U C T U R E U S I N G C L A S S E S A N D C L A S S D I A

Programming Language Concepts Object-Oriented Programming. Janyl Jumadinova 28 February, 2017

OBJECT ORİENTATİON ENCAPSULATİON

Object Oriented Programming. Java-Lecture 11 Polymorphism

Unit 1 : Principles of object oriented programming

CSCI 253. Outline. Background. George Blankenship 1

MechEng SE3 Lecture 7 Domain Modelling

From Module To Objects

Object-Oriented Programming Concepts

Allenhouse Institute of Technology (UPTU Code : 505) OOT Notes By Hammad Lari for B.Tech CSE V th Sem

Design Concepts. Slide Set to accompany. Software Engineering: A Practitioner s Approach, 7/e by Roger S. Pressman

Exam in TDDB84: Design Patterns,

Design Patterns. Dr. Rania Khairy. Software Engineering and Development Tool

Accessibility. EEC 521: Software Engineering. Classes and Objects. Inheritance. Classes and Objects (OO Analysis)

Object-Oriented Design

Design Pattern What is a Design Pattern? Design Pattern Elements. Almas Ansari Page 1

Object-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 5: Modelling with Classes

Object Oriented Programming. C++ 6 th Sem, A Div Ms. Mouna M. Naravani

Abstraction. Design fundamentals in OO Systems. Fundamental Software Development Principles

EINDHOVEN UNIVERSITY OF TECHNOLOGY

Transcription:

9.1 Computer systems are designed by a. simplifying requirements of system b. breaking of the system into smaller self-contained co-operating subsystems c. breaking up the systems into independent parts d. modular design 9.2 Functions and procedures are a. not useful in designing computer systems b. old fashioned and they are not useful c. useful in designing computer systems d. have side effects which require special care if they are used as subsystems 9.3 A subsystem of a complex system must specify a. what task it performs b. how it performs a task c. with which subsystems it co-operates d. how it co-operates with other systems 9.4 A subsystem of a complex system must a. ii, iii b. ii, iv c. iii, iv 9.5 A subsystem of a complex system (i)should be reusable in other complex system (ii)must not be able to inherit the properties of other subsystems (iii)must have clearly specified responsibilities (iv)must know the stimuli to which it should respond, iii b. ii, iii, iv c. i, iii, iv d. i, ii, iv V. Rajaraman/IISc. Bangalore M9/V1/July 04/1

9.6 By polymorphism of a subsystem we mean a. it should be reusable b. it should have polymorphic data types c. it should accept generic commands and interpret appropriately d. it should morph polygons 9.7 The advantages of object-oriented modelling are b. i, iii c. ii, iii d. i, iv 9.8 Objects are (i)tangible entities (ii)intangible entities (iii)transient entities (iv) uniquely identifiable b. i, ii, iii c. i, ii, iii, iv d. i, ii, iv 9.9 A class is a. a group of objects b. template for objects of a particular type c. a class of objects d. a classification of objects 9.10 All objects have (i) attributes (ii) states (iii)a set of operations (iv) a unique identity, iii b. ii, iii, iv V. Rajaraman/IISc. Bangalore M9/V1/July 04/2

c. i, iii, iv d. i, ii, iii, iv 9.11 In UML diagram of a class a. state of object cannot be represented b. state is irrelevant c. state is represented as an attribute d. state is represented as a result of an operation 9.12 Attributes are assigned value a. when operations are performed on an object b. when instances of objects are defined c. when methods are invoked d. when classes are identified 9.13 The following are intangible entities which can be defined as objects (i) a motor car (ii) a bank account (iii) an aircraft (iv) a linked list b. ii, iv c. iii, iv d. ii, iii, iv 9.14 A query operation on a object a. has side effect b. has no side effects c. changes the state of an object d. is not allowed 9.15 An instance of an object is created by a a. query operation b. update operation c. constructor operation d. open operation V. Rajaraman/IISc. Bangalore M9/V1/July 04/3

9.16 An update operation in an object instance a. updates the class b. has no side effects c. deletes an instance d. alters values of attribute(s) of an object instance 9.17 In object-oriented design a. operations and methods are identical b. methods specify algorithms whereas operations only state what is to be done c. methods do not change values of attributes d. methods and constructor are same 9.18 By abstraction in object-oriented modelling we mean picking a. only attributes appropriate to model an object b. only operations c. both operation and attributes with operations appropriate to model an object d. the appropriate abstract data type 9.19 By encapsulation in object-oriented modelling we mean a. encapsulating data and programs b. hiding attributes of an object from users c. hiding operations on object from users d. hiding implementation details of methods from users of objects 9.20 Encapsulation in object-oriented modelling is useful as a. it allows improving methods of an object independent of other parts of system b. it hides implementation details of methods c. it allows easy designing d. encapsulates attributes and operations of object 9.21 Objects may be viewed as a. clients in a system b. servers in a system V. Rajaraman/IISc. Bangalore M9/V1/July 04/4

c. as both clients and servers in a system d. neither as clients nor as servers in a system 9.22 Inheritance in object-oriented system is used to a. create new classes from existing classes b. add new operations to existing operations c. add new attributes to existing attributes d. add new states to existing states 9.23 Inheritance in object-oriented modelling can be used to a. generalize classes b. specialize classes c. generalize and specialize classes d. create new classes 9.24 When a subclass is created using inheritance the resulting class a. may have only attributes of parent class b. may have only operations of parent class c. may have new operations only in addition to those in parent class d. may have new attributes and new operations in addition to those of the parent class 9.25 By polymorphism in object-oriented modelling we mean a. the ability to manipulate objects of different distinct classes b. the ability to manipulate objects of different distinct classes knowing only their common properties c. use of polymorphic operations d. use of similar operations to do similar things 9.26 A polymorphic operation a. has same name b. has same name but uses different methods depending on class c. uses different methods to perform on the same class d. uses polymorphic method 9.27 Given a word statement of a problem potential objects are identified by selecting V. Rajaraman/IISc. Bangalore M9/V1/July 04/5

a. verb phrases in the statement b. noun phrases in the statement c. adjectives in the statement d. adverbs in the statement 9.28 Given a word statement of problem potential operations appropriate for objects are identified by selecting a. verb phrases in the statement b. noun phrases in the statement c. adjectives in the statement d. adverbs in the statement 9.29 Objects selected to model a system (i)must be essential for functioning of the system (ii)must have all attributes which are invariant during operations of a system (iii)must have attributes relevant for performing services of object (iv) must be able to perform assigned services, iii b. ii, iii, iv c. i, iii, iv d. i, ii, iii, iv 9.30 An object is selected for modelling a system provided a. its attributes are invariant during operation of the system b. its attributes change during operation of the system c. it has numerous attributes d. it has no attributes relevant to the system 9.31 An object is considered an external entity in object-oriented modelling a. its attributes are invariant during operation of the system b. its attributes change during operation of the system c. it has numerous attributes d. it has no attributes relevant to the system V. Rajaraman/IISc. Bangalore M9/V1/July 04/6

9.32 Object-oriented system modelling using CRC method gives a. Java programs for the system b. C++ programs for the system c. Classes of the system, their responsibilities and collaborating classes d. Objective C programs for the system 9.33 The expansion of the acronym CRC is a. Collecting Responsibilities Classes b. Collaborating with Relevant Classes c. Class Responsibilities and Collaborators d. Creating Relevant Classes 9.34 In CRC based design a CRC team consists of (i) one or two user s representatives (ii) several programmers (iii) project coordinators (iv) one or two system analysts b. i, iii c. i, iii, iv d. i, ii, iii, iv 9.35 A class index card contains besides class name (i) superclasses and subclasses (ii) short description of class (iii)collaborators (iv)private responsibilities of class (v)contract(s) with collaborators, iii b. i, iii, iv, v c. i, ii, iii, iv d. i, ii, iii, iv and v 9.36 The CRC modeling primarily requires (i)identifying classes and their responsibilities V. Rajaraman/IISc. Bangalore M9/V1/July 04/7

(ii)identifying collaborators of each class and their responsibilities (iii)developing a collaboration graph b. i, iii c. ii, iii d. i, ii, iii V. Rajaraman/IISc. Bangalore M9/V1/July 04/8

Key to Objective Questions 9.1 b 9.2 d 9.3 c 9.4 c 9.5 c 9.6 c 9.7 a 9.8 d 9.9 b 9.10 d 9.11 c 9.12 b 9.13 b 9.14 b 9.15 c 9.16 d 9.17 b 9.18 c 9.19 d 9.20 a 9.21 c 9.22 a 9.23 c 9.24 d 9.25 b 9.26 b 9.27 b9.28 a 9.29 c 9.30 b 9.31 a 9.32 c 9.33 c 9.34 c 9.35 d 9.36 d V. Rajaraman/IISc. Bangalore M9/V1/July 04/9