{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

A Java Tour - A Java Tour Just A Brief Introduction"The...

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 Document Right 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.
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.

{[ snackBarMessage ]}