Cloudwerx interview question

Batch class scenario and needs to write batch class