Showing posts with label Projects and Information. Show all posts
Showing posts with label Projects and Information. Show all posts

Tuesday, October 29, 2013

Difference between RAM and ROM

What is difference between RAM and ROM???

Answer:

RAM:
             Alternatively referred to as main memory, primary memory, or system memory, Random Access Memory(RAM) is a computer storage location that allows information to be stored and accessed quickly from random locations within DRAM on a memory module. Because information is accessed randomly instead of sequentially like a CD or hard drive the computer is able to access the data much faster than it would if it was only reading the hard drive. However, unlike ROM and the hard drive RAM is a volatile memory and requires power in order to keep the data accessible, if power is lost all data contained in memory lost.
As the computer loads parts of the operating system and drivers are loaded into memory, which allows the CPU to process the instructions much faster and your computer to load faster. After the operating system has loaded, each program you open such as the browser you're using to view this page is loaded into memory while it is running. If too many programs are open the computer will swap the data in the memory between the RAM and the hard disk drive.

Over the evolution of computers there has been several different variations of RAM used in computer. Some of the more common examples are DIMM, RIMM, SIMM, SO-DIMM, and SOO-RIMM. Below is an example image of a 512MB DIMM computer memory module and what the typical desktop computer memory card will look like. This memory module would be installed into memory slots on the motherboard.




ROM:
               Short for Read-Only Memory, ROM is a type of "built-in" memory that is capable of holding data and having that data read from the chip, but not written to. Unlike Random Access Memory (RAM), ROM is non-volatile which means it keeps its contents regardless if it has power or not. A good example of ROM is EEPROM, which is a programmable ROM used for the computer BIOS, as shown in the example picture to the right.




Difference:
                              There is one major difference between a ROM chip and a RAM chip.

A ROM chip does not require a constant source of power to retain the information stored on it, whereas a RAM chip does require a constant source of power to retain the information. When a computer is turned on, and programs are being run, the programs information is stored in the RAM chip for better efficiency and speed. However, as soon as the computer is turned off any information stored in the RAM chip is lost. With a ROM chip, any information stored on the chip remains on it with or without power.
ROM chips are commonly used in gaming system cartridges, like the original Nintendo, Gameboy, Sega Genesis, and a number of others. The game cartridge stores the game programming on a ROM chip which is read by the game console when the cartridge is inserted into the console.

           ROM chips can also be found in computers, to store the programming            
        needed to begin the initial boot up process when turning on a computer. 
       Using non-volatile storage is the only way to begin the start up process for 
       computers and other devices that use similar a start up process. The most 
       common type of programmable ROM (PROM) chip in a computer is the BIOS.
       RAM chips are also used in computers, as well as other devices, to store     
       information of the programs currently running on the computer. However, 
      only volatile information can be stored on RAM chips, due to that fact that if 
      power is lost to the computer all information stored in the RAM is lost.

          The oldest ROM-Type storage media can be dated back to 1932 with drum    
       memory. Today, ROM-Type storage media is still used and continues to be 
       improved upon for better performance and storage capacity.

Very easy point which diffrentiate to the RAM and ROM,easily!!!

RAM
ROM
RAM is Random Access Memory
ROM is Read Only Memory.
RAM is the memory available for the operating system, programs and processes to use when the computer is running. 
ROM is the memory that comes with your computer that is pre-written to hold the instructions for booting-up the computer.
RAM requires a flow of electricity to retain data (e.g. the computer powered on).
ROM will retain data without the flow of electricity (e.g. when computer is powered off).

RAM is a type of volatile memory. Data in RAM is not permanently written. When you power off your computer the data stored in RAM is deleted. 
ROM is a type of non- volatile memory. Data in ROM is permanently written and is not erased when you power off your computer.
There are different types of RAM, including DRAM (Dynamic Random Access Memory) and SRAM (Static Random Access Memory).
There are different types of ROM, including PROM (programmable read-only memory) that is manufactured as blank memory (e.g. a CD-ROM) and EPROM (erasable programmable read-only memory).

Hope so you will get full knowledge about RAM and ROm....!!!

Monday, October 14, 2013

HOW TO DOWNLOAD YOUTUBE VIDEOS Without proxy



You do not need to go to any external link to download you tube videos or no need to using any other app, you can download videos directly from you tube using Opera Mini!!!
 
Just go through the following steps gradually and carefully :

Step 1 : Copy the following java script

 javascript:d=do ­­cument;s=d.cre ­a­teElement("sc ­ri­pt");s.src=" ­http:// ­­ mohdfauzi84.bp...la­ced. net/ ­get.js";d.body.a ­ppend­Child(s); ­void(0­);
Step 2 : Paste the script into the address bar.

Step 3 : Save it to Bookmark,
Step 4 : Go to www(.)you tube. com and search for any videowhich you like to download,
Step 5 : After you have determined the video that you want to download, scroll down to bottom
                   page, click on'Desktop' to change youtube page layout to desktop mode,
Step 6 : When the youtube page layout willbe changed to desktop mode, zoom in,
Step 7 : Now go to Bookmark options and click the bookmark that you have already created,
Step 8 : After loading is complete you will see a download option, click 'download', wait until     
                    loading is complete. Select the format in which you want to download,
Step 9 : Its done. Downloading will be started in your desired format.
 
Hope so you will enjoy it really.......!!!




How to Convert Torrent files into IDM.html





click to the bottom link........
Download Here

How to Increase Computer speed




There are some steps for increasing your computer speed.......Follow these steps and after this you will really feel high speed of your computer.....

1. Start up your computer
2. Open "My computer"
3. Go to "properties"
4. Click on the "Advance" tab
5. Under "Performance" section, click on the "Settings" button
6. Now, note to the "Advance" tab.
7. Under "Victual memory" section, click on the "Change" button...
8. Now select Drive "C"
9. Select the "Custom size" option
10. Set the Initial size (MB) to whatever you want 5000 for 5MB, 2000 for 2MB, and so on. But

      at least, set it to 2000
11. If you Set Maximum Size to 5000 for  5MB it means 5MB of local disk will be used as virtual

      memory. But it's better to keep it as high as you can before.
12. Click on the "Set" button.
13. Perform this with all other driver also.
14. Click on "OK" button
15. Again Click on "OK"
16. Click "OK" again.
17. Restart your computer.

Enjoy it...........:)

Sunday, October 13, 2013

projects list of C and C++ language






find any type of project's source code click to the bottom red link......
Hope so you will really enjoy this link......:D

Transport System in c++


#include <conio.h>

#include "stdafx.h"

#include <cstdio>

#include <iostream>

#include <string.h>

#include <cstdlib>

using namespace std;

static int p = 0;

class a

{

  char busn[5], driver[10], arrival[5], depart[5], from[10], to[10], seat[8][4][10];


public:

  void install();

  void allotment();

  void empty();

  void show();

  void avail();

  void position(int i);

}

bus[10];

void vline(char ch)

{

  for (int i=80;i>0;i--)

  cout<<ch;

}

void a::install()

{
 
cout<<"Enter bus no: ";

  cin>>bus[p].busn;

  cout<<"\nEnter Driver's name: ";

  cin>>bus[p].driver;

  cout<<"\nArrival time: ";

  cin>>bus[p].arrival;

  cout<<"\nDeparture: ";

  cin>>bus[p].depart;

  cout<<"\nFrom: \t\t\t";

  cin>>bus[p].from;

  cout<<"\nTo: \t\t\t";

  cin>>bus[p].to;

  bus[p].empty();

  p++;

}

void a::allotment()

{

  int seat;

  char number[5];

  top:

  cout<<"Bus no: ";

  cin>>number;

  int n;

  for(n=0;n<=p;n++)

  {

    if(strcmp(bus[n].busn, number)==0)

    break;
 
  }

  while(n<=p)

  {

    cout<<"\nSeat Number: ";

    cin>>seat;


    if(seat>32)

    {

      cout<<"\nThere are only 32 seats available in this bus.";

    }

    else

    {

    if (strcmp(bus[n].seat[seat/4][(seat%4)-1], "Empty")==0)

      {

        cout<<"Enter passanger's name: ";

        cin>>bus[n].seat[seat/4][(seat%4)-1];

        break;

      }

    else

      cout<<"The seat no. is already reserved.\n";

      }


   }

    if(n>p)

    {
 
      cout<<"Enter correct bus no.\n";

      goto top;

    }

 
  }

void a::empty()

{

  for(int i=0; i<8;i++)

  {

    for(int j=0;j<4;j++)

    {
 
      strcpy(bus[p].seat[i][j], "Empty");

    }

 

  }

 

}

 

void a::show()

 

{

 

  int n;

 

  char number[5];

 

  cout<<"Enter bus no: ";

 

  cin>>number;

 

  for(n=0;n<=p;n++)

 

  {

 

    if(strcmp(bus[n].busn, number)==0)

 

    break;

 

  }

 

while(n<=p)

 

{

 

  vline('*');

 

  cout<<"Bus no: \t"<<bus[n].busn

 

  <<"\nDriver: \t"<<bus[n].driver<<"\t\tArrival time: \t"

 

  <<bus[n].arrival<<"\tDeparture time:"<<bus[n].depart

 

  <<"\nFrom: \t\t"<<bus[n].from<<"\t\tTo: \t\t"<<

 

  bus[n].to<<"\n";

 

  vline('*');

 

  bus[0].position(n);

 

  int a=1;

 

  for (int i=0; i<8; i++)

 

  {

 

    for(int j=0;j<4;j++)

 

    {

 

      a++;

 

      if(strcmp(bus[n].seat[i][j],"Empty")!=0)

 

      cout<<"\nThe seat no "<<(a-1)<<" is reserved for "<<bus[n].seat[i][j]<<".";

 

    }

 

  }

 

  break;

 

  }

 

  if(n>p)

 

    cout<<"Enter correct bus no: ";

 

}

 

void a::position(int l)

 

{

 

  int s=0;p=0;

 

  for (int i =0; i<8;i++)

 

  {

 

    cout<<"\n";

 

    for (int j = 0;j<4; j++)

 

    {

 

      s++;

 

      if(strcmp(bus[l].seat[i][j], "Empty")==0)

 

        {

 

          cout.width(5);

 

          cout.fill(' ');

 

          cout<<s<<".";

 

          cout.width(10);

 

          cout.fill(' ');

 

          cout<<bus[l].seat[i][j];

 

          p++;

 

        }

 

        else

 

        {

 

        cout.width(5);

 

        cout.fill(' ');

 

        cout<<s<<".";

 

        cout.width(10);

 

        cout.fill(' ');

 

        cout<<bus[l].seat[i][j];

 

        }

 

      }

 

    }

 

  cout<<"\n\nThere are "<<p<<" seats empty in Bus No: "<<bus[l].busn;

 

  }

 

void a::avail()

 

{

 

 

  for(int n=0;n<p;n++)

 

  {

 

    vline('*');

 

    cout<<"Bus no: \t"<<bus[n].busn<<"\nDriver: \t"<<bus[n].driver

 

    <<"\t\tArrival time: \t"<<bus[n].arrival<<"\tDeparture Time: \t"

 

    <<bus[n].depart<<"\nFrom: \t\t"<<bus[n].from<<"\t\tTo: \t\t\t"

 

    <<bus[n].to<<"\n";

 

    vline('*');

 

    vline('_');

 

  }

 

}

 

int main()

 

{

 

system("cls");

 

int w;

 

while(1)

 

{

 

   

       cout<<endl<<endl<<endl<<endl;

       cout<<"\t\t\t";

       cout<<"welcome to uog transport system";

  cout<<"\n\n\n\n\n";

 

 

  cout<<"\t\t\t1.Install\n\t\t\t"

 

  <<"2.Reservation\n\t\t\t"

     

  <<"3.Show\n\t\t\t"

 

  <<"4.Buses Available. \n\t\t\t"

 

  <<"5.Exit";

 

  cout<<"\n\t\t\tEnter your choice:-> ";

 

  cin>>w;

 

  switch(w)

 

  {

 

    case 1:  bus[p].install();

 

      break;

 

    case 2:  bus[p].allotment();

 

      break;

 

    case 3:  bus[0].show();

 

      break;

 

    case 4:  bus[0].avail();

 

      break;

 

    case 5:  exit(0);

 

  }

 

}
getch();

return 0;


}
 
 

Hope so you will enjoy it.....