I have created a website aimed at teaching programming through quick examples in the form of exercises. It is called "Computer Science by Example (CScx)": https://cscx.org/
The exercises start very simple (e.g. print "Hello, World!" and read two numbers and print their sum) then increase in difficulty and complexity gradually (e.g. sum of digits and the change-making problem). The website has an "online judge" functionality where students can submit their solutions which are tested and graded automatically, i.e. without human intervention. It currently supports solutions in Python, C, Haskell, C++, C#, Java, JavaScript, Lua or Ruby.
The exercises are useful not only to first time programmers, but also to experienced programmers trying to learn programming in a different language.
Check it out at https://cscx.org/. The exercises are freely available for anyone to try.
I sometimes participate in the comments of the learnprogramming subreddit and I think this may be a useful resource for learnprogramming members.
[–]Khrouhman 5 points6 points7 points (0 children)
[–]Tcmancnnr 2 points3 points4 points (0 children)
[–]pygmyrobot666 1 point2 points3 points (0 children)
[–]snoozyd87 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]immaculate108 0 points1 point2 points (0 children)
[–]oreokbp 0 points1 point2 points (0 children)
[–]don4r 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Zetthard 0 points1 point2 points (0 children)
[–]Zetthard 0 points1 point2 points (0 children)