Free Essay

Which of the Following Is Not Part of a Uml Diagram

In:

Submitted By xaviermarsh123
Words 442
Pages 2
HELPIDO.COM

--------------------------------------------------------------------------
FOLLOW THIS LINK TO GET THE TUTORIAL

http://helpido.com/which-of-the-following-is-not-part-of-a-uml-diagram/

------------------------------------------------------------------------------

1. (TCO 2) Which of the following is not part of a UML diagram? (Points : 2)

Object

Name

Attribute

Method

All of the above

2. (TCO 2) Java, C#, and C++ all allow for the use of comments. Which of the following represent(s) valid comments in these three languages? (Points : 2)

*/ Comment */

/ Comment /

– Comment –

All of the above

None of the above

3. (TCO 2) Attributes represent the _____ of an object because they store information about that object. (Points : 2)

state

behaviors

size

accessibility

4. (TCO 2) If a programmer explicitly defines a constructor that accepts parameters, he or she should also define a _____ version, as a best practice. (Points : 2)

private

public

static

default

None of the above

5. (TCO 2) Encapsulation _____ and provides _____ for program components. (Points : 2)

protects an object’s data from unwanted modifications; independence

protects an object’s methods from unwanted modifications; independence

provides universal access to an object’s attributes; a stable implementation

provides universal access to an object’s methods; a stable implementation

None of the above

6. (TCO 2) Which of the following symbols indicate level of access for both attributes and methods in a class. (Points : 2)

&&

/

-

||

All of the above

7. (TCO 2) A black box is a term used to describe a system that can be understood solely based on its inputs, the resulting outputs and _____. (Points : 2)

its object-specific instantiated behavior

its object-specific state at any given time

a detailed understanding of its implementation

a basic understanding of its implementation

8. (TCO 2) Which of the following statements is true about encapsulation? (Points : 2)

Encapsulation assists in combining more than one class together in a single, cohesive entity.

Encapsulation assists with messaging between objects because it allows full access of all attributes to outside entities.

Encapsulation assists with the creation of code that is reusable.

Encapsulation is another term for object-oriented design.

9. (TCO 2) Given a private attribute called age, which of the following are proper implementations for a getter and a setter? (Points : 2)

void getAge(){return age;}, void setAge(int newAge){age = newAge;}

int getAge(){return age;}, int setAge(int newAge){return newAge;}

int getAge(){age = newAge;}, void setAge(int newAge){return age;}

int getAge(){return age;}, void setAge(int newAge){age = newAge;}

10. (TCO 2) Identify the attribute declaration(s) below that most likely contribute to the concept of information/data hiding. (Points : 2)

private string name;

private name;

string private name;

string name;

None of the above

Similar Documents

Free Essay

Kft1

...Using Unified Modeling Language (UML) - The graduate develops and interprets Unified Modeling Language (UML) diagrams which model object-oriented designs. Competency 430.1.5: Object-Oriented Concepts - The graduate applies object-oriented concepts, develops object-oriented designs, and uses object-oriented programming techniques. Competency 430.1.6: Software Testing and Troubleshooting - The graduate applies software testing and troubleshooting strategies to determine programming errors and recommend appropriate solutions. Introduction: As a competent programmer, your ability to design and develop algorithms, your proficient use of data structures, and your ability to use the Unified Modeling Language (UML) to communicate and develop object-oriented designs will help you design and develop applications to meet customer requirements. A solid understanding of object-oriented concepts will help you develop applications that are maintainable and extensible. Strong competence in software testing and troubleshooting will allow you to validate and verify your applications to ensure you are delivering a quality product that meets all requirements. You will need to develop a Java application to meet the requirements of this assignment. It is recommended that you use NetBeans as your integrated development environment. To download this program, follow the instructions found at the “Netbeans Download” web link below. Use the following scenario to...

Words: 2139 - Pages: 9

Premium Essay

Using Uml to Model System

