I suggest you to go under some Post Secondary course in Computer field.
About gap as u said you're already rejected in may session it means you are in process from long time.
For eg- you take 4 months for ielts prepapration and 1 month waited for ielts certificate and 2 months for file preparation and rejected in may and then again you're in process of new file...
So, from the above time span your 7 months gap is clear as you're in process and 5 months gap is not a big issue.
Most importanty, some members of the forum advise not to change the course if u rejected once, apply with the same course adding a strong convincing SOP in your file.
Add SOP stating that how this course will help you in your future? and why you want only this course? and also some more information which can really convince VO.
Recently a member of this forum - Majith got visa in his third attempt, I think he also rejected twice for the course mismatch reason but he again applied 3rd time with the same course and adds a strong SOP and Recommendation letter from the college where he got admission.
I suggest you to contact him and ask for the SOP and Recommendation letter from your college.