UCSC All rights reserved

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
© Prentice Hall CHAPTER 3 Computer Software.
Chapter 3 Software Two major types of software
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.
1 Chapter-01 Introduction to Computers and C++ Programming.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Chapter 1 Coding Introduction.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
1. 2 is high level programming language like C++, Visual Basic, developed by James Gosling and Patrick Naughton at Sun Microsystems in 1991.
Java Beserkers Group 4. Start of Java Development began on June of 1991 by a group of computer scientist at the Sun Mircrosystems Company Development.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
Chapter 3: Computer Software. Stored Program Concept v The concept of preparing a precise list of exactly what the computer is to do (this list is called.
Copyright © 2007 Addison-Wesley. All rights reserved.1-1 Reasons for Studying Concepts of Programming Languages Increased ability to express ideas Improved.
Java Tutorial Ethan New York University.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
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.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
Introduction Mehdi Einali Advanced Programming in Java 1.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
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.
CIS 234: Object-Oriented Programming with Java
Chapter 1 Coding Introduction.
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
Applications Active Web Documents Active Web Documents.
Computer Languages [Computing] Computing.
Object Oriented Programming in
Component Object Model(COM)
 2001 Prentice Hall, Inc. All rights reserved.
JAVA, JAVA Applets, and JavaScript
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Chapter 1 – Introduction to Computers, the Internet, and the Web
PROGRAMMING LANGUAGES
CSCI-235 Micro-Computer Applications
Chapter 1 Introduction to Computers, Programs, and Java
Lecture 1: Introduction to JAVA
Introduction to Computers and Java
Introduction to Operating System (OS)
Introduction Enosis Learning.
Application Development Theory
An Overview of Java.
Chapter 1 FOUNDATIONS OF JAVA
Programming COMP104: Fundamentals and Methodology Introduction.
PROGRAMMING IN JAVA. INTRODUCTION TO JAVA  Java is a general purpose computer programming language that is concurrent, class-based, object- oriented.
Introduction Enosis Learning.
Chapter 1 Coding Introduction.
Advanced Programming Fall 2017.
Ada – 1983 History’s largest design effort
and Program Development
(Computer fundamental Lab)
Java History, Editions, Version Features
By Rajanikanth B Overview Of Java By Rajanikanth B
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
Java Evolution Java History. Java 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:

IT1202- Fundamentals Of Programming (Using JAVA) Introduction to Programming Languages Version 1.0 UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Programming Languages First Generation of Computer Programs Sequence of machine instructions Loaded into memory through a set of switches UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Programming Languages……… Second Generation Computer Programs Introduction of assembly languages Enables the programmers to use mnemonic names for the machine instructions and symbolic names for memory locations. A translator called the assembler converts assembly language programs into machine code UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Programming Languages……… Third Generation Languages High level languages such as BASIC, Fortran, Pascal and C eliminate the close ties to the CPU’s machine instructions Provide standard data types such as integers, floating point numbers and characters etc., UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Third Generation Languages…….. Instructions are user friendly Compilers are available to translate these high- level language instructions to machine instructions. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Programming Languages……… The accepted programming style To organize related data items using programming constructors such as Pascal Records or C Structures Then treat the resulting block of data as a single unit. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

The accepted programming style….. After data structures are laid out, the application is written as a collection of procedures that manipulate these structures With ever-increasing: Hardware capabilities such as faster CPUs, Main Memory Space, Hard Disk space Better graphics Easier networking UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

The accepted programming style….. Users have come to expect software to have greater functionality Window-based graphical user interface Transparent access to data stored in mini or mainframe computers The ability to work in a network environment UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Programming Languages……… Faced with this complexity More programmers are starting to use Object Oriented Programming (OOP). OOP is a new way of organising code and data UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Object Oriented Programming……. OOP promises increased control over the complexity of the software development process. The underlying concepts of OOP are, Data Abstraction with Encapsulation Inheritance Polymorphism UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Object Oriented Programming……. Encapsulation : This is the mechanism that binds together code and data it manipulates, and keeps both safe from outside interferences and misuse. Inheritance : This is the process by which one object acquires the properties of another object. This supports the concept of hierarchical classification. Polymorphism : This is a feature that allows one interface to be used for a general class of actions. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Evolution of OOP Languages Object Oriented Programming was first discussed in the late 1960’s by those working with the SIMULA67 language. SIMULA67 was identified as the first ever OO programming language. SIMULA67 was developed as an extension of Algol60 (ALGOrithmetic oriented Language) UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Evolution………. SIMULA67 gave us the crucial Object oriented concepts of classes, dynamic objects, encapsulation and inheritance. Smalltalk is another OOP Language and environment released in 1980. C++ first version 1983 Eiffel in 1988 -not an extension of an existing procedural language syntax UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Java Java was developed by James Gosling at Sun Microsystems in 1991. His Original Aim was to develop a low cost, Hardware Independent Language based on C++. Due to technical reasons that idea was dropped . A new programming Language called Oak was developed based on C++ . UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Java Contd.... The language oak was developed by removing undesirable features of C++. Those features include: Multiple Inheritance Automatic type conversions Use of pointers Memory Management. By 1994 the World Wide Web Emerged and Oak was Re-named as Java. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Java Contd.... The Java language was Successfully used to develop a web browser called WebRunner and Java/Hotjava project was commenced. In Early 1995, Hotjava,Java,Java Documentation and Source code was made available over the web as an alpha version. In December 1995, beta version2 of Java was released. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Introduction to Java Contd.... On January 23, 1996 Java 1.0 was officially released and made available to download over the net. Latest version of Java 2 SDK. And Documentation Can be downloaded at www.javasoft.com/ UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Features of Java Java is a programming language that is well suited to designing software that works in conjunction with the internet. It is an object-oriented programming language making use of a methodology that is becoming increasingly useful in the world of software design. It is a cross-platform language means its programs can be designed to run the same way on Microsoft Windows, Apple Macintosh and most versions of UNIX including Solaris. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Features………. Java extends beyond desktops to run on devices such as televisions and cellular phones. JavaStation, Sun’s network computer, runs the JavaOS operating system and is optimized for the language. Java is closer to programming languages such as C, C++, Visual Basic and Delphi than it is to a page-description language such as HTML or a simple scripting language as JavaScript. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Java and the Internet Netscape Navigator & Microsoft Internet Explorer browsers can download a Java program from a Web page & run it locally on the Web user’s system. These programs, which are called applets, appear in a Web page in a similar fashion to images. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Java and the Internet…….. Applets are written with the Java language, compiled into a form that can be run as a program, and placed on a Web server. Most servers can deliver Java files without any changes to their configuration. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Advanced features Some of the advanced features introduced with the current version include the following: Swing – New features for creating a graphical user interface, either in the style of a specific operating system or a new Java “look-and-feel” called Metal. Drag-and-drop – The capability to interactively transfer information across different applications and from one part of a program’s interface to another. Compile revision to Java’s audio features, bringing them more in line with the sound capabilities of other languages. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Versions of the Language Java 1.0 – Still the most widely supported by Web browsers. Java 1.1 – A spring 1997 release with improvements to the user interface, event handling and more consistency across the language. Java 2 – The new version, released for public beta–testing first in December 1997 as JDK 1.2 and finalized in December 1998 as “Java 2”. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Usefulness of Java program Java is Platform Independent The capability of the same program to run on different platforms & operating systems. Java is Object-Oriented It is a way of conceptualizing a computer program as a set of interacting objects. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Usefulness………. Java is smaller & simpler than comparable languages. Java is easy to learn Java is smaller & simpler than comparable languages. Java is small Make programs faster to download off of a page. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Usefulness……………. Java is secure Prevents hackers from writing programs that weak havoc on browser users’ systems. Java is portable Allows it to run on Windows, Macintosh & other platforms without modification UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.

Java’s past, present & future Java language is developed at Sun Microsystems in 1991 as part of the Green project. But, later a project member James Gosling wrote a new language to better handle the prototype, Star7 that developed by the group members. It named as Oak. A Web browser that could run Java applets was created in 1994. After JavaOne conference in May 1996, Sun spun off its Java development efforts & added hundreds of employees to continue expanding the language. UCSC 2003. All rights reserved. No part of this material may be reproduced and sold.