A Java Tour - A Java Tour Just A Brief Introduction"The only way to learn a new programming language is by writing programs in it B Kernighan and D

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
A Java Tour Just A Brief Introduction "The only way to learn a new programming language is by writing programs in it." - B. Kernighan and D. Ritchie Computers are good at following instructions, but not at reading your mind." - D. Knuth Some Definitions Programming Language - a language that is designed to express calculations that can be carried out by a computer. Program - a set of instructions written in a programming language that can be carried out by a computer to solve a problem. Program Execution ("running" the program) - the computer carries out the program's instructions. Machine language (or code) - the low-level language of a computer that consists of each computation's encoding as a sequence of 0s and 1s. In machine language, a program could look like this:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
0110111100001010 1111011110101111 0000111101010111 ... where a sequence of 0s and 1s (called bits) correspond to operations such as Add, Store, Get Instruction, etc. Each computer has its own machine language. How Java Works
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/24/2010 for the course C S 305j taught by Professor Staff during the Spring '08 term at University of Texas at Austin.

Page1 / 8

A Java Tour - A Java Tour Just A Brief Introduction"The only way to learn a new programming language is by writing programs in it B Kernighan and D

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online