I would add the basic one. The one in C/C++ in GNU/Linux

main()
{
srand(time(NULL));
printf("%d",rand()%10); //prints a random number between 0 and 10(both exclusive)
}

Turbo/Borland C++

main()
{
randomize();
cout<<random(10);
}