Tuesday, September 6, 2016

Bits and Bytes

Bits and Bytes

A byte is a sequence of 8 bits (enough to represent one alphanumeric character) processed as a single unit of information. A single letter or character would use one byte of memory (8 bits), two characters would use two bytes (16 bits).
Put another way, a bit is either an 'on' or an 'off' which is processed by a computer processor, we represent 'on' as '1' and 'off' as '0'. 8 bits are known as a byte, and it is bytes which are used to pass our information in it's basic form - characters.
An alphanumeric character (e.g. a letter or number such as 'A', 'B' or '7') is stored as 1 byte. For example, to store the letter 'R' uses 1 byte, which is stored by the computer as 8 bits, '01010010'.
A document containing 100 characters would use 100 bytes (800 bits) - assuming the file didn't have any overhead (additional data about the file which forms part of the file). Note, many non-alphanumeric characters such as symbols and foreign language characters use multiple bytes.



  • ASCII is an encoding representing each typed letter by a number.
  • Each number is stored in one byte (so the number is in 0..255) .
  • A is 65 .
  • B is 66 .
  • a is 96 .
  • space is 32 .
  • "Unicode" is an encoding for mandarin, greek, arabic, etc. languages, typically 2-bytes per "letter" .

Labels:

Difference between Software and Hardware

Difference between Software and Hardware


Hardware:
  • Physical parts of the computer are called hardware.
  • You can touch, see and feel hardware.
  • Hardware is constructed using physical materials or components.
  • Computer is hardware, which operates under the control of a software.
  • If hardware is damaged, it is replaced with new one.
  • Hardware is not affected by computer viruses.
  • Hardware cannot be transferred from one place to another electronically through network.
  • User cannot make new duplicate copies of the hardware.
Software:
  • A set of instructions given to the computer is called software.
  • You cannot touch and feel software.
  • Software is developed by writing instructions in programming language.
  • The operations of computer are controlled through software.
  • If software is damaged or corrupted, its backup copy can be reinstalled.
  • Software is affected by computer viruses.
  • Software can be transferred from one place to another electronically through network.
  • User can make many new duplicate copies of the software. 

Labels:

COMPUTER HARDWARE 2

COMPUTER HARDWARE


Computer hardware refers to objects that you can actually touch, like disks, disk drives, display screens, keyboards, printers, boards, and chips. In contrast, software is untouchable. Software exists as ideas, application, concepts, and symbols, but it has no substance. A combination of hardware and software forms a usable computing system. Computer hardware is the collection of physical elements that comprise a computer system. Computer hardware refers to the physical parts or components of computer such as monitor, keyboard, hard disk, mouse, etc.











Labels:

Monday, September 5, 2016

GENERATIONS OF A COMPUTER

GENERATIONS OF A COMPUTER


1. First Generation Computers

·         Vacuum tubes were used which produce more heat
·         Speed of computing was measured in milliseconds
·         Limited storage capacity
·         punched cards were used for I/O operation

2. Second – Generation Computers

·         Transistors and diodes were used.
·          Speed of computing was measured in microseconds
·          Consider about reduction of heat
·          Remarkable improvement in reliability
·          Storage capacity was increased
·          Magnetic tapes were used instead of punching cards.

3. Third Generation Computers

·          Integrated Circuits were used.
·          Speed is measured in nanoseconds
·          Occupied less space.
·          devices like visual display unit for I/O devices

 4. Fourth – Generation Computers

·          Use of micro processor chip
·          Speed was measured in nano and picoseconds
·          Occupied less space
·          Commonly available as personal computers
·          Mini & micro Computers are developed from micro-processor 

5. Fifth – Generation Computers:

·         Use of super large-scale integration (SLSI) chip in computer (super computers)
·         Capable of performing millions of instructions per seconds (MIPS)
·         Processing speed is high.
·         Use of RICS (reduced instructions set computing) for processing
      Super computers are expensive 

Labels:

HISTORY OF THE COMPUTER

 HISTORY OF THE COMPUTER


·     ABACUS:
     The first calculating machine ABACUS was developed by the Chinese. It is still being used in Russia and Japan.

·        ANALOG MACHINE: 
          The Scottish mathematician, John Napier developed a device called Napier’s bone analog machine around 1617. All arithmetic operations can be performed with the help of the machine.

·    ODOMETER: 
        It is called as speedometer. Along with basic arithmetic operations logarithms can be worked out.

·  MACHANICAL CALCULATOR: 

     The first mechanical calculator was made by the French mathematician Blaize pascal in 1642. It is a simple calculator used for addition and subtraction purposes. Later Leibnitz calculator was designed by Gottefried Leibnitz in 1671. It can be used for addition, subtraction, multiplication and division.


DIFFERENCIAL ENGINE: 

    Father of modern digital computers, Charles babbage, an English mathematician, proposed to Built a general purpose problem solving machine, in 1833.The machine called as analytical engine was designed to perform all the five basic data processing operations namely input, storage, control, process and output.

Labels:

Introduction to computers

INTRODUCTION


A Computer is an electronic device which performs operations such as accepts data as an input, store
 the data, manipulate or process the data and produce the result as an output.

Main task performed by a computer:-
·         Accept the data                                                            
·         Process or manipulate the data
·         Display or store the result in the form of human understanding
·         Store the data, instructions and results.

A computer system is a collection of hardware and software components designed to perform computations very effectively.


Computer system consists of four parts:

a)Hardware:-Any device of the computer you can touch. Hardware consists of inter connected electronic devices that you can use to control the computer’s operation.

b) Software:-is a collection of programs which can performs several tasks.

