COP3252 Advanced Java Programming - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

COP3252 Advanced Java Programming

Description:

COP 3252 Advanced Java Programming (listed as Internet ... by Harvey M. Deitel and Paul J. Deitel. Some assignments may come directly from the book ... – PowerPoint PPT presentation

Number of Views:696
Avg rating:3.0/5.0
Slides: 25
Provided by: robertthor1
Category:

less

Transcript and Presenter's Notes

Title: COP3252 Advanced Java Programming


1
COP3252Advanced Java Programming
  • 08-Jan-08
  • Lecture Set 1
  • Course Introduction and
  • Introduction to JAVA

2
Course Introduction
3
Class Information
  • Course Website http//www.cs.fsu.edu/cgs3416
  • Lecture notes, syllabus, announcements, calendar
  • Blackboard Website
  • http//campus.fsu.edu
  • Used only for handing in programming assignments
    (digital dropbox) and for distributing grades.

4
Introduction
  • Course description
  • COP 3252 Advanced Java Programming (listed as
    Internet Programming w/ Java)
  • Prerequisites COP3330 and COP3331
  • Topics include Java basics, a review of
    structured and object-oriented programming
    concepts, classes, constructors, interfaces,
    exceptions, I/O, graphics concepts, compilation,
    applets, APIs, JDBC, Sockets

5
Attendance
  • Attendance is required for all lecture and
    recitation classes
  • Attendance will not be taken on a daily basis
  • In-class quizzes will be used as attendance
    (participation)

6
Class Structure
  • Beginning (first few weeks) Basic concepts of
    programming in JAVA.
  • How to compile and run programs.
  • Basic language structure and elements
  • Variables, loops, control structures, etc.
  • Middle Intermediate concepts and programs.
  • Input and output streams, exception handling,
    etc.
  • Networking, concurrency (threading), database
    connections, etc.
  • End Graphical programming concepts.
  • Creating graphical programs to perform useful
    functions.

7
Assignments
  • Assignments will be given on a weekly or
    bi-weekly basis depending on the difficulty level
    of the assignment.
  • Assignments are due by the date posted on the
    assignment webpage.
  • 20 Penalty on assignments if they are up to one
    day late (assignments that are more than 24 hours
    late will not be accepted).

8
Extra Credit
  • Some assignments have the opportunity for extra
    credit
  • Extra credit can be anywhere from 5 to 50 points.
  • Programs must be submitted by the due date in
    order to earn extra credit.

9
Class Book
  • Java How to Program, Seventh Edition by Harvey
    M. Deitel and Paul J. Deitel
  • Some assignments may come directly from the book
  • The book will be used as a reference for
    programming concepts. (All test questions come
    from the lecture notes.)
  • Reading may be assigned from the chapters.

10
Programming Assignments
  • Assignments should be created, compiled and
    tested by
  • Using the Computer Science department servers
    (linprog.cs.fsu.edu and program.cs.fsu.edu) via
    SSH
  • Using an IDE such as JCreator (included with the
    course textbook) along with the JAVA SDK from
    www.sun.com

11
Accessing the CS servers
  • You must obtain a Computer Science account
  • This account will be used to access the CS
    servers through Secure Shell.
  • This account must be obtained by the start of the
    2nd week of class
  • Successfully obtaining this account will be part
    of your assignment 1 grade.
  • Instructions for obtaining an account
    http//system.cs.fsu.edu/newusers/newaccount.php

12
SSH
  • The SSH (secure shell) client is used to access
    the CS servers
  • This client is installed in all computer labs on
    campus
  • It can be downloaded from http//sl.us.fsu.edu
    when on an FSU connection.
  • You can access the CS servers from anywhere in
    the world using SSH

13
Using SSH to program
  • The next class will focus on using the SSH client
    as well as the UNIX text editors and the JAVA
    complier
  • Note The use of the JCreator IDE will not be
    covered in this course until we reach the
    graphical programming section of the notes.

14
Assignment Assistance
  • If you need help on an assignment, you have
    multiple options
  • Visit the instructor in his office. An
    appointment can be made anytime between 8am and
    5pm.
  • Send your question to thornton_at_psy.fsu.edu . Be
    sure to attach any program source code with your
    e-mail.
  • E-mail questions will generally be replied to
    within an hour if received during normal business
    hours (8am 5pm). After hours questions may not
    be replied to until the next day.
  • Make sure to include a copy of your source code
    along with your question.

15
Turning in Assignments
  • Assignment due dates are posted on the assignment
    description page and on the course calendar.
  • Assignments are to be turned in using the Digital
    Dropbox on the BlackBoard system.
  • DO NOT E-MAIL ASSIGNMENTS (unless instructed to
    do so)

16
Assignment Grading
  • The instructor will grade the programming
    assignments
  • The grading guidelines will be posted with the
    assignment descriptions
  • Assignment grades are usually posted within 7
    days of the due date.
  • If you have questions about your assignment
    grade, e-mail the instructor.

17
Exams
  • The exam dates are not known at this time.
  • You will be given at least a 1-2 week notice for
    exam dates.
  • The class before the exam will be a review class.
  • Exams questions come directly from the lecture
    notes and material discussed in class.
  • Questions will be a mix of multiple choice, short
    answer, and fill in the blank.
  • You may be required to produce source code on the
    exams.
  • Exam answers will be given in class after the
    exam is administered.

18
Final Exam
  • The final exam is cumulative.
  • Many questions from the previous two exams will
    be repeated.
  • You must have an average of 70 or higher on
    exams in order to pass the class with a C- or
    higher.

19
Introduction to JAVA
20
JAVA Introduction
  • Object-oriented programming language
  • Uses abstraction to create models based on the
    real word
  • Inheritance, modularity, polymorphism, and
    encapsulation.
  • Borrows syntax from both C and C
  • NOT related to JavaScript
  • The two share syntax, but are not complimentary
    languages.

21
JAVA History
  • Started as Oak (James Gosling 91)
  • Intended to run on all systems
  • WORA Write Once, Run Anywhere
  • Quickly incorporated into many popular web
    browsers
  • Controlled by and maintained by Sun Microsystems
    (http//www.sun.com)

22
Why JAVA?
  • Platform independence
  • Runs the same on all hardware
  • Automated Memory Management
  • The JAVA runtime performs all memory allocation
    and deallocation.
  • Its easy!
  • Many objects and code pieces are already written
    for you
  • Graphical programs are very easy to create and
    manipulate.

23
JAVA Code Files
  • Source Code .java files
  • Object Code (compiled code) .class files
  • JAVA Archive .jar files
  • .java file is compiled into a .class file
  • JAVA SDK (Software Development Kit) is require
    for compilation
  • .class file is the executable
  • JRE (Java Runtime Environment) is required for
    execution

24
Sample Program
  • // Fig 2.1 in book
  • public class Welcome1
  • public static void main( String args )
  • System.out.println(Welcome to Java)
  • //end method main
  • //end of class Welcome1
Write a Comment
User Comments (0)
About PowerShow.com