Thursday, 28 November 2013

Devolpment Software

Development Software

 Editors

To write any programs, you need an Editor. Text Editors are usually provided by the operating system; for example Windows provides notepad and Linux provides Gedit. Although you can use any text editor to write a program you can get some advanced and added features for a programs like "Pretty Printing".
 

Compilers

Compilers turn High-level languages like Python into Machine Instructions so it is easier for the CPU to execute. They do not often come supplied with an operating system, but they are still regarded by some as system software because they are not applications designed to do a specific task for the user.
 

Interpreters

Interpreters also translate High-Level code into machine code ,but they do so a line at a time and execute the code as they go. They are useful for debugging programs because they give an instant result.

Monday, 25 November 2013

Bits and Bytes

The following will go up in order of File Sizes from Bit to Terabyte.
A bit is the basic unit of information in computing and digital communications. A bit can have only one of two values, and may therefore be physically implemented with a two-state device. The most common representation of these values are 0and1 or off and on. The term bit is a contraction of binary digit.
Nibble (often nybble or even nyble to match the vowels of byte) is a four-bit aggregation,or half an octet. As a nibble contains 4 bits, there are sixteen  possible values, so a nibble corresponds to a single hexadecimal digit.
A byte is a unit of digital information in computing and telecommunications that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit of memory in many computer architectures. The size of the byte has historically been hardware dependent and no definitive standards existed that mandated the size. The de facto standard of eight bits is a convenient power of two permitting the values 0 through 255 for one byte. The popularity of major commercial computing architectures has aided in the ubiquitous acceptance of the 8-bit size.
The kilobyte for 1000 bytes (symbol: kB) or Kilobyte (kibibyte) for 1024 bytes (symbol: KB or KiB or informally KBytes) are two definitions for multiples of the unit byte for digital information. The term kilobyte and the symbol KB have historically been used to refer to 1024 (210) bytes, in the fields of computer science and information technology.
The megabyte (symbol MB, sometimes abbreviated as Mbyte) is a multiple of the unit byte for digital information storage or transmission with three different values depending on context: 1000000 bytes (106, see prefix mega-) generally for computer storage or transmission rates;[ 1048576 bytes (220, or a mebibyte) generally for computer memory; and in rare cases 1000×1024 (1024000) bytes.
The term "gigabyte" is commonly used to mean either 10003 bytes or 10243 bytes. This originated as compromise technical jargon for the byte multiples that needed to be expressed by the powers of 2 but lacked a convenient name. As 1024 (210) approximates 1000 (103), roughly corresponding SI multiples, it was used for binary multiples as well. In 1998 the International Electrotechnical Commission (IEC) proposed standards for binary prefixes and requiring the use of gigabyte to strictly denote 10003 bytes and gibibyte to denote 10243 bytes. By the end of 2007, the IEC Standard had been adopted by the IEEE, EU, and NIST.
 The terabyte is a multiple of the unit byte for digital information. The prefix tera represents the fourth power of 1000, and means 1012 in the International System of Units (SI), and therefore one terabyte is one trillion (short scale) bytes. The unit symbol for the terabyte is TB.
1 TB = 1000000000000bytes = 1012bytes = 1000gigabytes. A related unit, the tebibyte (TiB), using a binary prefix, is the corresponding 4th power of 1024. One terabyte expressed using binary prefixes is about 0.910 tebibytes, or 931 gibibytes.

Thursday, 21 November 2013

Programs Instructions

Programs instructions and data are stored by the computer in binary in the same place. When a Computer starts a program it directs itself to the start address for the instructions. The CPU fetches the instructions from the program location and Decodes it to find out what the next instruction is. In the meantime it has already updated a Register, the Program counter, to point at the next memory location so that it is ready to fetch the next instruction if necessary.
Operand may be literals, such as the number "3," or strings, such as "Hello." Or they may be variable names such as "x" or "speed".
Operator represent actions that can be performed on the operands. The most obvious operators are the symbols for the four common arithmetical operations: "+," "-," "*" (multiplication), and "/" (division). However, most computer languages also define other operators.

The Video below will help explain.