Chapter 01 Introduction Introduction.

Slides:



Advertisements
Similar presentations
Patterns Chapter 01 Introduction 1. 2 Introduction brunel.ac.uk Tower D Room 409.
Advertisements

Introduction To System Analysis and Design
July 16, Introduction to CS II Data Structures Hongwei Xi Comp. Sci. Dept. Boston University.
Programming and Coding short course consultation.
Computer Programming TCP1224 Chapter 3 Completing the Problem-Solving Process and Getting Started with C++
Problem of the Day  Why are manhole covers round?
ITBP 119 Algorithms and Problem Solving Section 2.1 Installing software Section 2.2 First Programs Section 2.3 Variables.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
CS 161 Computer Science I Andrew Scholer
LB160 (Professional Communication Skills For Business Studies)
Introduction to PAD2 Dr. Mark C. Lewis
Introduction to CSCI 1311 Dr. Mark C. Lewis
CSC 241: Introduction to Computer Science I
Development Environment
YEAR 12 COMPUTER SCIENCE.
Unit II-Chapter No. : 5- design Patterns
Topic: Python’s building blocks -> Variables, Values, and Types
Release Numbers MATLAB is updated regularly
3.5 General feeling that knowledge of hydrology has improved … but more is needed.
3.3 Fundamentals of data representation
Java Applet Programming Barry Sosinsky Valda Hilley
Ch. 5 LISTENING SKILLS.
Design Patterns C++ Java C#.
Data Virtualization Tutorial… OAuth Example using Google Sheets
Pertemuan 08 Design Patterns & Anti-Patterns
What to do when a test fails
Chapter 6: Structured Vs. Object Oriented Analysis and Design.
Chapter 5: Object Oriented Analysis and Design
Design Patterns C++ Java C#.
Design Patterns Damian Gordon.
A Short Course on Geant4 Simulation Toolkit How to learn more?
Plan for today Refactoring and Design Patterns
FLIPPED CLASSROOM ACTIVITY CONSTRUCTOR – USING EXISTING CONTENT
REGISTER a COMPUTER Online
Welcome to CS 1010! Algorithmic Problem Solving.
LGC Website, Software updates, Documentation, and Videos
Introduction to Engineering Design II (IE202) Section XBG Team 7 Designing a Robot Students name: IE202-Team#7 Celebration.
Join us on our course site!
Welcome to CS 1010! Algorithmic Problem Solving.
EECE 310 Software Engineering
Teaching London Computing
Alice Variables Pepper.
Introduction to CS II Data Structures
The Scientific Method.
Complete CompTIA A+ Guide to PCs, 6e
Introduction to TouchDevelop
Comp. II.
Chapter One: An Introduction to Programming and Visual Basic
Building Java Programs
Chapter 6: Structured Vs. Object Oriented Analysis and Design.
Paul Kawachi e-Learning http : / / www . open - ed . net Home
How you will learn the material for this course.
A Short Course on Geant4 Simulation Toolkit How to learn more?
A Short Course on Geant4 Simulation Toolkit How to learn more?
Homework Reading Programming Assignments Finish K&R Chapter 1
(Computer fundamental Lab)
CS 2530 Intermediate Computing Dr. Schafer
To Err is Human Owen Brennan.
Tonga Institute of Higher Education IT 141: Information Systems
Reading in the Upper Grades
BIT 115: Introduction To Programming
NAVIGATING THE MINEFIELD
Tonga Institute of Higher Education IT 141: Information Systems
Review of Previous Lesson
Costa’s Levels of Questioning
Basic Mr. Husch.
Remember Each listening test is 15 questions
Introduction To CPSC 233 James Tam Event driven software
Zorah Fung University of Washington, Winter 2016
CSC 241: Introduction to Computer Science I
Presentation transcript:

Chapter 01 Introduction Introduction

Paul.Kyberd @ brunel.ac.uk Tower D Room 409 Introduction

Three hours – I can easily speak for three hours Organization Three hours – I can easily speak for three hours you may have trouble listening! Plan A break at 15:20 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. Introduction

