Wednesday, February 4, 2009

Number systems and computer codes

Computer works with binary number system that is consist of only two digits zero and one. Inside the computer binary number is represented by an electrical pulse. One means a pulse of electricity and zero means no pulse. All the data enters into the computers first converts into the binary number system. One digit in binary number system is called bit and combination of eight bits is called byte. A byte is the basic unit that is used to represent the alphabetic, numeric and alphanumeric data.

Data is the combination of characters, numbers and symbols collected fro a specific purpose.
Data is divided into three types; alphabetic data, numeric data and alphanumeric data.
Numeric data consist of ten digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, two signs + and – and decimal point . There are different types of number system that are used to represent numeric data.
These number systems are decimal number system, binary number system, octal number system and hexadecimal number system.

Alphabetic data is used to represent 26 alphabetic. It consist of capital letters from A to Z, small letters from a to z and blank space. Alphabetic data is also called non numeric data.

Alphanumeric data used to represent alphabetic data, numeric data, special character and symbols.

Any type of data is represented in computer as binaries. The binaries are the 1 or 0. Actually the 1 mean ON and 0 mean OFF. This combination can represent any type of data.

For example, we want input the letter A.This letter will be converted to its binary codes by using ASCII (or any other which is used by computer) codes.The code for A letter is 65.The 65will be converted to its binary equivalent which is 01000001.By using same logic any type of data is represented in computer.

Following are the types of data.

Numerical data: the numerical data consists of numbers only (decimal or float) e.g. 28774,
383.38, 3238.

Alphabetical data: The alphabetical data consists of letters and symbols e.g. car, bridge, man.

Alphanumerical data: This type of data is the combination of alphabetical data and numerical
data e.g. Abc23, 34 New street.

Apart from these types of data the data can be in the form Audio visual data, physical data, Musical data. These types of data is provided by using special kind of hardware. The use of these data types is not limited and the examples of such data can be seen easily.

Computer is a system to manipulate data. Monitor, where we see data, is not the place to store them (though one of the police team had ceased the monitor to investigate a case of data theft!). It is the secondary storage devices (hard disk, floppy disk, CD, DVD, etc.) where the data are stored. Whatever we write through the keyboard or try to push through the various input devices, the corresponding input devices convert them first into digital signals to produce 0 or 1 (bits). These continuous streams of bits are then stored or represented signifying the non-availability or availability of the voltage. To avoid further ambiguity in retrieval, these bits are stored and accessed in a group, say 8 bits together. The group of 8 bits is called byte and thus the higher units of bit calculation are the KB (1 KB = 1024 bytes), MB (1 MB = 1024 KB), GB (1 GB = 1024 MB), etc.

There exist several kinds of data such as Textual, Numerical, Alphanumerical, logical, Pictorial or Audiovisual. Each type of data has some pre-defined way of representation and other behaviour inside the computer. The textual data are the alphabetic character set of any language whereas the digits constitute the numeric part of the data. The mixture of alphabetic and numeric data together form the alphanumeric character sets. The logical data are those that help to analyse the comparison concept. Pictures and sounds create the pictorial and audiovisual data for the computer.

Data Types

A data type is a type of data. Of course, that is rather circular definition, and also not very helpful. Therefore, a better definition of a data type is a data storage format that can contain a specific type or range of values.

When computer programs store data in variables, each variable must be assigned a specific data type. Some common data types include integers, floating point numbers, characters,strings, and arrays. They may also be more specific types, such as dates, timestamps, boolean values, and varchar (variable character) formats.

Some programming languages require the programmer to define the data type of a variabl before assigning it a value. Other languages can automatically assign a variable's data type when the initial data is entered into the variable. For example, if the variable "var1" is created with the value "1.25," the variable would be created as a floating point data type. If the variable is set to "Hello world!," the variable would be assigned a string data type. Most programming languages allow each variable to store a single data type. Therefore, if the variable's data type has already been set to an integer, assigning string data to the variable may cause the data to be converted to an integer format.

Data types are also used by database applications. The fields within a database often require a specific type of data to be input. For example, a company's record for an employee may use a string data type for the employee's first and last name. The employee's date of hire would be stored in a date format, while his or her salary may be stored as an integer. By keeping the data types uniform across multiple records, database applications can easily search, sort, and compare fields in different records.

Computer software

What is Software?

Software is a set of instruction written to interface between user and machine.

Who writes this instructions?

Programmers writes this instructions.

How the programmers write the instructions /software?

They use computer languages to write software applications.

Software can be divided into three main categories:

- Languages
- Applications
- Operating Systems (OS)

LANGUAGE:

It is one of the software type, use to write extensive applications and operating systems It did not contains any limitations in programming. By using the languages you can write any thing for a computer.

For instance just imagine a language like a piece of cloth with that you want to make a shirt or paint curtain for windows or door, than you will take that cloth to the tailor and have him made for you or if you know tailoring you can stitch it at home.

Where as: Cloth is Computer Language
Tailor is Computer programmer
Shirt/Paint is Computer application

Example of languages are:

- CC++
- Fortran
- Cobol
- Pascal
- Perl
- Assembly Language
- Machine Language
- Java
- VB.NET
- C#
- Oracle Forums

