Hi...
How behaviors like throwing the eggs of host out  by Cuckoo is coded on
genes?
or other similar behaviors...
please help me understand...

Thanks.

these are called instinctive behaviours. Search the site (top right hand box) and see:
http://www.askabiologist.org.uk/answers … hp?id=4791