...INTRODUCTION This IDoc describes use of the Unified Modeling Language (UML) to model and document Accounting Information Systems (AIS). The objective of modeling AIS is multifaceted and can be to: visualize, understand, summarize, detail, analyze, design, develop, implement, operate, secure, control, or audit the AIS. UML is a powerful modeling language and technique for all of these modeling tasks and is more robust and semantically superior to the commonly used Structured Analysis (SA) modeling tools of flowcharts (FC), data flow diagrams (DFD), and entity-relationship diagrams (ERD). Dr. White suggests that using UML diagrams as a tool to document AIS is a viable alternative to the Structured Analysis’s diagrams of FC, DFD, and ERD. What follows in Section II is a brief comparison of the two alternative approaches to systems documentation: Structured Analysis (SA) and Object Orientation (OO). Section III presents the definition and description of the major structural and behavioral elements used in UML including classifiers, instances, relationships, collaborations, activities, interactions, and states. Section IV discusses the organization and presentation of UML documentation of AIS as a collection of diagrams and packages. Section V contains various UML diagrams of the business revenue cycle (system) as examples of how to use UML to document a business system. Section VI contains examples of UML models of two special systems of great importance to accountants: the...

Words: 9812 - Pages: 40

Free Essay

Test

...Overview: Deployment diagrams are used to visualize the topology of the physical components of a system where the software components are deployed. So deployment diagrams are used to describe the static deployment view of a system. Deployment diagrams consist of nodes and their relationships. Purpose: The name Deployment itself describes the purpose of the diagram. Deployment diagrams are used for describing the hardware components where software components are deployed. Component diagrams and deployment diagrams are closely related. Component diagrams are used to describe the components and deployment diagrams shows how they are deployed in hardware. UML is mainly designed to focus on software artifacts of a system. But these two diagrams are special diagrams used to focus on software components and hardware components. So most of the UML diagrams are used to handle logical components but deployment diagrams are made to focus on hardware topology of a system. Deployment diagrams are used by the system engineers. The purpose of deployment diagrams can be described as: * Visualize hardware topology of a system. * Describe the hardware components used to deploy software components. * Describe runtime processing nodes. How to draw Deployment Diagram? Deployment diagram represents the deployment view of a system. It is related to the component diagram. Because the components are deployed using the deployment diagrams. A deployment diagram consists of nodes. Nodes...

Words: 8647 - Pages: 35

Free Essay

Uml Term Papaer on Domain Analysis

...LOVELY PROFESSIONAL UNIVERSITY TERM PAPER ON Extending UML to Support Domain Analysis SUBMITTED TO:- SUBMITTED BY:- Mr. SANDEEP SINGH AKANSHU KUMAR Reg No:-11112286 ROLL No:- A21 SECTION:- K1107 Abstract:- The process of modelling and developing commonality and variability for system families should be supported by suitable methods and notations. The object-oriented methods and their notations, which are used at present, focus on the development of a single system at a time. In this paper we analyse feature models as a representation of the common parts and variants contained in a system family, and propose using a feature diagram as a basic representation of commonality, variability and dependencies. We examine various approaches to customizing the standard modelling language UML to model system families and propose how to extend the UML for the purposes of modelling variants in object-oriented analysis and design techniques. We recommend the use of UML standard lightweight extensibility mechanisms (stereotypes combined with tagged values) without changing the UML metamodel. This enables us to join the advantages of feature models with UML and provides the traceability of a concept throughout system...

Words: 3255 - Pages: 14

Premium Essay

Hallo

...1 Review of UML The purpose of this chapter is to set the scene by reviewing the key UML concepts, the main diagram types, and the role of those diagrams within the software development process. If you're quite new to UML this will serve as a practical introduction that will help you make sense of the rest of the book, before you move on to further reading. If you're experienced with UML the chapter will serve as handy revision and you might just find some nuggets of information that have so far eluded you. Either way we'll all be moving on from roughly the same starting point: with the same appreciation of UML notation, with an understanding of relevant software development processes, and with a common bias towards .NET and the Visio for Enterprise Architects tool. The final point is quite important, and the raison d'être for this book. In recent years the body of UML literature has focused mainly on Java development and the use of modeling tools such as Rational Rose. In this book we're applying a .NET development perspective at the same time as demonstrating the so far under-documented Visio modeling tool that comes bundled with the Visual Studio .NET Enterprise Architect. With all this in mind we can now press on with the introduction to – or revision of, depending on your background – the Unified Modeling Language. What is the Unified Modeling Language? When discussing UML, we need to establish one important point right up front. The Unified Modeling...