c) Data:-it consists of raw facts, which the computer stores and reads in the form of numbers.

d)People(or)User:-people are the computer operators. 


 ADVANTAGES OF A COMPUTER (OR) FEATURES OF A COMPUTER

         High speed
        Accuracy --Reliability
        Diligence
       Versatility and Storage etc..

APPLICATIONS OF A COMPUTER

Education, 
Business, 
Defense and Military, 
Medical, 
Engineering, 
Transportation, 
Multimedia,
Industries,
Communications, 
Space Technology, 
Research, 
Science and etc..

DISADVANTAGES OF A COMPUTER

       Spoil eye sight if look on the monitor for a long time
     Expensive to buy a computer
       If Spoil have to go repair
       Use of computers require additional infrastructure such as power supply and Software back up.

A computer can understand only  binary language (or) machine level language (or) low level Language (or) 0’s and 1’s. 

Program is a set of instructions (or) statements that performs a particular task

Labels:

Sunday, August 28, 2016

COMPUTER HARDWARE

COMPUTER HARDWARE


Computer hardware is the collection of physical parts of a computer system. This includes the computer case, monitor, keyboard, and mouse. It also includes all the parts inside the computer case, such as the hard disk drive, motherboard, video card, and many others. Computer hardware is what you can physically touch and see.
A computer system consists of two major elements: hardware and software. Computer hardware is the collection of all the parts you can physically touch. Computer software, on the other hand, is not something you can touch. Software is a set of instructions for a computer to perform specific operations. You need both hardware and software for a computer system to work.
Some hardware components are easy to recognize, such as the computer case, keyboard, and monitor. However, there are many different types of hardware components.
Before looking at the various components, it is useful to distinguish between two different types of computers: desktop computers and laptop computers. A desktop computer consists of a computer case and a separate monitor, keyboard, and mouse. As the name suggests, this type of computer is typically placed on a desk and is not very portable.
A laptop computer has the same components but integrated into a single, portable unit.
While these two types of computers look quite different, they have the same general hardware components.
Hardware represents the physical and tangible components of a computer i.e. the components that can be seen and touched.
Examples of Hardware are following:
  • Input devices -- keyboard, mouse etc.
  • Output devices -- printer, monitor etc.
  • Secondary storage devices -- Hard disk, CD, DVD etc.
  • Internal components -- CPU, motherboard, RAM etc.
 Here are the main types of computer hardware that you can buy for your PC.

1. Hard drive - also called hard disk, it is the permanent storage space that stores all information and applications of the computer, retaining the space even when it is turned off.

2. Motherboard - Considered as the most important types of computer hardware. The motherboard houses the microprocessor, providing the necessary sockets and slots that connect to all other types of computer hardware. Thus the motherboard serves as the 'mediator', a channel that allows the components to work together and walk to each other, making it a whole and completely working unit.

3. RAM - short for Random Access Memory. It is the memory used to process applications. RAM is lost when the computer is turned off.

4. ROM - short for Read Only Memory. It serves as memory for storage of programs.

5. Storage Devices - External storage devices like CDs, DVDs, USB flash drives are important as removable storage devices that you can take from one personal computer to another.

6. Power Supply Unit (PSU) - this converts the AC power to low voltage DC power, integral for the internal components of the PC.

7. Sound Card - responsible for the PC's audio input and output, necessary for games, music and other multimedia programs.

8. Keyboard - an input device used to input text & characters by pressing the keys.

9. Mouse - pointing device that detects two-dimensional motion to the surface. Other pointing devices include the track ball, the touch pad and the touch screen.

10. Joystick - a gaming device with a handheld stick that pivots from left to right and up to down, detecting angles in two and three dimensions.

11. Image input devices - includes scanners and web cams, these devices are used to provide input of images, written text, handwriting, etc for digital use.

12. Image output devices - the printer, used to produce a physical and permanent text or graphic document.

13. Audio input devices - the microphone is used to record or provide input through sound conversion to electrical signals.

14. Audio output devices - headphones and speakers that allows you to hear the audio coming from the computer.

15. Monitor - the monitor is an electronic visual display that shows the graphical and textual information of the computer. There are may types of monitors, such as the CRT (Cathode Ray Tube), which is almost obsolete, the LCD (Liquid Crystal Display) which is the most common monitor used nowadays, and the touch screen display.

Labels:

Wednesday, August 17, 2016

Development of Algorithm and Flow Chart



Algorithm and Flowchart




Algorithm:
Definition 1: a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.


Definition 2: An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem.
The word derives from the name of the mathematician, Mohammed ibn-Musa al-Khwarizmi, who was part of the royal court in Baghdad and who lived from about 780 to 850. Al-Khwarizmi's work is the likely source for the word algebra as well.
Definition 3: A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem.
Definition 4: An algorithm specifies a series of steps that perform a particular computation or task. 

The characteristics of a good algorithm are:

· Precision:   The steps are precisely(Exact Terms) stated(defined). It is also known  as                            Definiteness
· Uniqueness: Results of each step are uniquely defined and only depend on the input and                       the result of the preceding steps.
· Finiteness:    The algorithm stops after a finite number of instructions are executed.
· Input:           The algorithm receives input.
· Output:        The algorithm produces output.
· Generality:   The algorithm applies to a set of inputs.

  

 Flow Chart:

Definition 1: Flowchart is a diagrammatic representation of an algorithm. Flowchart are very helpful in writing program and explaining program to others.

Definition 2:  A diagram of the sequence of movements or actions of people or things involved in a complex system or activity.A graphical representation of a computer program in relation to its sequence of functions.

Symbols used for Flow Chart:



Labels: