SlideServe
Menu
Préférences
© SlideServe · v2026

Computer Organization, Compilation, and Eclipse

abbott avatar
8 diapositives · 243 Views · Aug 21, 2014

Computer Organization, Compilation, and Eclipse. CS 178: Programming with Multimedia Objects Aditya P. Mathur Professor of Computer Sciences Purdue University, West Lafayette August 25, 2004. Last update: August 23, 2004. Learning Objectives. What is a compiler?. The compilation process.

Computer Organization, Compilation, and Eclipse - slide 1
01 / 8Computer Organization, Compilation, and Eclipse
1 / 17

Télécharger la présentation

Computer Organization, Compilation, and Eclipse
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Computer Organization, Compilation, and Eclipse CS 178: Programming with Multimedia Objects Aditya P. Mathur Professor of Computer Sciences Purdue University, West Lafayette August 25, 2004 Last update: August 23, 2004

  2. Learning Objectives • What is a compiler? • The compilation process • Eclipse Course Introduction  Aditya P. Mathur 2004

  3. CPU: Central Processing Unit GPU: Graphics Processing Unit e.g. Joystick, Display SPU: Sound Processing Unit Input/Output Devices e.g. 60GB CPU|GPU|SPU Secondary Storage e.g. Athelon, R3000A Cache Primary Storage e.g. 512MB Basic Computer Organization Course Introduction  Aditya P. Mathur 2004

  4. High Level-Low Level Languages • A CPU|GPU|SPU in a computer understands instructions coded as only 1’s and 0’s. • The language of 0’s and 1’s is a low level language known as machine language. • Java allows the coding of instructions using keywords from English, e.g. applet, class, and String. • Java is a high-level language. How does a CPU/GPU/SPU understand instructions coded in Java? Course Introduction  Aditya P. Mathur 2004

  5. Different from machine (CPU) code Java Compiler Byte Code Instructions executed by the CPU Java Virtual machine (JVM) Output Language Translation Java Program JVM interprets Java byte code instructions. JVM instructions are executed by the CPU. Course Introduction  Aditya P. Mathur 2004

  6. Platform Independence Byte Code Java Virtual machine Java Virtual machine Java Virtual machine Others Windows OS X Unix Course Introduction  Aditya P. Mathur 2004

  7. Structure of a Java Program Java Program Class One or more classes Class Class ....... Data Data Data Method Method Method Method Method Method Method Method Method Each class contains data and methods. Data Instructions Course Introduction  Aditya P. Mathur 2004

  8. Sample Java Programs and Eclipse Let us examine a few Java programs..small and not so small! Course Introduction  Aditya P. Mathur 2004