Computer Science Canada

Confused about modules assignment

Author:  Tallguy [ Fri Apr 03, 2009 12:41 pm ]
Post subject:  Confused about modules assignment

Okay so i just got my new assignment and noone knows wat its about, lol

but it does mention compsci.ca in it .. .

any ideas?

Mod edit: Made title more appropriate.

Author:  apomb [ Fri Apr 03, 2009 12:56 pm ]
Post subject:  RE:Say What???

oops - EDIT - mistook this thread for that other "say whaaaaatt???" one... sorry

Author:  blankout [ Fri Apr 03, 2009 3:56 pm ]
Post subject:  Re: Say What???

wow ! that is complicated

Author:  saltpro15 [ Fri Apr 03, 2009 4:08 pm ]
Post subject:  RE:Say What???

a pdf, seriously? Neutral why doesn't your teacher just use .txt like the rest of the sane world. But yeah i have no idea what that's about, good luck

Author:  [Gandalf] [ Fri Apr 03, 2009 5:48 pm ]
Post subject:  RE:Say What???

Seems reasonable enough. Nice that they're referring to CompSci.ca directly. Smile

Which part are you having trouble understanding? It sounds like you should have gone over many of these ideas in class.

Author:  Tallguy [ Sat Apr 04, 2009 9:20 am ]
Post subject:  RE:Confused about modules assignment

basically i have no idea what its asking me to do, i was hoping that someone could just break it down so i and others can understand it . . .

Author:  andrew. [ Sat Apr 04, 2009 4:47 pm ]
Post subject:  RE:Confused about modules assignment

Basically, you have to choose two things from your sequential files assignment and turn them into modules. A module is the .tu files that are in the Turing folders. Just look at one to see how to make a module. Basically, there are procedures or functions in there that can be exported to the program calling the procedure or function from the module. So you would make your common tasks into procedures and put those inside your .tu file. Then you would import the .tu file in your main program (.t file). When you import you can use the procedures inside you .tu file. I hope that helps.


: