The one that contains ionic bonding would be B
In writing chemical reactions, it is important that you know the chemical formula of each substance and in balancing them, it should be that the number of each element in both side are equal.
2K(s) + 2H2O(l) = 2KOH(aq) + H2(g)
Sodium oxide + Water= Sodium hydroxide