Programming, Music, Games. Creation.

Archive for October, 2010

What is bit & byte ?

Bit is the smallest way to express data for computer using one 2binary(0 or 1).
Byte is formed when 8 bits join together.
… To make things simple, I drew a picture.
It expresses everything ;D


(more…)


2bit, 8bit, 10bit, 16bit

What is 2bit, 8bit, 10bit, 16bit?

2 bit (binary) means that only 2 digits are used to express numbers.
it goes same for 8,10,16.
8 bit (octect) uses 8 digits to express numbers,
10 bit (decimal) uses 10 digits to express numbers and same goes for 16(hexadecimal).

(more…)


What is C (Programming Language)?

Humans can’t speak the Machine Language which computer use.

Even if we try to learn it, it is hard to understand and hardly makes sense to us.

(more…)


History of C Programming Language

C  is a general-purpose computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.

Although C was designed for implementing system software, it is also widely used for developing portable application software.

C is one of the most popular programming languages of all time and there are very few computer architectures for which a C compiler does not exist.

C has greatly influenced many other popular programming languages, most notably C++, which began as an extension to C.

Early developments

The development of C occurred at AT&T Bell Labs between 1969 and 1973.

Aaccording to Ritchie, the most creative period occurred in 1972. It was named “C” because its features were derived from an earlier language called “B”, which according to Ken Thompson was a stripped-down version of the BCPL programming language.

The origin of C is closely tied to the development of the Unix operating system, originally implemented in assembly language on a PDP-7 by Ritchie and Thompson, incorporating several ideas from colleagues.

Eventually they decided to port the operating system to a PDP-11. B’s inability to take advantage of some of the PDP-11’s features, notably byte addressability, led to the development of an early version of C.
The original PDP-11 version of the Unix system was developed in assembly language. By 1973, with the addition of struct types, the C language had become powerful enough that most of the Unix kernel was rewritten in C.

This was one of the first operating system kernels implemented in a language other than assembly.

(more…)