ASK QUESTIONS … ANSWER QUESTIONS ASK QUESTIONS … Preliminaries You are know doing an MSc – I am not teaching you, you should be organising your time to gain the knowledge you need to complete your MSc. We do two things – a guide as to the knowledge that you should be pursuing. A resource for the acquisition of that knowledge. So ask me questions – and respond to the questions I ask you. If I get three answers and ask the class to vote on it – I am not noting which way you vote, so don’t abstain. Go for the answer which you think is most likely – vote at random if necessary. I ask easy questions, but some of the time they are there to expose difficulties that I have found in the course. Either from my memories of learning Java of from the responses of classes which I have taught. Frequently I want a wrong answer, because it helps to draw out a point – if I say “many people are confused at this point and think ….” you will nod and it will drift over”. If you have given an answer which incorporates that misapprehension, then it you have incorporated that knowledge into your mind and when I try to explain the real situation you have a better chance of understand and remembering. Introduction

Too many to list, amazon return 58,349 49,316 Reading Too many to list, amazon return 58,349 49,316 (17,237; 5068; 4690; 4411) …. Java 26,307 Java 4 5,277 on Java 5 5,383 Amazon Java 6 4,786 77 (19/08/07) Java 7 3765 Java 8 5604 3,000 in the kindle store Java 8 has 5000+ hits. Go for Java 5 and beyond Java 8 has some interesting new concepts including functional programming. Introduction

A Versions Introduction Java 7 July 28 2011 Java 8 March 18 2014 … latest July 19 2016 Java 9 slipped into 2017 Introduction

Horstmann has a number of good books on Java Reading Horstmann has a number of good books on Java Java 8 released March 18th 2014 Includes lambda expressions and hence functional programming. Not Covered Introduction

The sun web site is very good (now Oracle) Examples, tutorials Resources The sun web site is very good (now Oracle) Examples, tutorials Download the core api documentation Introduction

Plan Introduction

Plan Introduction

Plan Introduction

Example Introduction .TITL HELLO 02 ; "HELLO, WORLD" FOR NOVA RUNNING RDOS 03 ; USES PCHAR SYSTEM CALL 04 .NREL 05 .ENT START 06 07 START: 08 00000'022424 DOCHAR: LDA 0,@PMSG ; LOAD AC0 WITH NEXT CHARACTER, 09 00001'101015 MOV# 0,0,SNR ; TEST AC0; 10 00002'000412 JMP DONE ; SKIPPED IF NONZERO 11 00003'006017 .SYSTM 12 00004'010000 .PCHAR ; PRINT FIRST 13 00005'000413 JMP ER ; SKIPPED IF OK 14 00006'101300 MOVS 0,0 ; SWAP BYTES 15 00007'006017 .SYSTM 16 00010'010000 .PCHAR ; PRINT SECOND 17 00011'000407 JMP ER ; SKIPPED IF OK 18 00012'010412 ISZ PMSG ; POINT TO NEXT WORD 19 00013'000765 JMP DOCHAR ; GO AROUND AGAIN 20 21 00014'006017 DONE: .SYSTM ; NORMAL EXIT Introduction

Example Introduction 22 00015'004400 .RTN 23 00016'000402 JMP ER 24 00017'063077 HALT 25 00020'006017 ER: .SYSTM ; ERROR EXIT 26 00021'006400 .ERTN 27 00022'063077 HALT 28 00023'063077 HALT 29 30 00024'000025'PMSG: .+1 ; ADDRESS OF FIRST WORD OF TEXT 31 ; NOTE BYTES ARE PACKED RIGHT-TO-LEFT BY DEFAULT 32 00025'042510 .TXT /HELLO, WORLD!<15><12>/ ; THAT'S CR LF 33 046114 34 026117 35 053440 36 051117 37 042114 38 006441 39 000012 40 00035'000000 0 ; FLAG WORD TO END STRING 41 42 .END START Introduction

Advantages Introduction

…… Introduction

OO Design Introduction 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 Introduction

…… Introduction

Course Aims Introduction

Aims Introduction

Correctness Introduction

Should you report security problems in say the windows OS? Bug reporting Should you report security problems in say the windows OS? And why? Introduction

Outcomes Introduction