Part 1 Foundations of object orientation
|
|
|
- Abraham Pierce
- 10 years ago
- Views:
Transcription
1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation
2 OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1
3 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed in this chapter: objects methods classes parameters This chapter is the start of our journey into the world of object-oriented programming. Here we introduce the most important concepts you will learn about: objects and classes. By the end of the chapter you should have an understanding of what objects and classes are, what they are used for, and how to interact with them. This chapter forms the basis of all other explorations in the book. 1.1 Java objects model objects from a problem domain. Objects are created from classes. The class describes the kind of object; the objects represent individual instantiations of the class. Objects and classes If you write a computer program in an object-oriented language, you are creating, in your computer, a model of some part of the world. The parts that the model is built up from are the objects that appear in the problem domain. These objects must be represented in the computer model being created. Objects may be categorized, and a class describes in an abstract way all objects of a particular kind. We can make these abstract notions clearer by looking at an example. Assume you want to model a traffic simulation. One kind of entity you then have to deal with is cars. What is a car in our context: is it a class or an object? A few questions may help us to make a decision. What color is a car? How fast can it go? Where is it right now? You will notice that we cannot answer these questions until we talk about one specific car. The reason is that the word car in this context refers to the class car we are talking about cars in general, not about one particular car. If I say, My old car that is parked at home in my garage, we can answer the questions above. That car is red, it doesn t go very fast, and it is in my garage. Now I am talking about an object about one particular example of a car. We usually refer to a particular object as an instance. We shall use the term instance quite regularly from now on. Instance is roughly synonymous with object we refer to objects
4 OFWJ_C01.QXD 2/3/06 2:14 pm Page 4 4 Chapter 1 Objects and classes as instances when we want to emphasize that they are of a particular class (such as, this object is an instance of class car ). Before we continue this rather theoretical discussion, let us look at an example. 1.2 Creating objects Start BlueJ and open the example named shapes. 1 You should see a window similar to that shown in Figure 1.1. Figure 1.1 The shapes project in BlueJ In this window, a diagram should become visible. Every one of the colored rectangles in the diagram represents a class in our project. In this project we have classes named Circle, Square, Triangle, and Canvas. Right-click on the Circle class and choose new Circle() from the popup menu. The system asks you for a name of the instance click Ok, the default name supplied is good enough for now. You will see a red rectangle towards the bottom of the screen labeled circle1 (Figure 1.2). You have just created your first object! Circle, the rectangular icon in Figure 1.1, represents the class Circle; circle1 is an object created from this class. The area at the bottom of the screen where the object is shown is called the object bench. 1 We regularly expect you to undertake some activities and exercises while reading this book. At this point we assume that you already know how to start BlueJ and open the example projects. If not, read Appendix A first.
5 OFWJ_C01.QXD 2/3/06 2:14 pm Page Calling methods 5 Figure 1.2 An object on the object bench Convention We start names of classes with capital letters (such as Circle) and names of objects with lowercase letters (such as circle1). This helps to distinguish what we are talking about. Exercise 1.1 Create another circle. Then create a square. 1.3 Calling methods Right-click on one of the circle objects (not the class!) and you will see a popup menu with several operations. Choose makevisible from the menu this will draw a representation of this circle in a separate window (Figure 1.3). You will notice several other operations in the circle s menu. Try invoking moveright and movedown a few times to move the circle closer to the center of the screen. You may also like to try makeinvisible and makevisible to hide and show the circle. Figure 1.3 A drawing of a circle
6 OFWJ_C01.QXD 2/3/06 2:14 pm Page 6 6 Chapter 1 Objects and classes We can communicate with objects by invoking methods on them. Objects usually do something if we invoke a method. Exercise 1.2 What happens if you call movedown twice? Or three times? What happens if you call makeinvisible twice? The entries in the circle s menu represent operations that you can use to manipulate the circle. These are called methods in Java. Using common terminology, we say that these methods are called or invoked. We shall use this proper terminology from now on. We might ask you to invoke the moveright method of circle Methods can have parameters to provide additional information for a task. Parameters Now invoke the movehorizontal method. You will see a dialog appear that prompts you for some input (Figure 1.4). Type in 50 and click Ok. You will see the circle move 50 pixels to the right. 2 The movehorizontal method that was just called is written in such a way that it requires some more information to execute. In this case, the information required is the distance how far the circle should be moved. Thus the movehorizontal method is more flexible than the moveright or moveleft methods. The latter always move the circle a fixed distance, whereas movehorizontal lets you specify how far you want to move the circle. Figure 1.4 A method call dialog Exercise 1.3 Try invoking the movevertical, slowmovevertical, and changesize methods before you read on. Find out how you can use movehorizontal to move the circle 70 pixels to the left. The additional values that some methods require are called parameters. A method indicates what kinds of parameters it requires. When calling, for example, the movehorizontal method as shown in Figure 1.4, the dialog displays the line void movehorizontal(int distance) 2 A pixel is a single dot on your screen. Your whole screen is made up of a grid of single pixels.
7 OFWJ_C01.QXD 2/3/06 2:14 pm Page Data types 7 The header of a method is called its signature. It provides information needed to invoke that method. near the top. This is called the signature of the method. The signature provides some information about the method in question. The part between the parentheses (int distance) is the information about the required parameter. For each parameter, it defines a type and a name. The signature above states that the method requires one parameter of type int named distance. The name gives a hint about the meaning of the data expected. 1.5 Parameters have types. The type defines what kinds of values a parameter can take. Data types A type specifies what kind of data can be passed to a parameter. The type int signifies whole numbers (also called integer numbers, hence the abbreviation int ). In the example above, the signature of the movehorizontal method states that, before the method can execute, we need to supply a whole number specifying the distance to move. The data entry field shown in Figure 1.4 then lets you enter that number. In the examples so far, the only data type we have seen has been int. The parameters of the move methods and the changesize method are all of that type. Closer inspection of the object s popup menu shows that the method entries in the menu include the parameter types. If a method has no parameter, the method name is followed by an empty set of parentheses. If it has a parameter, the type of that parameter is displayed. In the list of methods for a circle you will see one method with a different parameter type: the changecolor method has a parameter of type String. The String type indicates that a section of text (for example a word or a sentence) is expected. Strings are always enclosed within double quotes. For example, to enter the word red as a string, type "red" The method call dialog also includes a section of text called a comment above the method signature. Comments are included to provide information to the (human) reader and are described in Chapter 2. The comment of the changecolor method describes what color names the system knows about. Exercise 1.4 Invoke the changecolor method on one of your circle objects and enter the String red. This should change the color of the circle. Try other colors. Exercise 1.5 This is a very simple example, and not many colors are supported. See what happens when you specify a color that is not known. Exercise 1.6 Invoke the changecolor method, and write the color into the parameter field without the quotes. What happens? Pitfall A common error for beginners is to forget the double quotes when typing in a data value of type String. If you type green instead of green you will get an error message saying something like Error: cannot resolve symbol.
8 OFWJ_C01.QXD 2/3/06 2:14 pm Page 8 8 Chapter 1 Objects and classes Java supports several other data types including, for example, decimal numbers and characters. We shall not discuss all of them right now, but rather come back to this issue later. If you want to find out about them now, look at Appendix B. 1.6 Multiple instances Exercise 1.7 Create several circle objects on the object bench. You can do so by selecting new Circle() from the popup menu of the Circle class. Make them visible, then move them around on the screen using the move methods. Make one big and yellow, make another one small and green. Try the other shapes too: create a few triangles and squares. Change their positions, sizes, and colors. Multiple instances. Many similar objects can be created from a single class. Once you have a class, you can create as many objects (or instances) of that class as you like. From the class Circle, you can create many circles. From Square, you can create many squares. Every one of those objects has its own position, color, and size. You change an attribute of an object (such as its size) by calling a method on that object. This will affect this particular object, but not others. You may also notice an additional detail about parameters. Have a look at the changesize method of the triangle. Its signature is void changesize(int newheight, int newwidth) Here is an example of a method with more than one parameter. This method has two, and a comma separates them in the signature. Methods can, in fact, have any number of parameters. 1.7 Objects have state. The state is represented by storing values in fields. State The set of values of all attributes defining an object (such as x-position, y-position, color, diameter, and visibility status for a circle) is also referred to as the object s state. This is another example of common terminology that we shall use from now on. In BlueJ, the state of an object can be inspected by selecting the Inspect function from the object s popup menu. When an object is inspected, a window similar to that shown in Figure 1.5 is displayed. This window is called the object inspector. Exercise 1.8 Make sure you have several objects on the object bench and then inspect each of them in turn. Try changing the state of an object (for example by calling the moveleft method) while the object inspector is open. You should see the values in the object inspector change.
9 OFWJ_C01.QXD 2/3/06 2:14 pm Page What is in an object? 9 Figure 1.5 An object inspection dialog Some methods, when called, change the state of an object. For example, moveleft changes the xposition attribute. Java refers to these object attributes as fields. 1.8 What is in an object? On inspecting different objects you will notice that objects of the same class all have the same fields. That is, the number, type, and names of the fields are the same, while the actual value of a particular field in each object may be different. In contrast, objects of a different class may have different fields. A circle, for example, has a field diameter, while a triangle has fields for width and height. The reason is that the number, types, and names of fields are defined in a class, not in an object. So the class Circle defines that each circle object will have five fields, named diameter, xposition, yposition, color, and isvisible. It also defines the types for these fields. That is, it specifies that the first three are of type int, while the color is of type String and the isvisible flag is of type boolean. (Boolean is a type that can represent two values: true and false. We shall discuss it in more detail later.) When an object of class Circle is created, the object will automatically have these fields. The values of these fields are stored in the object. That ensures that each circle has a color, for instance, and each can have a different color (Figure 1.6). The story is similar for methods. Methods are defined in the class of the object. As a result, all objects of a given class have the same methods. However, the methods are invoked on objects. This makes it clear which object to change when, for example, a moveright method is invoked. Exercise 1.9 Use the shapes from the shapes project to create an image of a house and a sun, similar to that shown in Figure 1.7. While you are doing this, write down what you have to do to achieve this. Could it be done in different ways?
10 OFWJ_C01.QXD 2/3/06 2:14 pm Page Chapter 1 Objects and classes Figure 1.6 A class and its objects with fields and values Circle int diameter int xposition int yposition String color boolean isvisible is instance of... is instance of... circle 1: Circle circle 2: Circle diameter 50 diameter 30 xposition 80 xposition 230 yposition 30 yposition 75 color blue color red isvisible true isvisible true 1.9 Object interaction For the next section we shall work with a different example project. Close the shapes project if you still have it open, and open the project called picture. Exercise 1.10 Open the picture project. Create an instance of class Picture and invoke its draw method. Also, try out the setblackandwhite and setcolor methods. Exercise 1.11 How do you think the Picture class draws the picture? Four of the classes in the project are identical to the classes in the shapes project. But we now have an additional class: Picture. This class is programmed to do exactly what we have done by hand in Exercise 1.9. In reality, if we want a sequence of tasks done in Java, we would not normally do it by hand as in Exercise 1.9. Instead, we create a class that does it for us. This is the Picture class. The Picture class is written so that, when you create an instance, that instance creates two square objects (one for the wall, one for the window), a triangle and a circle, moves them around, and changes their color and size, until it looks like the picture we see in Figure 1.7.
11 OFWJ_C01.QXD 2/3/06 2:14 pm Page Source code 11 Figure 1.7 An image created from a set of shape objects Method-calling. Objects can communicate by calling each other s methods. The important point here is: objects can create other objects and they can call each other s methods. In a normal Java program you may well have hundreds or thousands of objects. The user of a program just starts the program (which typically creates a first object), and all other objects are created directly or indirectly by that object. The big question now is: How do we write the class for such an object? 1.10 The source code of a class determines the structure and the behavior (the fields and methods) of each of the objects in that class. Source code Each class has some source code associated with it. The source code is text that defines the details of the class. In BlueJ, the source code of a class can be viewed by selecting the Open Editor function from the class s popup menu, or by double-clicking the class icon. Exercise 1.12 Look at the popup menu of class Picture again. You will see an option labeled Open Editor. Select it. This will open a text editor displaying the source code of the class. The source code is text written in the Java programming language. It defines what fields and methods a class has, and precisely what happens when a method is invoked. In the next chapter we shall discuss exactly what the source code of a class contains and how it is structured. A large part of learning the art of programming is learning how to write these class definitions. To do this, we shall learn to use the Java language (although there are many other programming languages that could be used to write code). When you make a change to the source code and close the editor, 3 the icon for that class appears striped in the diagram. The stripes indicate that the source has been changed. The 3 In BlueJ, there is no need to save the text in the editor explicitly before closing. If you close the editor, the source code will automatically be saved.
12 OFWJ_C01.QXD 2/3/06 2:14 pm Page Chapter 1 Objects and classes class now needs to be compiled by clicking the Compile button. (You may like to read the About compilation note for more information about what is happening when you compile a class.) Once a class has been compiled, objects can be created again and you can try out your change. About compilation When people write computer programs, they typically use a higher level programming language, such as Java. A problem with that is that a computer cannot execute Java source code directly. Java was designed to be reasonably easy to read for humans, not for computers. Computers, internally, work with a binary representation of a machine code, which looks quite different from Java. The problem for us is: it looks so complex that we do not want to write it directly. We prefer to write Java. What can we do about this? The solution is a program called the compiler. The compiler translates the Java code into machine code. We can write Java, run the compiler which generates the machine code and the computer can then read the machine code. As a result, every time we change the source code we must first run the compiler before we can use the class again to create an object. Otherwise the machine code version that the computer needs does not exist. Exercise 1.13 In the source code of class Picture, find the part that actually draws the picture. Change it so that the sun will be blue rather than yellow. Exercise 1.14 Add a second sun to the picture. To do this, pay attention to the field definitions close to the top of the class. You will find this code: private Square wall; private Square window; private Triangle roof; private Circle sun; You need to add a line here for the second sun. For example: private Circle sun2; Then write the appropriate code for creating the second sun. Exercise 1.15 Challenge exercise (This means that this exercise might not be solved quickly. We do not expect everyone to be able to solve this at the moment. If you do great. If you don t, then don t worry. Things will become clearer as you read on. Come back to this exercise later.) Add a sunset to the single-sun version of Picture. That is: make the sun go down slowly. Remember: The circle has a method slowmovevertical that you can use to do this. Exercise 1.16 Challenge exercise If you added your sunset to the end of the draw method (so that the sun goes down automatically when the picture is drawn), change this now. We now want the sunset in a separate method, so that we can call draw and see the picture with the sun up, and then call sunset (a separate method!) to make the sun go down.
13 OFWJ_C01.QXD 2/3/06 2:14 pm Page Objects as parameters Another example In this chapter, we have already discussed a large number of new concepts. To help in understanding these concepts, we shall now revisit them in a different context. For this, we use a different example. Close the picture project if you still have it open, and open the labclasses project. This project is a simplified part of a student database designed to keep track of students in laboratory classes and to print class lists. Exercise 1.17 Create an object of class Student. You will notice that this time you are prompted not only for a name of the instance, but also for some other parameters. Fill them in before clicking Ok. (Remember that parameters of type String must be written in double quotes.) 1.12 Results. Methods may return information about an object via a return value. Return values As before, you can create multiple objects. And again, as before, the objects have methods that you can call from their popup menu. Exercise 1.18 Create some student objects. Call the getname method on each object. Explain what is happening. When calling the getname method of the Student class, we notice something new: methods may return a result value. In fact, the signature of each method tells us whether or not it returns a result, and what the type of the result is. The signature of getname (as shown in the object s popup menu) is defined as String getname() The word String before the method name specifies the return type. In this case it states that calling this method will return a result of type String. The signature of changename states: void changename(string replacementname) The word void indicates that this method does not return any result. Methods with return values enable us to get information from an object via a method call. This means that we can use methods either to change an object s state or to find out about its state Objects as parameters Exercise 1.19 Create an object of class LabClass. As the signature indicates, you need to specify the maximum number of students in that class (an integer).
14 OFWJ_C01.QXD 2/3/06 2:14 pm Page Chapter 1 Objects and classes Exercise 1.20 Call the numberofstudents method of that class. What does it do? Exercise 1.21 Look at the signature of the enrollstudent method. You will notice that the type of the expected parameter is Student. Make sure you have two or three students and a LabClass object on the object bench, then call the enrollstudent method of the LabClass object. With the input cursor in the dialog entry field, click on one of the student objects this enters the name of the student object into the parameter field of the enrollstudent method (Figure 1.8). Click Ok, and you have added the student to the LabClass. Add one or more other students as well. Exercise 1.22 Call the printlist method of the LabClass object. You will see a list of all the students in that class printed to the BlueJ terminal window (Figure 1.9). Figure 1.8 Adding a student to a LabClass Figure 1.9 Output of the LabClass class listing
15 OFWJ_C01.QXD 2/3/06 2:14 pm Page Summary 15 As the exercises show, objects can be passed as parameters to methods of other objects. In the case where a method expects an object as a parameter, the expected object s class name is specified as the parameter type in the method signature. Explore this project a bit more. Try to identify the concepts discussed in the shapes example in this context. Exercise 1.23 Create three students with the following details: Snow White, student ID: , credits: 24 Lisa Simpson, student ID: , credits: 56 Charlie Brown, student ID: 12003P, credits: 6 Then enter all three into a lab and print a list to the screen. Exercise 1.24 Use the inspector on a LabClass object to discover what fields it has. Exercise 1.25 Set the instructor, room, and time for a lab, and print the list to the terminal window to check that these new details appear Summary In this chapter we have explored the basics of classes and objects. We have discussed the fact that objects are specified by classes. Classes represent the general concept of a thing, while objects represent concrete instances of a class. We can have many objects of any class. Objects have methods that we use to communicate with them. We can use a method to make a change to the object or to get information from the object. Methods can have parameters, and parameters have types. Methods have return types, which specify what type of data they return. If the return type is void, they do not return anything. Objects store data in fields (which also have types). All the data values of an object together are referred to as the object s state. Objects are created from class definitions that have been written in a particular programming language. Much of programming in Java is about learning to write class definitions. A large Java program will have many classes, each with many methods that call each other in many different ways. To learn to develop Java programs, we need to learn how to write class definitions, including fields and methods, and how to put these classes together well. The rest of this book deals with these issues. Terms introduced in this chapter object, class, instance, method, signature, parameter, type, state, source code, return value, compiler
16 OFWJ_C01.QXD 2/3/06 2:15 pm Page Chapter 1 Objects and classes Concept summary object Java objects model objects from a problem domain. class Objects are created from classes. The class describes the kind of object; the objects represent individual instantiations of the class. method We can communicate with objects by invoking methods on them. Objects usually do something if we invoke a method. parameter Methods can have parameters to provide additional information for a task. signature The header of a method is called its signature. It provides information needed to invoke that method. type Parameters have types. The type defines what kinds of values a parameter can take. multiple instances Many similar objects can be created from a single class. state Objects have state. The state is represented by storing values in fields. method-calling Objects can communicate by calling each other s methods. source code The source code of a class determines the structure and the behavior (the fields and methods) of each of the objects in that class. result Methods may return information about an object via a return value. Exercise 1.26 In this chapter we have mentioned the data types int and String. Java has more predefined data types. Find out what they are and what they are used for. To do this, you can check Appendix B, or look it up in another Java book or in an online Java language manual. One such manual is at datatypes.html Exercise 1.27 What are the types of the following values? 0 "hello" true "33" Exercise 1.28 What would you have to do to add a new field, for example one called name, to a circle object? Exercise 1.29 Write the signature for a method named send that has one parameter of type String, and does not return a value. Exercise 1.30 Write the signature for a method named average that has two parameters, both of type int, and returns an int value. Exercise 1.31 Look at the book you are reading right now. Is it an object or a class? If it is a class, name some objects. If it is an object, name its class. Exercise 1.32 Can an object have several different classes? Discuss.
FOR EVALUATION ONLY NOT FOR DISTRIBUTION
David Barnes Michael Kölling Objects First with Java A Practical Introduction using BlueJ FOR EVALUATION ONLY NOT FOR DISTRIBUTION Copyright Barnes, Kölling, 2002 Pearson Education / Prentice Hall ISBN
The first program: Little Crab
CHAPTER 2 The first program: Little Crab topics: concepts: writing code: movement, turning, reacting to the screen edges source code, method call, parameter, sequence, if-statement In the previous chapter,
2 The first program: Little Crab
2 The first program: Little Crab topics: concepts: writing code: movement, turning, reacting to the screen edges source code, method call, parameter, sequence, if statement In the previous chapter, we
Understanding class definitions
OFWJ_C02.QXD 2/3/06 2:28 pm Page 17 CHAPTER 2 Understanding class definitions Main concepts discussed in this chapter: fields methods (accessor, mutator) constructors assignment and conditional statement
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
Creating and Using Links and Bookmarks in PDF Documents
Creating and Using Links and Bookmarks in PDF Documents After making a document into a PDF, there may be times when you will need to make links or bookmarks within that PDF to aid navigation through the
First Bytes Programming Lab 2
First Bytes Programming Lab 2 This lab is available online at www.cs.utexas.edu/users/scottm/firstbytes. Introduction: In this lab you will investigate the properties of colors and how they are displayed
CSC 221: Computer Programming I. Fall 2006
CSC 221: Computer Programming I Fall 2006 Understanding class definitions class structure fields, constructors, methods parameters assignment statements local variables 1 Looking inside classes recall
Appendix K Introduction to Microsoft Visual C++ 6.0
Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):
Aras Corporation. 2005 Aras Corporation. All rights reserved. Notice of Rights. Notice of Liability
Aras Corporation 2005 Aras Corporation. All rights reserved Notice of Rights All rights reserved. Aras Corporation (Aras) owns this document. No part of this document may be reproduced or transmitted in
Using an Access Database
A Few Terms Using an Access Database These words are used often in Access so you will want to become familiar with them before using the program and this tutorial. A database is a collection of related
LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development
LAB 1 Familiarization of Rational Rose Environment And UML for small Java Application Development OBJECTIVE AND BACKGROUND The purpose of this first UML lab is to familiarize programmers with Rational
How To Test In Bluej
Unit Testing in BlueJ Version 1.0 for BlueJ Version 1.3.0 Michael Kölling Mærsk Institute University of Southern Denmark Copyright M. Kölling 1 INTRODUCTION.........................................................................
Creating Database Tables in Microsoft SQL Server
Creating Database Tables in Microsoft SQL Server Microsoft SQL Server is a relational database server that stores and retrieves data for multi-user network-based applications. SQL Server databases are
SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9
SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9 Learning Goals: At the end of this lab, the student should have basic familiarity with the DataMan
Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved.
1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays
Netigate User Guide. Setup... 2. Introduction... 5. Questions... 6. Text box... 7. Text area... 9. Radio buttons...10. Radio buttons Weighted...
Netigate User Guide Setup... 2 Introduction... 5 Questions... 6 Text box... 7 Text area... 9 Radio buttons...10 Radio buttons Weighted...12 Check box...13 Drop-down...15 Matrix...17 Matrix Weighted...18
How To Send An Encrypted Email In Outlook 2000 (For A Password Protected Email) On A Pc Or Macintosh (For An Ipo) On Pc Or Ipo (For Pc Or For A Password Safemail) On An Iphone Or
Outlook 2000 1. Open Outlook 2000 and select the Tools > Options > Security. 2. Click Change Settings. 3. Under the Certificates and Algorithms, there are two Choose buttons. The first allows you to select
Before you can use the Duke Ambient environment to start working on your projects or
Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings
Appendix M: Introduction to Microsoft Visual C++ 2010 Express Edition
Appendix M: Introduction to Microsoft Visual C++ 2010 Express Edition This book may be ordered from Addison-Wesley in a value pack that includes Microsoft Visual C++ 2010 Express Edition. Visual C++ 2010
Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102
Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102 Interneer, Inc. Updated on 2/22/2012 Created by Erika Keresztyen Fahey 2 Workflow - A102 - Basic HelpDesk Ticketing System
Installing Java 5.0 and Eclipse on Mac OS X
Installing Java 5.0 and Eclipse on Mac OS X This page tells you how to download Java 5.0 and Eclipse for Mac OS X. If you need help, Blitz [email protected]. You must be running Mac OS 10.4 or later
Lesson 3 - Processing a Multi-Layer Yield History. Exercise 3-4
Lesson 3 - Processing a Multi-Layer Yield History Exercise 3-4 Objective: Develop yield-based management zones. 1. File-Open Project_3-3.map. 2. Double click the Average Yield surface component in the
Getting Started in Tinkercad
Getting Started in Tinkercad By Bonnie Roskes, 3DVinci Tinkercad is a fun, easy to use, web-based 3D design application. You don t need any design experience - Tinkercad can be used by anyone. In fact,
Hands-on Exercise 1: VBA Coding Basics
Hands-on Exercise 1: VBA Coding Basics This exercise introduces the basics of coding in Access VBA. The concepts you will practise in this exercise are essential for successfully completing subsequent
Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint
Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint While it is, of course, possible to create a Research Day poster using a graphics editing programme such as Adobe
VISUAL ALGEBRA FOR COLLEGE STUDENTS. Laurie J. Burton Western Oregon University
VISUAL ALGEBRA FOR COLLEGE STUDENTS Laurie J. Burton Western Oregon University VISUAL ALGEBRA FOR COLLEGE STUDENTS TABLE OF CONTENTS Welcome and Introduction 1 Chapter 1: INTEGERS AND INTEGER OPERATIONS
Getting Started with Excel 2008. Table of Contents
Table of Contents Elements of An Excel Document... 2 Resizing and Hiding Columns and Rows... 3 Using Panes to Create Spreadsheet Headers... 3 Using the AutoFill Command... 4 Using AutoFill for Sequences...
Fireworks CS4 Tutorial Part 1: Intro
Fireworks CS4 Tutorial Part 1: Intro This Adobe Fireworks CS4 Tutorial will help you familiarize yourself with this image editing software and help you create a layout for a website. Fireworks CS4 is the
Drawing a histogram using Excel
Drawing a histogram using Excel STEP 1: Examine the data to decide how many class intervals you need and what the class boundaries should be. (In an assignment you may be told what class boundaries to
Plotting: Customizing the Graph
Plotting: Customizing the Graph Data Plots: General Tips Making a Data Plot Active Within a graph layer, only one data plot can be active. A data plot must be set active before you can use the Data Selector
WebSphere Business Monitor V6.2 KPI history and prediction lab
Copyright IBM Corporation 2009 All rights reserved IBM WEBSPHERE BUSINESS MONITOR 6.2 LAB EXERCISE WebSphere Business Monitor V6.2 KPI history and prediction lab What this exercise is about... 1 Lab requirements...
Microsoft Word 2010. Quick Reference Guide. Union Institute & University
Microsoft Word 2010 Quick Reference Guide Union Institute & University Contents Using Word Help (F1)... 4 Window Contents:... 4 File tab... 4 Quick Access Toolbar... 5 Backstage View... 5 The Ribbon...
Visual Logic Instructions and Assignments
Visual Logic Instructions and Assignments Visual Logic can be installed from the CD that accompanies our textbook. It is a nifty tool for creating program flowcharts, but that is only half of the story.
Understand the Sketcher workbench of CATIA V5.
Chapter 1 Drawing Sketches in Learning Objectives the Sketcher Workbench-I After completing this chapter you will be able to: Understand the Sketcher workbench of CATIA V5. Start a new file in the Part
Using Karel with Eclipse
Mehran Sahami Handout #6 CS 106A September 23, 2015 Using Karel with Eclipse Based on a handout by Eric Roberts Once you have downloaded a copy of Eclipse as described in Handout #5, your next task is
Introduction to ERD modelling using UML Class diagrams with Magicdraw (ver 17)
Introduction to ERD modelling using UML Class diagrams with Magicdraw (ver 17) Robin Beaumont [email protected] Tuesday, 04 October 2011 Contents: 1. Introduction... 2 1.1. Acknowledgement... 2
X-Trade Brokers Dom Maklerski S.A. XTB Expert Builder. Tutorial. Michał Zabielski 2010-08-05
X-Trade Brokers Dom Maklerski S.A. XTB Expert Builder Tutorial Michał Zabielski 2010-08-05 Table of Contents Installation...3 Legal notification...7 Initial adjustments / Preferences...8 Language...8 Platform
Writer Guide. Chapter 15 Using Forms in Writer
Writer Guide Chapter 15 Using Forms in Writer Copyright This document is Copyright 2005 2008 by its contributors as listed in the section titled Authors. You may distribute it and/or modify it under the
Week 2 Practical Objects and Turtles
Week 2 Practical Objects and Turtles Aims and Objectives Your aim in this practical is: to practise the creation and use of objects in Java By the end of this practical you should be able to: create objects
If you know exactly how you want your business forms to look and don t mind detail
Advanced Form Customization APPENDIX E If you know exactly how you want your business forms to look and don t mind detail work, you can customize QuickBooks forms however you want. With QuickBooks Layout
Petrel TIPS&TRICKS from SCM
Petrel TIPS&TRICKS from SCM Maps: Knowledge Worth Sharing Map Annotation A map is a graphic representation of some part of the earth. In our industry, it may represent either the surface or sub surface;
Adobe Illustrator CS5 Part 1: Introduction to Illustrator
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Adobe Illustrator CS5 Part 1: Introduction to Illustrator Summer 2011, Version 1.0 Table of Contents Introduction...2 Downloading
Chapter 15 Using Forms in Writer
Writer Guide Chapter 15 Using Forms in Writer OpenOffice.org Copyright This document is Copyright 2005 2006 by its contributors as listed in the section titled Authors. You can distribute it and/or modify
OUTLOOK WEB APP 2013 ESSENTIAL SKILLS
OUTLOOK WEB APP 2013 ESSENTIAL SKILLS CONTENTS Login to engage365 Web site. 2 View the account home page. 2 The Outlook 2013 Window. 3 Interface Features. 3 Creating a new email message. 4 Create an Email
Guide To Creating Academic Posters Using Microsoft PowerPoint 2010
Guide To Creating Academic Posters Using Microsoft PowerPoint 2010 INFORMATION SERVICES Version 3.0 July 2011 Table of Contents Section 1 - Introduction... 1 Section 2 - Initial Preparation... 2 2.1 Overall
MICROSOFT ACCESS STEP BY STEP GUIDE
IGCSE ICT SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge P a g e 1 Contents Task 35 details Page 3 Opening a new Database. Page 4 Importing.csv file into the
3 Improving the Crab more sophisticated programming
3 Improving the Crab more sophisticated programming topics: concepts: random behavior, keyboard control, sound dot notation, random numbers, defining methods, comments In the previous chapter, we looked
Complete the Payroll Transfer Form
7 Complete the Topics: Page Complete the Payroll Transfer (PT) Form 7-2 Symbol Key Helpful hints Revised: July 2001 7-1 Complete the Payroll Transfer (PT) Form The Description field, in the header of the
UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT
UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT Table of Contents Creating a Webform First Steps... 1 Form Components... 2 Component Types.......4 Conditionals...
The following is an overview of lessons included in the tutorial.
Chapter 2 Tutorial Tutorial Introduction This tutorial is designed to introduce you to some of Surfer's basic features. After you have completed the tutorial, you should be able to begin creating your
Eventia Log Parsing Editor 1.0 Administration Guide
Eventia Log Parsing Editor 1.0 Administration Guide Revised: November 28, 2007 In This Document Overview page 2 Installation and Supported Platforms page 4 Menus and Main Window page 5 Creating Parsing
Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.
Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java
NextGen Setup Guide First-time Workstation Setup & Logging In
This guide will help you get setup on NextGen for the first time you log onto a City or SBC computer. It will also help if you are a first-time user and need to create your password. I. Setting up Desktop
Finance Reporting. Millennium FAST. User Guide Version 4.0. Memorial University of Newfoundland. September 2013
Millennium FAST Finance Reporting Memorial University of Newfoundland September 2013 User Guide Version 4.0 FAST Finance User Guide Page i Contents Introducing FAST Finance Reporting 4.0... 2 What is FAST
Select the Crow s Foot entity relationship diagram (ERD) option. Create the entities and define their components.
Α DESIGNING DATABASES WITH VISIO PROFESSIONAL: A TUTORIAL Microsoft Visio Professional is a powerful database design and modeling tool. The Visio software has so many features that we can t possibly demonstrate
Using Microsoft Word. Working With Objects
Using Microsoft Word Many Word documents will require elements that were created in programs other than Word, such as the picture to the right. Nontext elements in a document are referred to as Objects
Writing Use Case Scenarios for Model Driven Development
Writing Use Case Scenarios for Model Driven Development This guide outlines how to use Enterprise Architect to rapidly build Use Cases and increase your productivity through Model Driven Development. Use
Informatica e Sistemi in Tempo Reale
Informatica e Sistemi in Tempo Reale Introduction to C programming Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 25, 2010 G. Lipari (Scuola Superiore Sant Anna)
Creating a Database in Access
Creating a Database in Access Microsoft Access is a database application. A database is collection of records and files organized for a particular purpose. For example, you could use a database to store
BUSINESS OBJECTS XI WEB INTELLIGENCE
BUSINESS OBJECTS XI WEB INTELLIGENCE SKW USER GUIDE (Skilled Knowledge Worker) North Carolina Community College Data Warehouse Last Saved: 3/31/10 9:40 AM Page 1 of 78 Contact Information Helpdesk If you
Notes on Excel Forecasting Tools. Data Table, Scenario Manager, Goal Seek, & Solver
Notes on Excel Forecasting Tools Data Table, Scenario Manager, Goal Seek, & Solver 2001-2002 1 Contents Overview...1 Data Table Scenario Manager Goal Seek Solver Examples Data Table...2 Scenario Manager...8
Once you have obtained a username and password you must open one of the compatible web browsers and go to the following address to begin:
CONTENT MANAGER GUIDELINES Content Manager is a web-based application created by Scala that allows users to have the media they upload be sent out to individual players in many locations. It includes many
Creating Charts in Microsoft Excel A supplement to Chapter 5 of Quantitative Approaches in Business Studies
Creating Charts in Microsoft Excel A supplement to Chapter 5 of Quantitative Approaches in Business Studies Components of a Chart 1 Chart types 2 Data tables 4 The Chart Wizard 5 Column Charts 7 Line charts
Using SQL Server Management Studio
Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases
REFERENCE GUIDE 1. INTRODUCTION
1. INTRODUCTION Scratch is a new programming language that makes it easy to create interactive stories, games, and animations and share your creations with others on the web. This Reference Guide provides
The VB development environment
2 The VB development environment This chapter explains: l how to create a VB project; l how to manipulate controls and their properties at design-time; l how to run a program; l how to handle a button-click
WA2087 Programming Java SOAP and REST Web Services - WebSphere 8.0 / RAD 8.0. Student Labs. Web Age Solutions Inc.
WA2087 Programming Java SOAP and REST Web Services - WebSphere 8.0 / RAD 8.0 Student Labs Web Age Solutions Inc. 1 Table of Contents Lab 1 - WebSphere Workspace Configuration...3 Lab 2 - Introduction To
GUIDELINES FOR PREPARING POSTERS USING POWERPOINT PRESENTATION SOFTWARE
Society for the Teaching of Psychology (APA Division 2) OFFICE OF TEACHING RESOURCES IN PSYCHOLOGY (OTRP) Department of Psychology, Georgia Southern University, P. O. Box 8041, Statesboro, GA 30460-8041
BERNINA ART Design Online Manual
BERNINA ART Design Online Manual COPYRIGHT 1997-2008 BY WILCOM PTY LTD. ALL RIGHTS RESERVED. No parts of this publication or the accompanying software may be copied or distributed, transmitted, transcribed,
ibank Quick Start Guide
ibank Quick Start Guide An introductory tutorial for ibank 3, a personal financial management application. 2008 IGG Software, LLC Overview This tutorial will cover these basic program concepts: 1 2 3 4
Code::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
Computer Science Concepts in Scratch
Computer Science Concepts in Scratch (Scratch 1.4) Version 1.0 Michal Armoni and Moti Ben-Ari c 2013 by Michal Armoni, Moti Ben-Ari, Weizmann Institute of Science. This work is licensed under the Creative
Model Simulation in Rational Software Architect: Business Process Simulation
Model Simulation in Rational Software Architect: Business Process Simulation Mattias Mohlin Senior Software Architect IBM The BPMN (Business Process Model and Notation) is the industry standard notation
How to Use the Drawing Toolbar in Microsoft Word
How to Use the Drawing Toolbar in Microsoft Word The drawing toolbar allows you to quickly and easily label pictures (e.g., maps) in a MS Word file. You can add arrows, circle spots, or label with words.
How to Create a Campaign in AdWords Editor
How to Create a Campaign in AdWords Editor Using AdWords Editor instead of the online interface for Google Adwords will speed up everything in your online business. AdWords Editor gives you the upper hand
Working With Animation: Introduction to Flash
Working With Animation: Introduction to Flash With Adobe Flash, you can create artwork and animations that add motion and visual interest to your Web pages. Flash movies can be interactive users can click
OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher
OPERATION MANUAL MV-410RGB Layout Editor Version 2.1- higher Table of Contents 1. Setup... 1 1-1. Overview... 1 1-2. System Requirements... 1 1-3. Operation Flow... 1 1-4. Installing MV-410RGB Layout
Using Rational Rose to Create Object-Oriented Diagrams
Using Rational Rose to Create Object-Oriented Diagrams This is a brief overview to get students started in using Rational Rose to quickly create object-oriented models and diagrams. It is not by any means
CPS122 Lecture: State and Activity Diagrams in UML
CPS122 Lecture: State and Activity Diagrams in UML Objectives: last revised February 14, 2012 1. To show how to create and read State Diagrams 2. To introduce UML Activity Diagrams Materials: 1. Demonstration
Installation and Operation Manual Portable Device Manager, Windows version
Installation and Operation Manual version version About this document This document is intended as a guide for installation, maintenance and troubleshooting of Portable Device Manager (PDM) and is relevant
Two's Complement Adder/Subtractor Lab L03
Two's Complement Adder/Subtractor Lab L03 Introduction Computers are usually designed to perform indirect subtraction instead of direct subtraction. Adding -B to A is equivalent to subtracting B from A,
House Design Tutorial
Chapter 2: House Design Tutorial This House Design Tutorial shows you how to get started on a design project. The tutorials that follow continue with the same plan. When we are finished, we will have created
Jump-Start Tutorial For ProcessModel
Jump-Start Tutorial For ProcessModel www.blueorange.org.uk ProcessModel Jump-Start Tutorial This tutorial provides step-by-step instructions for creating a process model, running the simulation, and viewing
HelpDesk Connect Operator Manual rev. 1.0.
HelpDesk Connect Operator Manual rev. 1.0. 2003-2009 Eastwright Corp. www.eastwright.com 1 1.System Overview 1.1. Concepts The HelpDesk Connect is a web based help desk system. The program allows efficient
Microsoft Outlook Tips & Tricks
Microsoft Outlook Tips & Tricks Columbia College Technology Services Table of Contents Creating an email signature Page 1 Handling attachments Page 1 Sending an attachment Opening an attachment Page 2
CONSTRUCTING SINGLE-SUBJECT REVERSAL DESIGN GRAPHS USING MICROSOFT WORD : A COMPREHENSIVE TUTORIAL
CONSTRUCTING SINGLE-SUBJECT REVERSAL DESIGN GRAPHS USING MICROSOFT WORD : A COMPREHENSIVE TUTORIAL PATRICK GREHAN ADELPHI UNIVERSITY DANIEL J. MORAN MIDAMERICAN PSYCHOLOGICAL INSTITUTE This document is
KaleidaGraph Quick Start Guide
KaleidaGraph Quick Start Guide This document is a hands-on guide that walks you through the use of KaleidaGraph. You will probably want to print this guide and then start your exploration of the product.
For keyboard and touchscreen BlackBerry devices User manual
TSMobiles Terminal Service client for Mobiles For keyboard and touchscreen BlackBerry devices User manual Introduction... 3 System Requirements... 3 1. Configuring Remote Desktop on computer... 4 2. Installation...
Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.
Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to
MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC
MyOra 3.0 SQL Tool for Oracle User Guide Jayam Systems, LLC Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL
Book Builder Training Materials Using Book Builder September 2014
Book Builder Training Materials Using Book Builder September 2014 Prepared by WDI, Inc. Table of Contents Introduction --------------------------------------------------------------------------------------------------------------------
How to Install Java onto your system
How to Install Java onto your system 1. In your browser enter the URL: Java SE 2. Choose: Java SE Downloads Java Platform (JDK) 7 jdk-7- windows-i586.exe. 3. Accept the License Agreement and choose the
Programming in Access VBA
PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010
How to create buttons and navigation bars
How to create buttons and navigation bars Adobe Fireworks CS3 enables you to design the look and functionality of buttons, including links and rollover features. After you export these buttons from Fireworks,
AMS 7L LAB #2 Spring, 2009. Exploratory Data Analysis
AMS 7L LAB #2 Spring, 2009 Exploratory Data Analysis Name: Lab Section: Instructions: The TAs/lab assistants are available to help you if you have any questions about this lab exercise. If you have any
Basics Series-4006 Email Basics Version 9.0
Basics Series-4006 Email Basics Version 9.0 Information in this document is subject to change without notice and does not represent a commitment on the part of Technical Difference, Inc. The software product
