Electrolytic decomposition: 2H₂O → 2H₂ + O₂ (electrolysis of water).
Decomposition by sunlight: 2AgCl → 2Ag + Cl₂ (silver chloride decomposes in sunlight).
Examiners expect one clear example of each type with a chemical equation. Electrolysis of water is the standard textbook example of electrolytic decomposition; decomposition of AgCl (or AgBr) in sunlight is the standard example of photolytic decomposition. Both are from Chapter 1 of the CBSE Science textbook.