Patterns Chapter 01 Introduction 1
2 Introduction brunel.ac.uk Tower D Room 409
3 Introduction Three hours – I can easily speak for three hours you may have trouble listening! Plan A break at 15:00 corresponding to the room break extended for 15 minutes In the break you can collar me and ask questions. Recommendation The only way to slow me down is to ask questions. Organization
4 Introduction ASK QUESTIONS … ANSWER QUESTIONS ASK QUESTIONS … Preliminaries
5 Introduction Reading Too many to list, amazon return 49,316 (17,237; 5068; 4690; 4411) …. Beginning Java 2: Ivor Horton. Wrox Beginning Java Networking: Darby et al. Wrox.. are two I have used JavaTech – good book make sure you get an upto date edition Excellent web site with code examples. Written by particle physicists – so it may be to my taste Java26,307 Java 4 5,277on Java 5 5,383 Amazon Java 6 4, (19/08/07) Java
6 Introduction A Versions Java 7July Java 8Expected delayed
7 Introduction The sun web site is very good (now Oracle) Examples, tutorials Download the core api documentation Resources
8 Introduction Plan
9 Introduction Plan
10 Introduction Plan
11 Introduction Example.TITL HELLO 02 ; "HELLO, WORLD" FOR NOVA RUNNING RDOS 03 ; USES PCHAR SYSTEM CALL 04.NREL 05.ENT START START: ' DOCHAR: LDA ; LOAD AC0 WITH NEXT CHARACTER, '101015MOV# 0,0,SNR ; TEST AC0; '000412JMP DONE ; SKIPPED IF NONZERO ' SYSTM ' PCHAR ; PRINT FIRST ' JMP ER ; SKIPPED IF OK ' MOVS 0,0 ; SWAP BYTES ' SYSTM ' PCHAR ; PRINT SECOND ' JMP ER ; SKIPPED IF OK ' ISZ PMSG ; POINT TO NEXT WORD ' JMP DOCHAR ; GO AROUND AGAIN ' DONE:.SYSTM ; NORMAL EXIT
12 Introduction Example ' RTN ' JMP ER ' HALT ' ER:.SYSTM ; ERROR EXIT ' ERTN ' HALT ' HALT '000025'PMSG:.+1 ; ADDRESS OF FIRST WORD OF TEXT 31 ; NOTE BYTES ARE PACKED RIGHT-TO-LEFT BY DEFAULT ' TXT /HELLO, WORLD! / ; THAT'S CR LF ' ; FLAG WORD TO END STRING END START
13 Introduction Advantages
14 Introduction ……
15 Introduction OO Design In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved. Algorithms are not thought of as design patterns, since they solve computational problems rather than design problems. Wikipedia
16 Introduction ……
17 Introduction Course Aims
18 Introduction Aims
19 Introduction Correctness
20 Introduction Bug reporting Should you report security problems in say the windows OS? And why?
21 Introduction Outcomes