Você está na página 1de 11

CSCI 213 Java Programming & Object Oriented Design

Dr. Abdelghani Benharref

Welcome to CSCI 213!


Who I am? Introduction Discussion of course syllabus, learning outcomes, and evaluation

CSE UOWD

CSCI 213: Introduction Spring 2013

Who am I?
Abdelghani Benharref 1998 - Bachelor in CS 2000 - Master: SDL Formal modelling and test of IPv6 protocols with TTCN test cases generation 2007 - Ph.D.: Web Services Management Research associate at Concordia University, Canada Researcher at SAP Research Labs Canada Assistant professor for 3.5 years at Abu Dhabi University Over 12 years of teaching experience Email: AbdelghaniBenharref@uowdubai.ac.ae
CSE UOWD

CSCI 213: Introduction Spring 2013

CSCI 213

Java Programming & Object Oriented Design

CSE UOWD

CSCI 213: Introduction Spring 2013

Programming, OO, Java


Programming Object Oriented Java

CSE UOWD

CSCI 213: Introduction Spring 2013

Poll

What is your experience with/in Java and OO programming?

CSE UOWD

CSCI 213: Introduction Spring 2013

What Is Programming?
Computers are programmed to perform tasks Different tasks = different programs Program
Sequence of basic operations executed in

succession
Contains instruction sequences for all tasks it

can execute

CSE UOWD

Sophisticated programs require teams of highly skilled programmers and other professionals
CSCI 213: Introduction Spring 2013

Source to Execution
Edit-compile-run cycle Program translation
Compiled vs. interpreted

Program Execution
Editor (example: Notepad, JPad, JCreator,

Netbeans, Eclipse etc)


(Probably) Compiler (Probably) Interpreter

CSE UOWD

CSCI 213: Introduction Spring 2013

The Edit-CompileTest Loop

CSE UOWD

CSCI 213: Introduction Spring 2013

The Java Programming Language


Simple Safe Platform-independent (write once, run anywhere) Rich library (packages) Designed for the internet

CSE UOWD

CSCI 213: Introduction Spring 2013

10

(Java) Compilation Process

CSE UOWD

CSCI 213: Introduction Spring 2013

11

Prerequisites
Problem solving skills Computer savvy (file management, text editing) Programming skills Team work spirit Time management Perseverance
CSE UOWD

CSCI 213: Introduction Spring 2013

12

Self Check
What is required to play a music CD on a computer? Why is a CD player less flexible than a computer? Can a computer program develop the initiative to execute tasks in a better way than its programmers envisioned?

CSE UOWD

CSCI 213: Introduction Spring 2013

13

Answers
A program that reads the data on the CD and (probably) sends output to the speakers and the screen A CD player can do one thingplay music CDs. It cannot execute programs No the program simply executes the instruction sequences that the programmers have prepared in advance

CSE UOWD

CSCI 213: Introduction Spring 2013

14

Anatomy of a Computer
Central Processing Unit
Chip Transistors

Storage
Primary storage: Random-access memory

(RAM)

Secondary storage: e.g. hard disk Removable storage devices: e.g.: floppy disks,

tapes, CDs

CSE UOWD

CSCI 213: Introduction Spring 2013

15

Anatomy of a Computer (2)


Peripherals Executes very simple instructions Executes instructions very rapidly General purpose device

CSE UOWD

CSCI 213: Introduction Spring 2013

16

Central Processing Unit

CSE UOWD

CSCI 213: Introduction Spring 2013

17

A Memory Module

CSE UOWD

CSCI 213: Introduction Spring 2013

18

A Hard Disk

CSE UOWD

CSCI 213: Introduction Spring 2013

19

A Motherboard

CSE UOWD

CSCI 213: Introduction Spring 2013

20

Schematic Diagram of a Computer

CSE UOWD

CSCI 213: Introduction Spring 2013

21

CSE UOWD

An introduction to the Java language and some of its standard class libraries Experience with object oriented design and implementation techniques Topics will include: Java language, subset of Java class libraries (windowing, graphics, networking, threads), object oriented design and implementation, and Introduction to security issues The use of UML to document OO apps 22
CSCI 213: Introduction Spring 2013