APPLICATION:

Software applications are user friendly and most of the time it is custom made for the end-user. Because it serving a specific purpose so it is having its own limits and bounds. It will not work beyond its bounding, for example if you want design picture in a word editor you may not able to get the result according to your desire.

Following are the different categories of applications

- Database Applications
- Front End Applications
- Reports Applications
- Word Editors
- Spread Sheets Editors
- Application for presentation
- Graphics Designing Application
- CAD designing Application
- Computer Games
- SCADA Applications

Some of the popular Applications are:

- Oracle
- MSoffice (Word,Excel,Access,PowerPoint,Outlook, etc.)
- VB
- VC++
- Autocad

OPERATING SYSTEM:

This is the interface between user and computer or man and machine. This is the main and mandatory software in computer. Without Operating System (OS) computer will never starts. It is the mediator between you as an user and computer.

Think that you are suppose to talk to a person who does not understand your language. What you will do in this situation? Off course you take the help of person who knows both yours and other person's language, he is the mediator. And that's what the computer Operating System is doing.

It is very interesting that the thing from which OS has comes out still require OS to run on. In other words all languages and applications require a platform which is nothing but OS. So that conclusion on any computer first should have OS than you can have language or application on it.

Example of some of the Operating Systems:

- Windows
- Unix
- Linux
- Apple Mach
- Solaris
- Ban
- VMS
- RS
- OS2
- IRIX
- AIX
- HP-UX

Types of Computers

Definition of a Computer

A computer can be defined as an electronic device that receives input from the user through a mouse or keyboard, processes it in some fashion and displays the result on a screen. It can also be assumed as any device that has a microprocessor in it.


Types of Computers

Fundamentally, there are two types of computers

  • analog
  • digital

Analog computers solve problems by using continuously changing data such as

  • temperature
  • pressure
  • voltage

Digital computers solves problems by manipulating discrete binary digits (1s and 0s).

3 Main Types of Computers

  • mainframes
  • minicomputers
  • microcomputers
They differ in size, speed of operation, amount of data that can be stored, and the number of simultaneous users.

Microcomputers:


  • Personal or desktop computer designed for general use by a single person.
  • Home and all types of businesses.
  • Entertainment, communication, personal databases, and spreadsheets, word processing, accounting, inventory control, research.

Minicomputers:

  • Mid-range servers supporting smaller number of simultaneous users, typically 50 to 100.
  • Larger businesses.
  • Accounting, billing, and inventory records.

Mainframe computers:

  • Allow many simultaneous users.
  • Industry, research, and university computing centers.
  • Typically huge databases, complex mathematical operations, processing millions of transactions everyday.

Types of Computers Based on Size

Desktop - A Personal Computer that is not designed for portability. The computer is set up in a permanent location. Most desktops offer more power, storage and versatility for less cost.

Laptop - These are also called notebooks. Laptops are portable computers that integrate the display, keyboard, a pointing device or trackball, processor, memory and hard drive all in a battery-operated package slightly larger than an average hardcover book.

Palmtop - More commonly known as Personal Digital Assistants (PDAs)

  • Palmtops are tightly integrated computers that often use flash memory instead of a hard drive for storage
  • These computers usually do not have keyboards but rely on touchscreen technology for user input
  • Palmtops are typically smaller than a paperback novel, very lightweight with a reasonable battery life. A slightly larger and heavier version of the palmtop is the handheld computer.

Workstation - A desktop computer that has a more powerful processor, additional memory and enhanced capabilities for performing a special group of task, such as 3D Graphics or game development.

Server - A computer that has been optimized to provide services to other computers over a network. Servers usually have powerful processors, lots of memory and large hard drives.

Supercomputer- This type of computer usually costs hundreds of thousands or even millions of dollars. Although some supercomputers are single computer systems, most are comprised of multiple high performance computers working in parallel as a single system. The best known supercomputers are built by Cray Supercomputers.

Wearable- The latest trend in computing is wearable computers. Common computer applications (e-mail, database, multimedia, calendar/scheduler) are integrated into watches, cell phones, even clothing!

Basic Units of a Computer

Modular units usually consist of the following separate components:

  • The Computer
  • The Monitor
  • The Keyboard
  • The Mouse
  • Peripherals
  • Central Processing Unit (CPU)

Central processing unit (CPU):

The heart of the computer, this is the component that actually executes instructions organized in programs ("software") which tell the computer what to do.

Storage Devices

Memory(fast, expensive, short-term memory): Enables a computer to store, at least temporarily, data, programs, and intermediate results.

Mass storage device (slower, cheaper, long-term memory): Allows a computer to permanently retain large amounts of data and programs between jobs. Common mass storage devices include disk drives and tape drives.

Input Devices

  1. Keyboard
  2. Mouse
  3. Tracker ball
  4. Joystick
  5. Light pen
  6. Digial Camera
  7. Microphone
  8. Touch screen
  9. Video Digitiser
  10. Graphics tablet
  11. Scanner
  12. OCR (Optical Character Recognition)

Output Devices

  1. Monitors or Visual Display Units (VDUs)
  2. Printers
  3. Plotters
  4. Speakers LCD
  5. projectors
Written By Santhosh