This thread has a generic name because it will be of little interest to the majority of J readers (and Roger wont create a novice list, cough cough :).
I plan to post each new chapter assessment test as I go back through all the chapters in "Learning J", but no need for a new thread for each chapter... this way uninterested parties can simply kill the whole thread easily. On 6/23/07, Raul Miller <[EMAIL PROTECTED]> wrote:
On 6/23/07, Terrence Brannon <[EMAIL PROTECTED]> wrote: > I think my chapter 1 assessment test is thorough, but if anyone thinks > some more should be added to it: > > http://hg.metaperl.com/j/?f=0561d26adfc5;file=doc/book-notes/learning-j/1.txt > > then I am all ears. 1.2 "Two ways to compute the square of a number:" *~ ^&2 *: (]+^:[0:) I'm sure I could come up with more
yes, I have changed the wording to: Two ways to compute the square of a number, one of which must be monadic. I want to make sure that *: is used.
1.3 I'm not sure what this means to you "Function:" I would consider / a function "Value:" in some contexts + could be a value (or an argument).
yes, this whole section is rather non-J if you think about it. function is really a verb. argument is really noun. application and value are OK terms. Added wording: Please be aware that function and argument are not commonly used when discussing J. The terms "verb" and "noun" (a.k.a. array) will be introduced later.
1.11 Some of your other terminology also seems odd, to me. For example, I figured out that by "formal name" you mean the J primitive (+ for example),
Section 1.11 of http://www.jsoftware.com/help/learning/01.htm describes formal and informal name. The informal name for + is Plus.
But what does "family size" mean?
verbs in J come in a family size of 6. (monad, dyad) * (plain, dot, colon) = 6 possibilities. Concretely: monadic + +. +: together with dyadic + +. +: form a family of 6 related verbs which all do about the same thing. The sections in the assessment test relate to section in the text, so it is always easy to go see what I mean.
Also, I see other ambiguities similar to your "two ways to square a number" question. For example "Add 1 to 7 monadically" 1&+ 7 >: 7 [EMAIL PROTECTED] 1 1&p.7
oh, yes, well this is chapter 1 and Bond has not been introduced yet. Nor has Atop. So pretty much any new reader will only choose >: 7 Thanks for the feedback. It is now integrated - http://hg.metaperl.com/j?f=9aae039d36b6;file=doc/book-notes/learning-j/1.txt -- J IRC Channel irc://irc.freenode.org/jsoftware ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
