01:198:111 Lecture Notes - Lecture 2: Java Bytecode, Flowchart, Javac
cyansea-lion159 and 56 others unlocked
47
01:198:111 Full Course Notes
Verified Note
47 documents
Document Summary
Inputs, outputs, error conditions: program design, algorithm construction. Will use a programming language: testing. Arrows: shows the program order of operations. Rectangle: set of operations that change value, form, or location of data. A jvm has been written for every operating system. A compiler takes java source code and translates it to java bytecode. Jvm is an imaginary machine that is implemented by emulating it in software on a real machine. Code for the jvm is stored in . class files. Real compiled byte codes that are platform independent. Compiling and running code in the terminal javac example. java to compile code java example to run code. Syntax error: refers to putting together the parts of a language; jim with a anna. Semantics error: refers to the meaning of a statement; a telescope saw anna telescope saw with jim . Pragmatic error: refers to the difference between a literal and figurative statement; an apple a day keeps a lawyer away .