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
  • Good Essays

    Intro to programming

    • 534 Words
    • 3 Pages

    Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 534 Words
    • 3 Pages
    Good 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

    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
  • Satisfactory Essays

    1. Classes 2. Objects 3. Data abstraction 4. Data encapsulation 5. Inheritance 6. Polymorphism 7. Dynamic Binding 8. Message Passing…

    • 462 Words
    • 2 Pages
    Satisfactory 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
  • 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
  • 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 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
  • 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
  • Good Essays

    kuala lumpur

    • 2426 Words
    • 10 Pages

    This essay would be regarding my field trip to Kuala Lumpur. I will be covering the essential aspects of this trip, the experience and motivation behind it all, and what the trip means to me. My theme will be onl family bonding. My dad is a business man and he is always running up and down Hong Kong, china, Vietnam and Singapore. I hardly get to see him of late and this short few days made me realize how it brought up even closer together and cherish the time with everyone. Kuala Lumpur (Malaysian is the capital and most populous city in Malaysia. Since the 1990s, the city has played host to many international sporting, political and cultural events including the 1998 Commonwealth Games and the Formula One Grand Prix. In addition, Kuala Lumpur is home to the tallest twin buildings in the world, the Petronas Twin Towers, which have become an iconic symbol of Malaysia's futuristic development. Kuala Lumpur is the sixth most visited city in the world, with 8.9 million tourist per year. One of the major tourist destinations in Kl includes Petaling Street, KL’s bustling chinatown which I visited as well.…

    • 2426 Words
    • 10 Pages
    Good Essays

Related Topics