The List exercises for example are more complicated in languages like C that don’t have build-in support for lists. The difficulty of the exercises of course somewhat depends on the programming language you use. Except for the GUI questions, exercises are generally algorithmic and should be solvable without learning any libraries. It will be extended as I come up with new exercises. This page is a collection of progressively more difficult exercises that are suitable for people who just started learning. Problems from Project Euler and the like are usually much too difficult for beginners, especially if they don’t have a strong background in mathematics. It's just three circles.Whenever I’m TA for a introductory CS class where students learn some programming language, I have trouble coming up with good exercises. Great! You should see the real projects then - I bet you'll like them even more (hover the 'Samples' meny)."Ģ420 IF A = "5" THEN PRINT "Five! Seriously. Check out some of the real projects - you will not be disappointed (hover the 'Samples' meny)."Ģ410 IF A = "4" THEN PRINT "You gave it a four. So, so? Well this is just the welcome project. You will see drawing on the canvas, user input/output, and in the program are examples of most of the supported BASIC commands."Ģ310 PRINT "Three circles, how cool is that?"Ģ340 IF A = "1" OR A = "2" OR A = "3" OR A = "4" OR A = "5" THEN GOTO 2370Ģ380 IF A = "1" THEN PRINT "Just one? OK, well you should try some of the real projects - they are actually pretty cool (hover the 'Samples' meny)."Ģ390 IF A = "2" THEN PRINT "Just two? OK, well you should try some of the real projects - they are actually pretty cool (hover the 'Samples' meny)."Ģ400 IF A = "3" THEN PRINT "Three. 2010 PRINT "This BASIC program is just a sample of things you can do with Quite BASIC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |