If you
are science student then it will be the easiest subject for you. Don't
panic if you can't find logic. I was scared of this subject but got 96
out of 100. It is really easy, read throughly Sumita Arora book
only. The subject is somehow logical therefore Guides are never
preffered by students. Try to grasp the logic and practice it on
regularly basis.
Install a compiler (and possible IDE) . A compiler is required to because the actual source code need to be compiled into a file that your computer can run. After the successful installation of the compiler start practicing some basic programs like a program to find whether the number is prime or not , printing patterns , string code , arrays etc.
practicing above programs will make you understand the execution of the code.
There is a lot of stuff available online which you can use to learn better .
For logic improvement the only trick is "spend a good amount of time with the problem and think of it's logic". If then also you are unable to hit the logic then simply google it. At starting thinking of logic may take a long time . But as you will move forward things will be easy to understand . Don't be in a hurry , learning things takes time.
Install a compiler (and possible IDE) . A compiler is required to because the actual source code need to be compiled into a file that your computer can run. After the successful installation of the compiler start practicing some basic programs like a program to find whether the number is prime or not , printing patterns , string code , arrays etc.
practicing above programs will make you understand the execution of the code.
There is a lot of stuff available online which you can use to learn better .
For logic improvement the only trick is "spend a good amount of time with the problem and think of it's logic". If then also you are unable to hit the logic then simply google it. At starting thinking of logic may take a long time . But as you will move forward things will be easy to understand . Don't be in a hurry , learning things takes time.