29-Nov-15 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.

Slides:



Advertisements
Similar presentations
Java Packages CSci 1130 Intro to Computer Programming with Java Instructor Tatyana Volk.
Advertisements

INTRODUCTION Chapter 1 1. Java CPSC 1100 University of Tennessee at Chattanooga 2  Difference between Visual Logic & Java  Lots  Visual Logic Flowcharts.
Lesson 6 Software and Hardware Interaction
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
11-Jun-15 Just Enough Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
26-Jun-15 Getting Ready for CIT Labs Lab is scheduled for 3;00-4:30 Fridays in Moore 207 Lab is not in Towne 309 (Registrar has it wrong) Everyone.
30-Jun-15 Getting Ready for CIT Labs Lab is scheduled for 1:30-3:00 Fridays in Moore 207 Lab is not in Towne 313 (Registrar has it wrong) Everyone.
Lab 1 Instructor: Jolanta Soltis.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
13-Jul-15 BlueJ: A Very Quick Introduction. BlueJ BlueJ is an IDE (Integrated Development Environment). It includes an editor, which you use to write.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
Introduction to Programming with Java, for Beginners Machine vs. Programming Language Intro to Java Edit-Compile-Run Program Process.
An Overview of Computers and Programming
JAVA: An Introduction to Problem Solving & Programming, 6 th Ed. By Walter Savitch ISBN © 2012 Pearson Education, Inc., Upper Saddle River,
PHY281Introduction to JavaSlide 1 Introduction to Java In this section we will learn how how to use Java and write our first Java Applet:  The Java Development.
CS0007: Introduction to Computer Programming Setting Up Java.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
Saeid Abolfazli, Faculty of Computer Science and IT, University Malaya Malaysia.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Lesson 4 Computer Software
Lesson 4: What Is Software?
Introduction 01_intro.ppt
Introducing Java.
Lesson 6 Operating Systems and Software
CS110/CS119 Introduction to Computing (Java)
From BlueJ to NetBeans SWC 2.semester.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
Chapter 1.4 Programming languages Homework Due: Monday, August 11, 2014.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Session One Introduction. Personal Introduction Role of programmers Robot Examination HUD & HID Uploading Code.
Introduction to Computers & Java CSS 161: Fundamentals of Computing Joe McCarthy 1.
Team and Client Rajiv Chalasani- Project Manager Mark Goesmann – Lead Designer Kevin Staake – Lead Implementer Dave Nyman – Quality Manager Client : Mr.
Python From the book “Think Python”
1 3. Computing System Fundamentals 3.1 Language Translators.
( ) 1 ISYE 7210—Fall 2005 Design of Real-Time Interactive Simulations (in Java) Initial Notes Christine M. Mitchell Director & Professor Center for.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Editing & Compiling: UNIX vs. IDE and an Intro to Architecture.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Preliminaries CS 310: Object-oriented Programming Java API.
5-Jun-16 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Programming Errors. Errors of different types Syntax errors – easiest to fix, found by compiler or interpreter Semantic errors – logic errors, found by.
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
Computing Fundamentals Module Lesson 23 — Computer Software
© Peter Andreae Java Programs COMP 102 # T1 Peter Andreae Computer Science Victoria University of Wellington.
OST Intro in to Macs. History of Macintosh On January 24, 1984 Apple Computer introduced the Apple Macintosh personal computer, with the Macintosh.
Execution ways of program References: www. en.wikipedia.org/wiki/Integrated_development_environment  You can execute or run a simple java program with.
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
BlueJ X ICSE Syllabus. Board Pattern THEORY (100 marks) PRACTICAL (100 marks) PROJECT (50 marks) ASSIGNMENTS (50 marks)
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Unit 3 Computer Systems. What is software? unlike hardware it can’t be physically touched it’s the missing link between the computer hardware and the.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Development Environment
CST 1101 Problem Solving Using Computers
Macintosh & Linux Used to fill in pg 5 & 6 of “Operating Systems” Packet.
Computer Software: Programming
1. Environment Setting Minhaeng Lee.
How to Run a Java Program
Getting Ready for Java version Apr-19.
BlueJ: a very quick introduction
Review of Previous Lesson
Presentation transcript:

29-Nov-15 Getting Ready for Java

2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand Java is currently a very popular language Java is a large, powerful language but it is not simple! Compared to C++, Java is elegant

3 Declarations, statements, comments A declaration gives some information to the computer A statement tells the computer to do something Statements should really be called “commands” Comments are ignored by the computer—they are explanations of your program for human beings to read

4 Syntax and semantics Syntax is the “grammar” of the language The syntax of Java is large, but finite Syntax must be absolutely correct The computer will point out every syntax error Error messages may be helpful or misleading Semantics is the “meaning” of your program Semantic errors cause your answers to be wrong You may or may not get error messages

5 Two aspects of Java Java has syntax and semantics This is where you begin It is possible to learn everything about Java’s syntax and semantics We will cover most of Java’s syntax and semantics Java also has “packages” Packages are sort of like vocabulary bundles To be good at Java, you need to learn many packages There are more Java packages than you can ever learn

6 The programming cycle ACTIONS: THINGS: edit.java file compilerun (execute) input data (optional).class file ok results ok syntax errors runtime error logic errors ok

7 Versions of Java Java 1 Java 1.0: Original, not very good version Java 1.1: Greatly revised and improved Java 2 Java 1.2: Includes “Swing” Java 1.3: More new packages, no new syntax Java 1.4: Introduces the assert statement Java 5 Java 1.5: Available as beta; several additions to syntax

8 Vocabulary I JRE, Java Runtime Environment This is the software that allows you to run Java programs on your computer SDK, System Development Kit (previously called JDK, Java Development Kit) The software that allows you to create and run Java programs on your computer When you install the SDK, you get a JRE along with it IDE, Integrated Development Environment A tool that makes it easier to write programs

9 Vocabulary II Beta software Software that is new, untested, often buggy Interface the place where things touch each other the way that distinct things communicate GUI, Graphical User Interface A way for the computer and the user to communicate via graphics (pictures) on the screen

10 BlueJ BlueJ is an IDE (Integrated Development Environment). It includes an editor, which you use to write your programs a debugger, to help you find your mistakes a viewer, to see the parts of your program an easy way to run Java programs an easy way to view documentation

11 Elegance Powerful software can do everything you want to do--for example, Microsoft Word Complex software is hard to learn and hard to use-- for example, Microsoft Word More power usually means more complexity Elegant software somehow manages to be both powerful and simple BlueJ is elegant

12 What You Need 128 MB of RAM (256 MB recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X Java JDK or 1.5 (includes JRE) BlueJ or 2.0 Earlier versions of BlueJ have serious problems If you have an older version, update! By the way: the SDK and BlueJ are free

13 Getting Ready If you plan to use your own computer: Download and install Java JDK (=SDK) Find where it says Download J2SE 5.0 RC and click DOWNLOAD in the JDK column If you have a Macintosh, get Java [Optional, but strongly recommended] Download the Java documentation from the same page Download and install BlueJ or newer

14 The End