Aalborg Media Lab 18-Jun-15 Introduction Introduction to System Design I Fall 2004.

Slides:



Advertisements
Similar presentations
MC697 Object-Oriented Programming Using Java. In this class, we will cover: How the class will be structured Difference between object-oriented programming.
Advertisements

Introduction to Java Kiyeol Ryu Java Programming Language.
Introduction to Java Programming, 4E
Aalborg Media Lab 21-Jun-15 Software Design Lecture 1 “ Introduction to Java and OOP”
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Programming Software Applications Week 1 Dr. Xiaohong Gao Trent Park – B107, ext. 2252
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
LESSON 1 INTRODUCTION Compiled By: Edwin O. Okech [Tutor, Amoud University] JAVA PROGRAMMING.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
TCU CoSc Introduction to Programming (with Java) Course Introduction.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Introduction to Java Programming CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
Introduction to Java Programming with JBuilder 4
Introduction to Java Programming CS 21a: Introduction to Computing I First Semester,
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
Fall AboutMichael Fung, CS&E, The Chinese University of HK1 CSC1030 Hands-on Introduction to JAVA Dept of Computer Science and Engineering The.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Java Workshop for Teachers May 6, 2005 A Brief Look at the Java Programming Language.
Sadegh Aliakbary Sharif University of Technology Spring 2011.
Sadegh Aliakbary. Copyright ©2014 JAVACUP.IRJAVACUP.IR All rights reserved. Redistribution of JAVACUP contents is not prohibited if JAVACUP.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Rina System development with Java Instructors: Rina Zviel-Girshin Interdiciplinary Center Herzlia School of the Computer Science Fall:
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
Java Applets. 2 Introduction to Java Applet Programs  Applications are stand alone programs executed with Java interpreter executed with Java interpreter.
Module Overview n Module Title: OO Programming n Module Code: MIT3446 n Module Value: 3.0 n Duration: 15 weeks n Class-Contact Hours: Lecture15 hrs n Lab/Tutor30hrs.
Jaeki Song ISQS6337 JAVA Lecture 03 Introduction to Java -The First Java Application-
Chapter 1: Introduction to Programs, and Java 1. Objectives To review programs (§ ). To understand the relationship between Java and the World Wide.
Introduction to Java Programming with Forte Y. Daniel Liang.
1 Programming Fundamentals AITI-GP. 2 Introduction to Programming.
Salman Marvasti Sharif University of Technology Fall 2014.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Java Applets. 2 Introduction to Java Applet Programs Applications are ___________________ programs –executed with Java interpreter Applet is a small program.
Introduction To JAVA By Ihtesham Ul Haq. Course Objectives Upon completing the course, you will understand Upon completing the course, you will understand.
Session 1 Introduction to Java. Objectives Java Simplified / Session 1 / 2 of 32 Explain the history of Java Explain Java in brief List the types of Java.
What Is Java? According to Sun in a white paper: Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture-neutral, portable,
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
SOFTWARE TECHNOLOGY - I JAVA/OOP Wickramanayake HMKSK Department of Electrical & Electronic Engineering Faculty of Engineering University.
CSC204 – Programming I Lecture 1 August 23, 2006.
Mini University July, 2005 A Little Taste of Java (but don’t tell your folks) (they might think there’s caffeine involved)
Java and its Evolution. Contents Java Introduction Java Features How Java Differs from other OO languages Java and the World Wide Web Java Environment.
Lecture 1. Introduction to Programming and Java MIT- AITI 2003.
Introduction to Programming. The Programming Process Create/Edit Program Compile Program Execute Program Compile Errors?Run-Time Errors? Source Program.
Application Architecture Using Java Hong Li. Introduction Developed by a team led by James Gosling at Sun Microsystem. Originally called Oak, designed.
Introduction Mehdi Einali Advanced Programming in Java 1.
Today… “Hello World” ritual. Brief History of Java & How Java Works. Introduction to Java class structure. But first, next slide shows Java is No. 1 programming.
CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
Introduction to Programming 1 1 2Introduction to Java.
BlueJ X ICSE Syllabus. Board Pattern THEORY (100 marks) PRACTICAL (100 marks) PROJECT (50 marks) ASSIGNMENTS (50 marks)
Introduction to JAVA Programming
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Chapter 1 Coding Introduction.
JAVA, JAVA Applets, and JavaScript
Chapter 1 Introduction to Computers, Programs, and Java
Chapter No. : 1 Introduction to Java.
Chapter 1 Coding Introduction.
Advanced Programming Fall 2017.
Java Applets.
Introduction to Java Brief history of Java Sample Java Program
(Computer fundamental Lab)
Java History, Editions, Version Features
Introducing Java.
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

