+ 1
Can someone advice me in choosing simple exercises to teach someone Java?
I want help a friend in learning Java, she already knows a lot about syntax, but her problem is she can't think of a logic to solve problems, so I have given her many simple exercises and we discussed it and solve together and she could understand them, but then when I gave her a quiz she couldn't solve some problems :( I'm disappointed and I wish I find the best way to improve her logic in solving problems. I hope someone can give advice for how can I do that, thanks a lot! 💙
8 odpowiedzi
+ 13
follow the Java course of Sololearn
+ 2
hmm... I know she wouldn't like start from beginning from pseudo codes, I wish she would like that 😓 I believe it can solve her problem
Well, Thank you so much Sami 😊
+ 1
she lacks practice and to solve some programs u should know what's the logic behind it.. i.e the algorithm.. so for every question u give her, explain her a bit of what exactly you want her to do with the coding..
for example: if u give her a program to write for leap year.. then she should know the conditions at which the leap year takes place.. and then she can easily code it and also if she is aware of the syntax
+ 1
@Sami Khan that's what I exactly did! but it still not perfect with her =( I always give questions and explaining what to do ( the three basic things which are input, process, output ) and I let her create her own algorithm and use her own logic, but she ends with wrong one.. 😭
+ 1
first let her pas through basic concepts and Syntex then tall her to find simple practice programs and ask to get the logic behind them and then have some practice
+ 1
so leave programming right now.. take some real life examples and make pseudo codes.. and tell her these are the ways how things performed..
for example: tell her about a robot, how does it performs certain task.. it always has few options but it has to choose the right one to perform as per the given input.. and make her mind think logical at every instance.. and for some real example make a algorithm.. and then break the algorithm into pieces of code and then combine it to form a program..
try pictorial representation and let her do much more programs of her own.. let her copy some programs and tell her to run it.. and understand it how the program flows
+ 1
np ^_^
+ 1
the simplest thing I can think of is building a calculator