Sunday 24 July 2016

Difference between hardware and software


Difference between hardware and 


software




The main difference between hardware and software are as follows:

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







Tuesday 19 July 2016

Distributed Database

Distributed Database

A distributed database (DDB) is a collection of multiple,logically interrelated databases distributed over a computer network. A distributed database management system (D–DBMS) is the software that manages the DDB and provides an access mechanism that makes this distribution transparent to the users.

Distributed database system (DDBS) = DDB + D–DBMS


What is not a DDBS?

A timesharing computer system

A loosely or tightly coupled multiprocessor
system

A database system which resides at one of the
nodes of a network of computers - this is a
centralized database on a network node

Saturday 16 July 2016

Arithmetic and Logic Unit

AIRTHEMATIC AND LOGIC (ALU):


DEFINITION:


In digital electronics, an arithmetic logic unit(An arithmetic logic unit (ALU) represents the fundamental building block of the central processing unit of a computer. An ALU is a digital circuit used to perform arithmetic and logic operations.) is a digital circuit that performs integer arithmetic and logical operations. The ALU is a fundamental building block of the central processing unit of a computer, and even the simplest microprocessors contain one for purposes  Short for Arithmetic Logic Unit, ALUIn some computer processors, the ALU is divided into an AU and LU. The AU performs the arithmetic operations and the LU performs the logical operations.

Machine cycle


An arithmetic logic unit (ALU) is a digital circuit used to perform arithmetic and logic operations. It represents the fundamental building block of the central processing unit (CPU) of a computer. Modern CPUs contain very powerful and complex ALUs. In addition to ALUs, modern CPUs contain acontrol unit (CU). Most of the operations of a CPU are performed by one or more ALUs, which load data from input registers. A register is a small amount of storage available as part of a CPU. The control unit tells the ALU what operation to perform on that data and the ALU stores the result in an output register. The control unit moves the data between these registers, the ALU and memory.How An ALU WorksAn ALU performs basic arithmetic and logic operations. Examples of arithmetic operations are addition, subtraction, multiplication, and division. Examples of logic operations are comparisons of values such as NOT, AND, and OR.All information in a computer is stored and manipulated in the form of binary numbers, i.e. 0 and 1.Transistor switches are used to manipulate binary numbers, since there are only two possible states of a switch: open or closed. An open transistor, through which there is no current, represents a 0. A closed transistor, through which there is a current, represents a 1. Operations can be accomplished by connecting multiple transistors. One transistor can be used to control a second one, in effect turning the transistor switch on or off depending on the state of the second transistor. This is referred to as a gate, because the arrangement can be used to allow or stop a current.The simplest type of operation is a NOT gate. This uses only a single transistor. It uses a single input and produces a single output, which is always the opposite of the input. The figure below shows the logic of the NOT gate.alu not gateOther gates consist of multiple transistors and use two inputs. The OR gate results in a 1 if either the first or the second input is a 1. The OR gate only results in a 0 if both inputs are 0. The figure below shows the logic of the OR gate.alu or gate 

The AND gate results in a 1 only if both the first and second input are 1s. The figure below shows the logic of the AND gate.


alu and gate
The XOR gate results in a 0 if both the inputs are 0 or if both are 1. Otherwise, the result is a 1. The figure below shows the logic of the XOR gate.alu xor gate

The various gates sound a little abstract, but remember that a computer only processes binary data. When you follow the binary logic of these operations, you are starting to think like a computer.