How to register activation hook and deactivation hook for plugin?

Using register_activation_hook we can register the activaton hook.
/* Plugin Activation Hook Here */

function avg_point_activation(){
global $wpdb;
}
register_activation_hook(__FILE__, ‘avg_point_activation’);

Using register_deactivation_hook we can register the deactivaton hook.

/* Plugin Deactivate Hook Here */
function avg_point_deactivation(){
}
register_deactivation_hook(__FILE__, ‘avg_point_deactivation’);

Using register_uninstall_hook we can register the uninstall hook.

/* Plugin Uninstall Hook Here */
register_uninstall_hook(__FILE__, ‘avg_point_uninstall’);

function avg_point_uninstall(){
}