CSCI 213: Overview

CSCI 213: Learning Outcomes


Develop programs that effectively use classes from the Java packages; be able to develop and document an OO design using simple UML. Develop programs that exploit graphical user interfaces. Implement programs exploiting the threads and networking capabilities of Java. Write applications using databases. Explain the security problems in a networked environment and detail Java's security mechanisms and describe the role of Java in enterprise applications.
CSE UOWD

CSCI 213: Introduction Spring 2013

23

Prerequisite
Motivation/passion Basic CS concepts:
Hands-on experience with OS What is a program? Program/module decomposition Procedure/function C/C++ (probably Java), any other

programming language is a plus Eclipse, etc

Basic statements, branching IDEs: Notepad, JPad, JCreator, Netbeans,


CSCI 213: Introduction Spring 2013

CSE UOWD

24

Outline

CSE UOWD

CSCI 213: Introduction Spring 2013

25

Pedagogy Learning Process


The instructors will not expect students to be passive recipients of information. They will expect students to participate actively in their own learning. Learning activities will include lectures, computer exercises, and laboratory sessions. Both group and individual work will be expected. Students may also be expected to participate in student-instructor conferences, small group discussions, audio visual aid presentations, classroom experiments and in other methods of presenting and analyzing information. Students will also be expected to read the textbooks or other assigned reading outside of class and to participate in the critical evaluation of the material through smallgroup and class discussion and individual writing.
CSE UOWD

CSCI 213: Introduction Spring 2013

26

Required text
Cay Horstmann, Java Concepts, John Wiley & Sons Inc. Required texts can be purchased from the University Bookshop located in Block 5 Ground Floor. COPYRIGHT NOTICE: The University of Wollongong in Dubai complies with UAE Federal Law No. (7) of 2002 pertaining to Copyrights and Neighboring Rights. Severe penalties apply for copyright violations. No copied materials will be allowed on campus, except where permitted as per UAE Federal Law No. (7) of 2002. Any copied materials that violate UAE Laws or UOWD Policies will be confiscated in the first instance and disciplinary actions may be taken against the person(s) involved.
CSE UOWD

CSCI 213: Introduction Spring 2013

27

Recommended texts
Deitel, Harvey M. ,Java : how to program 5th edition , Upper Saddle River, N.J. : Prentice Hall, Malik, D.S , Java programming : from problem analysis to program design , 3rd ed., 2008 Arnold, Ken ,The Java programming language , Boston, MA 2006, 4th ed. Addison-Wesley Naughton, Herbert Schildt, The Complete Reference Java 2, McGraw- Hill Edition. 5th ed. 2002. Farrell, Joyce ,Java programming , Boston, MA : Thomson/Course Technology, 2010. C.S. Horstmann and G. Cornell, Core Java 2. Volume 1 Fundamentals (7e) SunSoft Press (Prentice Hall). C.S. Horstmann and G. Cornell, Core Java 2. Volume 2 Advanced Features (7e) SunSoft Press (Prentice Hall). Graba Jan, An introduction to network programming with Java, Springer
CSE UOWD

CSCI 213: Introduction Spring 2013

28

Assessment
Assessment Tool Percent

Lab work Pop quizzes /Tests Final Project Midterm Final

15% 10% 25% 15% 35%

CSE UOWD

CSCI 213: Introduction Spring 2013

29

Grades

CSE UOWD

CSCI 213: Introduction Spring 2013

30

10

Policies

CSE UOWD

Academic Grievance Students Assessment Policy Code of Conduct Library Users Code of Practice Students Copyright Policy Information Literacies Rule Library Regulations Music, Video and Software Piracy Plagiarism Policy Plagiarism Acknowledgement Practice Rules Campus Access and Order Rules for Student Conduct and Discipline Rules for use of ITTS Facilities Special Consideration Policy Tertiary Literacies
CSCI 213: Introduction Spring 2013

31

Have a nice Spring!

Questions?

CSE UOWD

CSCI 213: Introduction Spring 2013

32

11

Você também pode gostar