Re: TIB: Infinant requesting on ti-89 basic
[Prev][Next][Index][Thread]
Re: TIB: Infinant requesting on ti-89 basic
Hey, thanks to Dave and PJ for your help!
I am starting to create the program now, i should be done in about 2-3
days. PJ's Idea was good, but i prefer Daves first suggestion, because
i have more flexability. I will be able to show the answer to the
question if they get it wrong.
I am also looking for someone to team up with me on creating bomberman
basic for the ti-89. I have allready started it, but i have some
problems with moving around the screen and the random box placing, if
you are interested, email me, or add me to
yahoo pager: cassetti
ICQ: 13131892
i am usually online at 3:30 in the afternoon (eastern time) and around
7:30 (est.time
mon-fri
PJChaser@aol.com wrote:
>
>
> I know, but what better way to make sure that all questions are
asked in a
> random order? Assuming he wants all the questions asked, and
doesn't want
> them to be repeated.
> PJC II
>
> > I don't think he was requesting a way to randomize the matrix, but
rather a
> > way to have the questions asked randomly, in which case you'd
simply pull a
> > random question and it's counterpart answer from the matrix to ask.
> >
> > ~Dave <the_regul8r@bigfoot.com>
> >
> >
> > >> What are the commands that i would use??
> > >> I need to know for a program that will be a study guide. This
program
> > >> (for the 89) will ask for a question and the answer to the
questions
> > >> and then it will randomly ask you the questions you answered
( to help
> > >> you study)
> > >
> > >Prompt the user to enter the number of items, store this number
to x, and
> > then
> > >create a matrix NewMat(2,x)->variable and then make a For loop
from i=one
> > to
> > >i=x, and inside the loop, (assuming you'll be using a matrix or
data
> > variable)
> > >just read in the question and store it to variable[1,i] and then
the
> answer
> > >and store this to variable[2,x]. To randomize, use another for
loop from
> > i=1
> > >to i=x, store a random integer between 1 and x to y, and then swap
> > >variable[1,i] with variable[1,y] and swap variable[2,i] with
> variable[2,y].
> > >That's not the fastest way to randomize, but it's the easiest to
> understand
> > >and has the shortest code. If you want a faster, high tech
algorithm just
> > ask
> > >and I'll think something up for you.
> > >PJC II
>
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com