Words: 8185 - Pages: 33

Free Essay

Chap 3

...Conceptual Design: An Overview of Methodologies, Models and Notations CHAPTER OBJECTIVES (YOU SHOULD BE ABLE TO): 1. Define and describe a methodology. 2. Define and describe traditional, structured analysis & design, information modeling, and object-oriented methodology classifications. 3. Define and describe a Data Flow Diagram (DFD) and an Entity-Relationship Diagram (ERD). 4. Define and describe attributes, operations and relationships in an object-oriented methodology. 5. Define and describe the foundational characteristics of an object-oriented methodology. 6. Describe two classic information systems development challenges and their potential resolution. 7. Discuss Classification Theory and its relationship with object-oriented methodologies. 8. Describe Rational Corporation's Unified Software Development Process. 9. Define parallelism, substitution and omission. 10. Describe the Unified Modeling Language (UML) and describe Use Case, Class Diagram and Interaction Diagram. 11. Describe a simplistic object-oriented methodology for applying and using the UML. 12. Describe the foundational characteristics of the UML’s Class Diagram DESIGN A generic systems development life cycle (SDLC) was presented in an earlier chapter. You may recall that the purpose for this version of a SDLC was to give you a simplified way of sequentially studying the activities that are utilized to produce software-intensive information systems. In reality the SDLC for such systems...

Words: 13243 - Pages: 53

Free Essay

It Research

...1. Diagramming Method When it comes to recording the results of a system analysis, there are so many diagramming tools and methods available that it can be difficult deciding which one to use. Before discussing the details of any template or methodology, there are two principles that are common to all diagramming techniques. First, the context of a diagram must be clear, and second, each diagram must present a view of the system that is independent of other views. A diagram's context must be fully understood by its title, title block, a reference to a larger (smaller) context, or some combination thereof. Time and version dependencies should also be considered. Care to waste your time writing a new program - from an old database document? A date and time stamp will resolve any confusion. If you can expect a second version to be made (almost always), a version identification will also help. Some media (e.g. the Internet) facilitate keeping a document within context, while others (e.g. paper) require extra care. If there will be more than one type of diagram for a system, each diagram type must be Orthogonal to all the others. Orthogonal projections show aspects of a system from perspectives that are fully independent of each other. In the same way that an architect views a building plan from front, side and planar elevations (relating to the perpendicular x, y and z axes), we we want to view a system from similar orthogonal views. Given a 3-dimensional system, any 2-dimensional...

Words: 2185 - Pages: 9

Premium Essay

UML: Unified Modelling Language

...What is UML? UML, short for Unified Modelling Language, is a standardized modelling language that enables developers to specify, visualize, construct and design outcomes of a software system. UML is structured so that it enables scalability, security and robust execution under stressful conditions and the structure must be defined clearly enough so that when an issue occurs, maintenance programmers can quickly find the bug and fix it. When talking about large enterprise applications, these programs must be designed to work perfectly. A well designed architecture benefits any program and not just large ones. The structure is a way of dealing with complexity, so the advantages of structure, and of modelling and design, compound as the application...

Words: 1594 - Pages: 7

Premium Essay

Change Management Strategy in the Organization

...Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user. The Model View ViewModel (MVVM) is an architectural pattern used in software engineering that originated from Microsoft as a specialization of the Presentation Model design pattern introduced by Martin Fowler.[1] Largely based on the model–view–controller pattern (MVC), MVVM is a specific implementation targeted at UI development platforms which support the event-driven programming in Windows Presentation Foundation (WPF) and Silverlight on the .NET platforms using XAML and .NET languages. Technically different, but similar, Presentation Model design patterns are available in HTML5 through AngularJS,[2][3] KnockoutJS, Ext JS,[4] Vue.js,[5] and for Java the ZK framework (Model-View-Binder). What is garbage collection? Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding ..... Laziness (Remember in VB6 where one of the good practices is to set object to nothing). CLR automatically releases objects when they are no longer in use and refernced. CLR runs on non-deterministic to see the unused objects and cleans them. One side effect of this non-deterministic feature is that we cannot assume an object is destroyed...

Words: 1735 - Pages: 7

Free Essay

An Experimental Comparison of Er and Uml Class Diagrams for Data Modelling

...Empir Software Eng (2010) 15:455–492 DOI 10.1007/s10664-009-9127-7 An experimental comparison of ER and UML class diagrams for data modelling Andrea De Lucia · Carmine Gravino · Rocco Oliveto · Genoveffa Tortora Published online: 11 December 2009 © Springer Science+Business Media, LLC 2009 Editor: Erik Arisholm Abstract We present the results of three sets of controlled experiments aimed at analysing whether UML class diagrams are more comprehensible than ER diagrams during data models maintenance. In particular, we considered the support given by the two notations in the comprehension and interpretation of data models, comprehension of the change to perform to meet a change request, and detection of defects contained in a data model. The experiments involved university students with different levels of ability and experience. The results demonstrate that using UML class diagrams subjects achieved better comprehension levels. With regard to the support given by the two notations during maintenance activities the results demonstrate that the two notations give the same support, while in general UML class diagrams provide a better support with respect to ER diagrams during verification activities. Keywords Controlled experiments · Entity-relation diagrams · UML class diagrams · Design notations · Comprehension · Maintenance · Verification The work described in this paper is supported by the project METAMORPHOS (MEthods and Tools for migrAting software systeMs towards...

Words: 16567 - Pages: 67

Free Essay

Skills for Working Life

...The method adopted is based on the Model Driven Architecture. First, the Platform Independent Model of Web Applications is refined to create a new model called Abstract Description of Interaction (ADI). An ADI is a UML class diagram annotated with OCL statements to represent an abstraction of the interaction between the thin client and the business logic. Secondly, the ADI model is automatically transferred to an Alloy model and analysed using the Alloy Analyser. 1 Introduction Over the past two decades Web Applications have become increasingly vital, affecting almost all aspects of our daily life such as banking, retail, information gathering, entertainment and learning. Such applications are mostly mission critical [1]. Hence, ensuring the correctness of the specification and implementation is a primary concern and has received considerable attention [2–4]. To analyse these systems, it is important to create a formal model. For example, [2] uses µ-calculus to represent the model, while [3] makes use of a variant of automata as the analyzable model. Stotts and Navon [4] present a model based on Petri nets. Our approach makes use of MDA [5–7] transformations to automatically create the analysable model. Unlike other approaches [2–4] we use a formalism [8], which is ideal [9] for the analysis of object oriented systems, such as web applications. This paper aids to the analysis of Web Applications [10]; software...

Words: 4841 - Pages: 20

Free Essay

Business

...ENGINEERING CSE 324 class diagram Analysis. ------------------------------------------------- GARMENTS MANAGEMENT SYSTEM SUBMITTED To: SUBMITTED By: MD. SAMI UDDIN NAME: SABBIR AHMED PRINCE LECTURER, DEPT. CSE ID: 11.01.04.148 MOHAMMAD IMRUL JUBAIR NAME: LUBNA JESMIN LECTURER, DEPT. CSE ID: 11.01.04.146 NAME: SHAMIUL OVI ID: 11.01.04.150 NAME: JERIN TASNIM ID: 11.01.04.170 NAME: MEHEDI HASAN KHAN ID: 11.01.04.145 Contents Introduction……………………………………………………………………………………………………………………………………………1 Class Diagram 2 Class: 2 A class consists of three parts: 3 Class attributes 4 Class operations / methods 4 Relationships between classes 5 Relationship Type 5 Graphical representation of some relationships in class diagram: 8 Class Diagram of garments Management System: 9 Attributes used in this class: 13 Methods used in this class(): 13 Salary Class: 13 Attributes used in this class: 13 Class diagram of our Garments Management System 15 Relations used in the class diagram: 16 Conclusion: 16 Introduction Our project name is garments management system. The topic of this this report is Class Diagram. On this report first basic class diagram and different relations has been discussed. Then the class diagram of our project has been discussed briefly. Class Diagram Class diagrams are visual representations...

Words: 1432 - Pages: 6

Premium Essay

Mraa

...requirements For the award of the degree of Bachelor of Computer Science (Software Engineering) Faculty of Computer Systems & Software Engineering Universiti Malaysia Pahang JUNE, 2012 vi ABSTRACT Hostel Management is an application developed to manage the various activities in hostel. The particular project is deal with the problems on managing the a hostel and avoids the problem occurs when carried out manually. Identification of the drawbacks of the existing system leads to the designing of computerized system that will be compatible to the existing system with the system which is more friendly and more GUI oriented. The objective of this project is to present a design of Hostel Management System for SMA Pahang. Our research is a comparative study of software design in development HMS for SMA Pahang. The study is focusly on fully utilize the OO Diagram and functional-based diagram. Our focus is comparing the utilization and significant of software design while developing the system using PHP for development of HMS. vii ABSTRAK Pengurusan asrama adalah satu aplikasi yang dibangunkan untuk menguruskan pelbagai aktiviti di asrama. Projek tertentu berurusan dengan masalah menguruskan asrama dan mengelakkan masalah ini berlaku apabila dijalankan secara manual. Pengenalan kelemahan system yang sedia ada membawa kepada mereka bentuk system berkomputer yang akan menjadi serasi dengan system yang sedia ada dengan system yang lebih mesra dan lebih berorientasikan...

Words: 3646 - Pages: 15

Free Essay

Real Time Systems

...Real time Systems:- Definition:- A real time system is basically an information processing system which has to respond to externally generated input stimuli within a specific timeframe. * The correctness depends on the time it was delivered not only on the logical result it generally produced. * Failure encounters a wrong response A real time system is actually a system that acts to the event within a specified time period. A real time system depicts those systems which have to perform certain calculation within specific time period, delayed results may be considered wrong. In 2001, Shaw explained that real time systems have a very limited time constraints which are defined by the systems requirements, which reflects the aspects of outer world. Real time systems are now become important part of this modern age, safety and privacy issues and performance of such systems have also been raised .In 2000 Halang and Druzovec explained that performance in real time system depends on higher bandwidth, faster response and faster computation power. A real time systems state is dependent on a function of physical time eg; a chemical reaction continues to change its state from one state to another even after the supervising computer system is stopped. This real time system can easily be decomposed into a set of subsystems i.e. human operator, controlled object, real time computer system. A real time system must react to the stimuli with the help of the controlled object within specific...

Words: 3481 - Pages: 14

Free Essay

Library System

...A Library System 1. Inception We have been asked to build a computer based library system that will handle the bookkeeping aspects of a library and provide user browsing facilities. The first thing to do is to go and find out about the target library or libraries to see what they do now and what they would like to be able to do. We get the following data: 2. Requirements Books and Journals. The library contains both books and journals. It may have several copies of the same book. Some of the books are for short term loans only. All other books may be borrowed by any library member for 3 weeks. Only members of staff may borrow journals. Members of the library can normally borrow up to 6 items at a time, but members of staff may borrow up to 12 items at a time. New books and journals arrive regularly and sometime disposed of; the catalogue needs to be updated. The current year’s journals are sent away to be bound at the end of each year. Borrowing. It is essential that the system keeps track of when books and journals are borrowed and returned. The new system should produce reminders when a book is overdue. It may be desirable to allow users to extend their loans if the book is not reserved. The system enforces the rules for borrowing given above. Browsing: The system should allow users to search for a book on a particular topic or by a particular author etc. The user should then be able to check if the book is on loan and if so to reserve the book. To...

Words: 2312 - Pages: 10