Instructor - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

Instructor

Description:

Small: easier to write, easier to compile, easier to debug. A subset of C ... Compiles to byte code, not machine code. Interpreted by the browser. Benefits: ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 21
Provided by: sso5
Category:

less

Transcript and Presenter's Notes

Title: Instructor


1
Lecture 1
  • Introduction

2
Instructor
  • Name Seokwoo Song
  • Office business 524
  • Phone 817-272-7398
  • Office Hours
  • M W 430 530 PM or by appointment
  • Email ssong_at_uta.edu
  • Website http//www.uta.edu/faculty/ssong/

3
GTA
  • Name
  • Phone
  • Office Hours
  • To be announced
  • Email

4
  • Required Textbook
  • Joel Adams, Alice in Action with Java, Course
    Technology ISBN 1-4239-0096-0
  • Pre-requisite
  • 2303 Intro to MIS and Data Processing

5
Course Objectives
  • Introduce OOP using JAVA
  • Understand JAVA programming
  • Understand the issues related to web-programming
    using JAVA

6
Evaluation
  • 3 programming assignments
  • Two Exams (6/25 7/11)
  • Final Exam (7/25, comprehensive)
  • Point Distribution
  • Homework 15
  • First Two exams 50
  • Final Exam 35
  • Total 100
  • Grades are calculated as follows
  • (3 homeworks/300) 15 (2 exams/200)50
    (final/100)35
  • 100

7
Evaluation
  • Weighted Average for Final Grade
  • 90 or Higher A
  • 80 89 B
  • 70 79 C
  • 60 59 D
  • 60 or Less F

8
  • Each programming assignment will be graded based
    on correctness, completeness, neatness,
    documentation, and design.
  • If any assignment is found to be same as the
    other, both assignments will be marked as ZERO,
    no exception. It happens twice, and the final
    grade F will be given to the student.

9
  • Class attendance is required.
  • During the class, any student who leaves without
    notice will have penalty (5 points each occasion).

10
Software
  • JDK 2 SDK, SE version 1.6
  • http//java.sun.com
  • TextPad (freeware, editing software)
  • http//www.textpad.com
  • NotePad
  • Eclipse
  • http//www.eclipse.org/downloads/

11
Lecture Note
12
Using TextPad
13
Using NotePad
  • After completing the code, named Welcome1.java,
    go to Accessories/Command Prompt.
  • c\gtjavac Welcome1.java // Compile
  • c\gtjava Welcome1 // Execute

14
History of the Language Java
  • Developed by Sun Microsystems in 1991 as part of
    a project to develop software for consumer
    electronic departments (TVs, VCRs,
    toasters,etc.).
  • Its goal was to be small, fast, efficient, and
    easily portable to a wide range of hardware
    devices.

15
A Definition of Java
  • Java is a simple, object-oriented, interpreted,
    robust, secure, architecture-neutral, portable,
    high-performance, multithreaded, and dynamic
    language.
  • From The Java Language A White Paper
  • http//java.sun.com/docs/overviews/java/java-overv
    iew-1.html

16
Java is simple
  • Small easier to write, easier to compile, easier
    to debug
  • A subset of C
  • Omits confusing features of C
  • no pointers or pointer arithmetic
  • string and arrays are real objects
  • memory management is automatic
  • no multiple inheritance
  • no operator overloading

17
Java is Object-Oriented
  • Focus design on objects and interface
  • inheritance (new classes inherit characteristics
    of existing classes)
  • encapsulation (fields/methods can be hidden)
  • polymorphism (same code has different effects at
    run time)
  • message passing (passing information to methods)

18
Java is Interpreted
  • Compiles to byte code, not machine code
  • Interpreted by the browser
  • Benefits
  • rapid prototyping
  • easy experimentation

Java Source Code
Java compiler
Java Bytecode Code
JVM
Java Interpreter
CPU
19
Traditional Compiled Programs
Compiler (Pentium)
Binary File - Pentium
Your code
Compiler (PowerPC)
Binary File - PowerPC
Compiler (SPARC)
Binary File - SPARC
20
Java Programs
Java Interpreter - Pentium
Java Compiler - Pentium
Java Bytecode
Java Code
Java Interpreter - PowerPC
Java Compiler - PowerPC
Java Compiler - SPARC
Java Interpreter - SPARC
Write a Comment
User Comments (0)
About PowerShow.com