Structured Problem Solving The SmallTalk Environment.

Slides:



Advertisements
Similar presentations
1 Advanced with GMail A CYC Electives Module
Advertisements

Cheryl Jelks Trainer/Applications Support Analyst Richland School District One.
The Internet 8th Edition Tutorial 3 Using Web-Based Services for Communication and Collaboration.
Subject: Electronic Document Preparation and Management Presenter Ms. Reid.
Scripts and Flow Control. Scripts So far we have been entering commands directly into the command line But there is a better way Script files (and functions)
Structured Problem Solving The SmallTalk Environment.
Course Orientation Discussion and Private Messages Tool.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Structured Problem Solving The Smalltalk Environment.
1 of 2 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Structured Problem Solving The SmallTalk Environment.
Research Core Laboratories. Requirements: Adobe Acrobat (Full Version) In order to digitally sign form you must be using the full version of Adobe Acrobat.
1 of 3 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
A quick course on the new. GCA Webmail can be accessed by clicking on the Webmail link in the GCA page, or by going to either or .gcasda.org.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
FirstService Residential Signature
to Fax / Fax to Overview DIAL LTD Sending & receiving faxes via your system.
Adding attachments on an Attachments are files e.g. Videos, Photos, Word, PowerPoint, and work these are sent with an . Attachments are very.
Communication/Grade/ Session 3 of y Attachments in eChalk .
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
AO Made Easy Your guide to using on your office placement.
This is group I have made.  Deleted all the s we didn’t need to clear out our .  Then created folders for the s we would receive.
1 Outlook Live Live Messenger SkyDrive Office Live Live Spaces Live Groups.
First create a folder with your pictures/ images needed to create the story Then open Photostory 3. Click on begin a new story and click next.
Services Course Live Groups Participant Guide.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Using Interact!. OPENING THE NECESSARY SOFTWARE To access the Interact service, you need to use software entitled “FirstClass.” Click and hold the Apple.
Services Course Getting Started Participant Guide.
Starter for 10 Unit 2: More about Transform IT SFT02_more_about_ .
December 2010Brad Hudson AO3 Homework Task > All you need to know about sending s.
Santa’s s By Becky.
NATIONAL NODES OF THE BIOSAFETY CLEARING- HOUSE CANADIAN SYSTEM OVERVIEW Caribbean Islands Workshop December 2005 Bridgetown, Barbados.
Hunter Valley Amateur Beekeepers Forum User Guide Guide shows sample screenshots with most relevant actions. Website is at
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Version How to Use Packet Tracer MarinaMD.
ACCT How to Use Our Moodle (for students) Click on ‘Onine Learning – Moodle Login’
Features Help (Adding Attachments) (Adding Auto Signatures) (Setting Priorities)
CMAP Concept Mapping Activity Climate Change Unit.
In this document I will explain what attachments are, why attachments are useful and a screen shot of the following showing how to add attachments.
Computer Networking.  The basic tool for observing the messages exchanged between executing protocol entities  Captures (“sniffs”) messages being sent/received.
Integrate, check and share documents Module 3.3. Integrate, check and share documents Module 3.3.
Producing a Mail Merged Letter Step 1 Create an Access database for Names and Addresses you can use the ‘Customers’ template in Group Work. Enter the necessary.
Adding Contacts in Outlook. Follow these steps to begin building your contacts! By adding contacts in your Outlook, you will be able to develop an organized.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
screen shots Emma Jarman. Adding attachments What is an attachment? An attachment is an that has a file attached to it. The file could be.
Perform a complete mail merge Lesson 14 By the end of this lesson you will be able to complete the following: Use the Mail Merge Wizard to perform a basic.
Forms Concepts Triggers Fired when Internal/External events occur
Booking Platform: Check Out Sending a Quote Saving a Quote
Attach In Gmail very Easily
Booking Platform: Check Out Sending a Quote Saving a Quote
Appendices Navigating in BearQuest Appendix - 2 Viewing your Requests
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Delegating Access & Managing Another Person’s Mail/Calendar with Outlook Information Technology.
Access Lesson 2 Creating a Database
B Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
H Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
This is where you can establish the name of the project and the address where it is stored - these are the defaults. If you do not enter anything, the.
B Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Word Processing.
Family Networks Web Treatment Plan
H Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
C Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
H Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Presentation transcript:

Structured Problem Solving The SmallTalk Environment

The First Window When this window appears, you are ready to start your Smalltalk session. Do not do anything to the text in this window, it is just information. Click on File – New Workspace

Summary: The SmallTalk Workspace Starting a New workspace: Select File – New Workspace Adding Text: Type in, it is a text editor. Saving:Select File – Save Opening:Select File – Open Executing: Select the Text, right click, Do it

Messages

A New Object

Tony1 is the name of the object. We use this name to address it. Tony1 is the name of the object. We use this name to address it. TonysPie is the label at the top of the Grid.

Longer Programs

Note the full stops at the end of each message.

Repeating…

Note the loop structure: 4 timesRepeat [ ] Note the loop structure: 4 timesRepeat [ ]

Repeating… Note the loop contents [ Message1. Message2. Message3 ] Separated by full stops. Note the loop contents [ Message1. Message2. Message3 ] Separated by full stops.

Creating New Objects Identifying Attributes & Protocols

Attributes Names for Attributes will: Begin with a lower case letter Contain no spaces e.g. customerName numberOfRecords colour

Names for Protocols Names for Protocols will: Begin with a lower case letter Contain no spaces e.g. reserveVideo turnRight red

Messages 1 Each message which sets an attribute value has the structure: attribute:value For example to set a customer name we would send the message: customerName: Tony The message to an object called customer1 would be: customer1 customerName: Tony

Messages 2 Each message which requests an attribute value as a reply should be given the same name as the attribute name. for example: customerName is the message which requests the value of an object’s customerName Customer1 customerName

Student Database A simple database is required to store a student ID number, their year of study and their current modules. We will wish to be able to send messages to the objects to increment the year of study, and change current modules. We will also need to interrogate the object to find out the year of study.

Student Database: Attributes The database will consist of a class of objects called student These objects will have the following attributes: studentID yearofStudy currentModule1 currentModule2

Student Database: Protocol changeYear adds 1 to the current year currentModule1: changes currentModule1 currentModule2: changes currentModule2 yearofStudy requests the current year of study

Example OBJECT: Student1 Class of Object: Student studentID yearofStudy 2 currentModule1 M10001A currentModule2 M10002B Protocol: changeYear, currentModule1:, currentModule2:, yearofStudy The following messages are sent: changeYear currentModule1: M20001A currentModule2: M20002B

Example OBJECT: Student1 Class of Object: Student studentID yearofStudy 3 currentModule1 M20001A currentModule2 M20002B Protocol: changeYear, currentModule1:, currentModule2:, yearofStudy The following message is sent: yearofStudy The object responds with: 3