Wednesday 28 September 2011

Introduction to Computers,Programs & Java (part 2) operating systems,programming language

1. Operating systems - manage,control activities that runs on computer.

2. Example,Linux,Mac os,Microsoft windows,Mobile Os.

3.The major tasks including :
   i.Control and monitor system activities
   ii.Allocate and assigning resources
   iii.Scheduling operations

4.Programming language

i. Binary code
- 11001110 
- consist entirely of numbers and are almost impossible for humans to read and write.
   
ii.Assembly language/ low level language
- Assembly languages have the same structure and set of commands as machine languages, but they enable a programmer to use names instead of numbers.

Example assembly language















iii. High level language
-high-level language is called so because they are closer to human languages and further from machine languages. In contrast, assembly languages are considered low-level because they are very close to machine languages.

-The main advantage of high-level languages over low-level languages is that they are easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language.

- There are two ways to run programs written in a high-level language. The most common is by using compiler,; the other method is to pass the program through an interpreter.


 

0 comments:

Post a Comment