Preview

Introduction To Java Programming Language

Powerful Essays
Open Document
Open Document
1485 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Introduction To Java Programming Language
Introduction to Java
Programming Language

Programming Languages
• Suppose a person is giving travel directions to a friend. That friend might explain that direction in any one of the several languages such as English,
Japanese, Russian, Chinese, or even Tagalog.
• The directions are the same, no matter what language is used
• Similarly, a problem can be solved by writing a program in one of many programming languages such as Java, C, C++, Pascal, Basic, etc

Programming Languages
Can be categorized into four groups:
1. Machine language
-

composed of binary digits
Difficult for humans to read and understand
Can be executed directly by a computer
Each CPU type has its own machine language
-

i.e. you can’t run a program written in a Sun Microsystem computer on an Dell with an
Intel processor

2. Assembly language
-

Replaced binary digits with mnemonics, which are short, english-like words that represent commands. i.e. ADD, MUL, SUB
It was easier for programmers to deal with words, than with binary numbers
Cannot be executed directly by a computer – needs to be translated into machine language

Programming Languages
3. High-level language
-

Expressed in English-like phrases, and thus are easier to understand
A single high level language statement can accomplish the equivalent of hundreds of machine language code
High level refers to the fact that programming statements are expressed in a way far removed from the machine language that is ultimately executed
It insulates the programmer s from needing to know the underlying machine language for the processor on which they are working
Examples: Java, Pascal, C, C++, Ada, Smalltalk

4. Fourth-generation languages
-

include special facilities for automatic interaction with databases
Examples: Visual C++, Visual Basic

Programming Languages
High Level Language

<a + b>

Assembly Language

Machine Language

1d [%fp-20], %o0
1d[%fp-24], %o1
Add %o0, %o1, %o0


1101
1102
1101
1011

0000
1111
0010
1111

0000
1110
0000

You May Also Find These Documents Helpful

  • Satisfactory Essays

    only operate in a Windows operating system, which is a Microsoft system. When the early…

    • 500 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Homework CH 1 Java

    • 723 Words
    • 5 Pages

    2. Languages that let you use a vocabulary of descriptive terms, such as read, write, or…

    • 723 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Java

    • 490 Words
    • 3 Pages

    Write a Java program to demonstrate using bitmaps and bitwise operators to sort and remove duplicates from a file of random phone numbers. Do not confuse the term bitmap used for compressing data into smaller spaces with the bitmap that has come to mean a graphic image.…

    • 490 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Intro to Programming

    • 390 Words
    • 2 Pages

    Procedure Programming identifies steps and procedures on a (step-by-step) hierarchal method, while Object Oriented Programming does not result from step-by-step procedure and is more focused on problem solving elements.…

    • 390 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Programming fundamentals

    • 299 Words
    • 2 Pages

    Note. This assignment is cumulative and the information and results will be used in the following weeks.…

    • 299 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I declare that, apart from properly referenced quotations, this report is my own work and contains no plagiarism; it has not been submitted previously for any other assessed unit on this or other courses.…

    • 2145 Words
    • 9 Pages
    Satisfactory Essays
  • Good Essays

    * Able to separate the real privacy and security risks from things you don’t have to worry about…

    • 889 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Ethics

    • 399 Words
    • 2 Pages

    1- The need to manipulate large amount of numbers, they used manual calculation as it influenced the growth of the manual calculation market.…

    • 399 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Java is simple such as it does not have any pointers, it has automatic memory allocation and garbage collector, and it has multiple inheritance with interfaces. Java is a platform-independent. Every Java source code is compiled to Java bytecode, which can be executed on any platform that has its own JVM without compilation.…

    • 2088 Words
    • 9 Pages
    Better Essays
  • Powerful Essays

    Object Oriented Programming

    • 13874 Words
    • 63 Pages

    Object-Oriented Programming with Objective-C Contents Introduction 5 Who Should Read This Document 5 Organization of This Document 6 See Also 6 Why Objective-C? 7 Object-Oriented Programming 8 Data and Operations 8 Interface and Implementation 9 The Object Model 12 The Messaging Metaphor 13 Classes 15 Modularity 16 Reusability 16 Mechanisms of Abstraction 18 Encapsulation 18 Polymorphism 19 Inheritance 20 Class Hierarchies 21 Subclass Definitions 21 Uses of Inheritance 22 Dynamism 23 Dynamic Typing 24…

    • 13874 Words
    • 63 Pages
    Powerful Essays
  • Better Essays

    Corba

    • 1757 Words
    • 8 Pages

     CORBA, as defined by the OMG, is a standard or specification and not a…

    • 1757 Words
    • 8 Pages
    Better Essays
  • Better Essays

    JAVA LESSON 6

    • 1293 Words
    • 6 Pages

    6: Design, Debugging, Interfaces 6.092: Introduction to Java Assignment 5: main() Programs start at a main() method, but many classes can have main() public class SimpleDraw { /* ... stuff ... */ public static void main(String args[]) { SimpleDraw content = new SimpleDraw(new DrawGraphics()); /* ... more stuff ... */ } } Assignment 5: main()…

    • 1293 Words
    • 6 Pages
    Better Essays
  • Powerful Essays

    The arithmetic operators -, +, * and / can be used to perform respectively subtraction, addition, multiplication and division with integers and reals.…

    • 1312 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    import java.io. *; import java.awt. *; import java.awt.event. *; import javax.swing. *; import java.sql.…

    • 3009 Words
    • 13 Pages
    Powerful Essays
  • Satisfactory Essays

    Java

    • 386 Words
    • 2 Pages

    For any decisions that your group makes, these decisions and the resulting code should not be identical to that of other groups. You are welcome to discuss the work with other students, but not to copy.…

    • 386 Words
    • 2 Pages
    Satisfactory Essays

Related Topics