I just started using Windows 8 and Office 365 and would like to send good looking boxes. Any ideas. I sent the entire code earlier and you can run it to see the boxes looking good.
Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Linda Alvord Sent: Wednesday, November 12, 2014 11:40 AM To: [email protected] Subject: Re: [Jbeta] Alphabet Challenge Here's what is in grade 2 in J TECHa(at the end): I know : X, C, O, L, U, N and Z can be made but would like to see your strategy. Others would be useful. Base answers on (i.11)+/i.11 size. load 'viewmat' GRB=:1 0 2{"1 (#:i.8){0 255 monads=: 13 :''' '';"1(>;:y);"1 ''y'';"1 x' dyads=: 13 :'''x'';"1(>;:y);"1 ''y'';"1 x' ]M=:'i. >: |. ] $ > < ;:' i. >: |. ] $ > < ;: $M 19 ]MO=:'MONAD' monads M --T--T-T-----┐ │ │i.│y│MONAD│ +-+--+-+-----+ │ │>:│y│MONAD│ +-+--+-+-----+ │ │|.│y│MONAD│ +-+--+-+-----+ │ │] │y│MONAD│ +-+--+-+-----+ │ │$ │y│MONAD│ +-+--+-+-----+ │ │> │y│MONAD│ +-+--+-+-----+ │ │< │y│MONAD│ +-+--+-+-----+ │ │;:│y│MONAD│ L-+--+-+------ $MO 8 4 ]A=:'+ - <. >. ?' + - <. >. ? $A 11 ]AR=:'ARITH' dyads A --T--T-T-----┐ │x│+ │y│ARITH│ +-+--+-+-----+ │x│- │y│ARITH│ +-+--+-+-----+ │x│<.│y│ARITH│ +-+--+-+-----+ │x│>.│y│ARITH│ +-+--+-+-----+ │x│? │y│ARITH│ L-+--+-+------ $AR=:'ARITH' dyads A 5 4 ]L=:'= ~: < <: > >: +. *. -:' = ~: < <: > >: +. *. -: $L 23 ]LO=:'LOGIC' dyads L --T--T-T-----┐ │x│= │y│LOGIC│ +-+--+-+-----+ │x│~:│y│LOGIC│ +-+--+-+-----+ │x│< │y│LOGIC│ +-+--+-+-----+ │x│<:│y│LOGIC│ +-+--+-+-----+ │x│> │y│LOGIC│ +-+--+-+-----+ │x│>:│y│LOGIC│ +-+--+-+-----+ │x│+.│y│LOGIC│ +-+--+-+-----+ │x│*.│y│LOGIC│ +-+--+-+-----+ │x│-:│y│LOGIC│ L-+--+-+------ $LO 9 4 O=:'$ #' $O 3 ]OT=:'OTHER' dyads O --T-T-T-----┐ │x│$│y│OTHER│ +-+-+-+-----+ │x│#│y│OTHER│ L-+-+-+------ $OT 2 4 $MO 8 4 $AR 5 4 $LO 9 4 ]VERBS=:MO,AR,LO,OT --T--T-T-----┐ │ │i.│y│MONAD│ +-+--+-+-----+ │ │>:│y│MONAD│ +-+--+-+-----+ │ │|.│y│MONAD│ +-+--+-+-----+ │ │] │y│MONAD│ +-+--+-+-----+ │ │$ │y│MONAD│ +-+--+-+-----+ │ │> │y│MONAD│ +-+--+-+-----+ │ │< │y│MONAD│ +-+--+-+-----+ │ │;:│y│MONAD│ +-+--+-+-----+ │x│+ │y│ARITH│ +-+--+-+-----+ │x│- │y│ARITH│ +-+--+-+-----+ │x│<.│y│ARITH│ +-+--+-+-----+ │x│>.│y│ARITH│ +-+--+-+-----+ │x│? │y│ARITH│ +-+--+-+-----+ │x│= │y│LOGIC│ +-+--+-+-----+ │x│~:│y│LOGIC│ +-+--+-+-----+ │x│< │y│LOGIC│ +-+--+-+-----+ │x│<:│y│LOGIC│ +-+--+-+-----+ │x│> │y│LOGIC│ +-+--+-+-----+ │x│>:│y│LOGIC│ +-+--+-+-----+ │x│+.│y│LOGIC│ +-+--+-+-----+ │x│*.│y│LOGIC│ +-+--+-+-----+ │x│-:│y│LOGIC│ +-+--+-+-----+ │x│$ │y│OTHER│ +-+--+-+-----+ │x│# │y│OTHER│ L-+--+-+------ $VERBS 24 4 ]NM=:,.;:'Integers Increments Reverse Same ShapeOf Open Box Words' -----------┐ │Integers │ +----------+ │Increments│ +----------+ │Reverse │ +----------+ │Same │ +----------+ │ShapeOf │ +----------+ │Open │ +----------+ │Box │ +----------+ │Words │ L----------- $NM 8 1 ]NA=:,.;:'Plus Minus Minimum Maximum Deal' --------┐ │Plus │ +-------+ │Minus │ +-------+ │Minimum│ +-------+ │Maximum│ +-------+ │Deal │ L-------- $NA 5 1 ]NL=:,.;:'Equal NotEqual LessThan LessOrEqual LargerOf LargerOrEqual Or And Match' --------------┐ │Equal │ +-------------+ │NotEqual │ +-------------+ │LessThan │ +-------------+ │LessOrEqual │ +-------------+ │LargerOf │ +-------------+ │LargerOrEqual│ +-------------+ │Or │ +-------------+ │And │ +-------------+ │Match │ L-------------- $NL 9 1 ]NO=:,.;:'SHAPE Cop' ------┐ │SHAPE│ +-----+ │Cop │ L------ ]NO=:,.;:'Shape Copy' ------┐ │Shape│ +-----+ │Copy │ L------ $NO 2 1 ]NAMES=:NM, NA, NL, NO --------------┐ │Integers │ +-------------+ │Increments │ +-------------+ │Reverse │ +-------------+ │Same │ +-------------+ │ShapeOf │ +-------------+ │Open │ +-------------+ │Box │ +-------------+ │Words │ +-------------+ │Plus │ +-------------+ │Minus │ +-------------+ │Minimum │ +-------------+ │Maximum │ +-------------+ │Deal │ +-------------+ │Equal │ +-------------+ │NotEqual │ +-------------+ │LessThan │ +-------------+ │LessOrEqual │ +-------------+ │LargerOf │ +-------------+ │LargerOrEqual│ +-------------+ │Or │ +-------------+ │And │ +-------------+ │Match │ +-------------+ │Shape │ +-------------+ │Copy │ L-------------- $NAMES 24 1 GR1=:'********',16$' ' GR2=:24$'*' ]GR=:<"0 GR1,.GR2 --T-┐ │*│*│ +-+-+ │*│*│ +-+-+ │*│*│ +-+-+ │*│*│ +-+-+ │*│*│ +-+-+ │*│*│ +-+-+ │*│*│ +-+-+ │*│*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ +-+-+ │ │*│ L-+-- $GR 24 2 ]ALL=:NAMES,"1 VERBS,"1 GR --------------T-T--T-T-----T-T-┐ │Integers │ │i.│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Increments │ │>:│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Reverse │ │|.│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Same │ │] │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │ShapeOf │ │$ │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Open │ │> │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Box │ │< │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Words │ │;:│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Plus │x│+ │y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Minus │x│- │y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Minimum │x│<.│y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Maximum │x│>.│y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Deal │x│? │y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Equal │x│= │y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │NotEqual │x│~:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LessThan │x│< │y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LessOrEqual │x│<:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LargerOf │x│> │y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LargerOrEqual│x│>:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Or │x│+.│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │And │x│*.│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Match │x│-:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Shape │x│$ │y│OTHER│ │*│ +-------------+-+--+-+-----+-+-+ │Copy │x│# │y│OTHER│ │*│ L-------------+-+--+-+-----+-+-- $ALL 24 7 ]NAMES2=:,.>NAMES Integers Increments Reverse Same ShapeOf Open Box Words Plus Minus Minimum Maximum Deal Equal NotEqual LessThan LessOrEqual LargerOf LargerOrEqual Or And Match Shape Copy ]FINAL=:NAMES2 /:~ ALL --------------T-T--T-T-----T-T-┐ │And │x│*.│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Box │ │< │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Copy │x│# │y│OTHER│ │*│ +-------------+-+--+-+-----+-+-+ │Deal │x│? │y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Equal │x│= │y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Increments │ │>:│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Integers │ │i.│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │LargerOf │x│> │y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LargerOrEqual│x│>:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LessOrEqual │x│<:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │LessThan │x│< │y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Match │x│-:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Maximum │x│>.│y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Minimum │x│<.│y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Minus │x│- │y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │NotEqual │x│~:│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Open │ │> │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Or │x│+.│y│LOGIC│ │*│ +-------------+-+--+-+-----+-+-+ │Plus │x│+ │y│ARITH│ │*│ +-------------+-+--+-+-----+-+-+ │Reverse │ │|.│y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Same │ │] │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Shape │x│$ │y│OTHER│ │*│ +-------------+-+--+-+-----+-+-+ │ShapeOf │ │$ │y│MONAD│*│*│ +-------------+-+--+-+-----+-+-+ │Words │ │;:│y│MONAD│*│*│ L-------------+-+--+-+-----+-+-- $FINAL 24 7 GRB=:1 0 2{"1 (#:i.8){0 255 ]X=:-.(|.A)+.A=:=/~i.11 0 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 0 GRB viewmat X ]C=:*(|.A)*.A=:<./~i.11 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 GRB viewmat C -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Linda Alvord Sent: Monday, November 10, 2014 12:34 PM To: [email protected] Subject: [Jbeta] Alphabet Challenge During Grade 2 in J TECH students should be able to make at least the following list of letters: X, C, O, L, U, N and Z. I'll be happy to know if you can make others as well. You may only use the verbs that are in the Grade 1 and Grade 2 curriculum (previous message): Please add your letters to this list and don't hesitate to add a different way to create the ame letter. Rules: Check the handbook to be sure you are only using appropriate verbs from the final summary. Here's a start to the file: load 'viewmat' GRB=:1 0 2{"1 (#:i.8){0 255 ]X=:-.(|.A)+.A=:=/~i.11 GRB viewmat X ]C=:*(|.A)*.A=:<./~i.11 GRB viewmat C Have fun. Second grade should be! Linda ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