Aalborg Media Lab 18-Jun-15 Introduction Introduction to System Design I Fall 2004

Aalborg Media Lab 18-Jun-15 Purpose To give the student knowledge on object oriented software engineering. To enable the student to comprehend how to design simple programs (application) using the Java language.

Aalborg Media Lab 18-Jun-15 Course Content syntax and semantics of the JAVA language use of techniques in the programming environment of the JAVA language basic data structures and algorithms in JAVA techniques for program specification, including reasoning about the relationship between specification and program (OOP)

Aalborg Media Lab 18-Jun-15 Exam Students are assessed through an individual oral examination, where the grade pass/not pass is given.

Aalborg Media Lab 18-Jun-15 Tools, Books & Website Programming Tools –JDK (Java Development Kit) –BlueJ (Editor) Books –Java Software Solutions, 3rd edition Lewis & Loftus Addison Wesley ISBN: –Thinking on Java (free book available on the Internet) Second Edition, Bruce Eckel MindView, Inc Website:

Aalborg Media Lab 18-Jun-15 Learning Java a new way of programming…

Aalborg Media Lab 18-Jun-15 Java's unofficial biography 1/2 Invented in 1991 by Sun Microsystems as part of the Green-Project. Green-Project = project initiated to develop controllers for future consumer electronics (toasters, mowers, etc.) ensuring interoperability. C++ was the original target language, but a developer (James Gosling) got frustrated with C++, and invented his own language Gosling Oak (later Java).

Aalborg Media Lab 18-Jun-15 Java's unofficial biography 2/2 Java was originally not developed for standard PCs, but for toasters! Therefore Java had to be light, small and efficient. These properties made it suitable for the growing WWW. For demonstration purpose a Browser was developed at Sun able of executing applets, but breakthrough came first in 1995 when Netscape licensed the language.

Aalborg Media Lab 18-Jun-15 So what is Java? Programming language for the WWW (applets) –Download the program –Execute the program on local machine Platform independent (almost) –Java is executed by a platform dependent interpreter Is an object oriented language –Introduces a “different” programming paradigm requiring / introducing a different approach to system design.

Aalborg Media Lab 18-Jun-15 Java’s capabilities Many options of using the language –Applets (embedded in HTML) –Servlets (Web-Server application) –Application (stand-alone programs) –“Java Script” HAS NOTHING TO DO WITH JAVA!!!! Java and Graphical User Interfaces –SWING (graphical component for stand-alone JAVA) –Applets

Aalborg Media Lab 18-Jun-15 My first applet example JAVA CODE: import java.applet.*; import java.awt.*; public class SimpleApplet extends Applet { public void paint(Graphics g) { g.drawString( "Hi! I'm a simple Applet!!",10,10); } HTML CODE:

Aalborg Media Lab 18-Jun-15 My first java example (console) class HelloDan { public static void main(String args[]) { System.out.println(“What’s the frequency Kenneth?”); } Output: What’s the frequency Kenneth?

Aalborg Media Lab 18-Jun-15 Advanced graphics using Java

Aalborg Media Lab 18-Jun-15 The object-oriented paradigm a new and different way of thinking about programming…

Aalborg Media Lab 18-Jun-15 OOP.. introduces methodologies helping How to approach an OOP project. To gain a better understanding of the concept of objects. Result in better designs, enables to take full advantage of the benefits and capabilities Java has to offer.

Aalborg Media Lab 18-Jun-15 Methodologies A methodology (sometimes simply called a method) is a set of processes and heuristics used to break down the complexity of a programming problem. Whatever you do when you design and write a program is a methodology. Adopting a methodology is to follow the formulated guidelines (processes).

Aalborg Media Lab 18-Jun-15 Design Guidelines ? Think before you write any code! –Is the software the correct (best) solution for the problem? –Draw Think in objects!! –Only objects can be implemented using Java. –Object = something from the “real word”

Aalborg Media Lab 18-Jun-15 Design Example: “Trees” Features: –global: grows, leaves, roots, chlorophyll –specific: size, color, etc