From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c5279869421541e3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-29 08:45:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed.vmunix.org!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ada Excercises Date: Wed, 29 May 2002 15:45:46 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3CF4CAD2.2050206@yahoo.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1022687146 18772 129.241.83.82 (29 May 2002 15:45:46 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 29 May 2002 15:45:46 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:24937 Date: 2002-05-29T15:45:46+00:00 List-Id: On Wed, 29 May 2002 14:34:26 +0200, David Rasmussen wrote: > I have been reading several tutorial documents on Ada, just to get a > feel for it. Now I would like to get my fingers in some code to apply > what I have read. Is there a tutorial with excercises somewhere, or just > plain excercises? Exercise: Read and extend the program you find here: http://adahome.com/Tutorials/Lovelace/small.htm Task: Try implement a "eat X" and "drink X" function that only works on the correct objects. If you don't want to do that then either do the exercises in: http://www.it.bton.ac.uk/staff/je/adacraft/ for each chapter. or Make some small programs. you learn a lot that way. Especially about designing. Hint make the .ads files first and use gnatstub to generate the .adb files. If you start a small program, then I recommend you make one that is simple. I mean don't start with a GUI program etc... Of course this depends on your experience as a programmer which I have no knowlegde of. Hope it helps. Preben