Monday, May 9, 2011

Quick notes for Week 2

Key points:

1. A computer is a machine that performs computations and operations based on a set of operations --> a computer program.

2. A computer consist of :
- hardware
- software

3. All data on computers are stored in binary format (1 or 0)

4. All characters in the keyboard are identified via a 7-bit ASCII code. But as all characters are normally stored using 8-bit, a 0 precedes the binary code --> e.g. 'a' : 0110 0001

5. What you write in JGrasp is known as source code. This is then compiled by the Java compiler into machine language (bytecode for Java), which the CPU can understand and execute.

6. Java is:
- platform independent.
- secure.
- reliable.
- uses the Java Virtual Machine (JVM) to execute the bytecode.

7. An algorithm is a step-by-step procedure to achieve a purpose or solve a problem.

No comments:

Post a Comment