Comp 1011 Assignment 2 (1 Viewer)

cyrax83

discrete is killing me :(
Joined
Nov 18, 2002
Messages
376
Gender
Male
HSC
2003
... ... any ideas ? :( ...

i dont even know where to begin, heck even the specs confuzzled me
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
You need to edit one of the Cluedo files and write the code for the part it tells you.

But how you do that I got N F I.
 

redslert

yes, my actual brain
Joined
Nov 25, 2002
Messages
2,373
Location
Behind You!!
Gender
Male
HSC
2003
i'm soooo lost for this assignment, haven't even read it yet lol

hmmm have to finish other stuff first before doing computers....assignments and maths test next week!

they didn't remove the chat section...i think you have to have a set amount of post before seeing it
 

Constip8edSkunk

Joga Bonito
Joined
Apr 15, 2003
Messages
2,397
Location
Maroubra
Gender
Male
HSC
2003
plenty of time for this after maths, accounting mesdia task, and eh...more maths. yeah the chitchat forum is like a ghost, it sometimes appears sometimes doesnt.... luckily i saved the quake3 paths ;)
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
What the heck is ADT?

Killing someone with a BinaryTree? OMG. LAME
 

enak

Limbo
Joined
Oct 18, 2002
Messages
1,046
Location
Sydney
Gender
Undisclosed
HSC
N/A
Originally posted by Ragerunner
What the heck is ADT?

Killing someone with a BinaryTree? OMG. LAME
A Dead Turtle?
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Has anyone looked at this weeks labs? ITS PISSING ME OFF FFS OMG !@$!Q@$KLW%JSLK#%JSL#%KJS#KL%JS#L%KJKLS#$%J#WL%

It looks easy and I know how to do it, BUT I CAN'T PUT IT INTO CODE.


Say you got this code to find the matches. How do I use it?

findMatches:: AddressBook -> String -> [Address]
findMatches adrDB str =
searchDB adrDB preFixAddr
where prefix [] s = True
prefix (x:xs) (y:ys) = (x == y) && (prefix xs ys)
preFixAddr (Address fn ln _) =
(prefix str fn) || (prefix str ln)
Like how do I feed it a string for it to search the database?
 

redslert

yes, my actual brain
Joined
Nov 25, 2002
Messages
2,373
Location
Behind You!!
Gender
Male
HSC
2003
haha i haven't even done labs for the last 4weeks?!

thank god my tutor doesn't give a crap
 

redslert

yes, my actual brain
Joined
Nov 25, 2002
Messages
2,373
Location
Behind You!!
Gender
Male
HSC
2003
tutor hasn't gotten around to marking my labs yet :)

he marks each person's labs all at once so i have plenty of time
ffs he doesn't even mark people's attendance for tutorials
you don't even have to show up, but the tutorials isn't bad so i go :p
but still i don't want to fall any further behind!

once i finish crappy accounting and maths for this week, it's 100% on computers
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Who's your tutor?

My one is pretty good. David Greenaway....like he gives us 2 hours to complete the lab instead of the normal time :D

Last week it took me 1 hour and 59 minutes to get the first exercise done -__-
 

underthesun

N1NJ4
Joined
Aug 10, 2002
Messages
1,781
Location
At the top of Riovanes Castle
Gender
Undisclosed
HSC
2010
Originally posted by Ragerunner
Who's your tutor?

My one is pretty good. David Greenaway....like he gives us 2 hours to complete the lab instead of the normal time :D

Last week it took me 1 hour and 59 minutes to get the first exercise done -__-
judging on quality based on leniency? my tutor lets you finish everything at home and e-mail it to him :p
 

Lazarus

Retired
Joined
Jul 6, 2002
Messages
5,965
Location
CBD
Gender
Male
HSC
2001
Originally posted by Ragerunner
What the heck is ADT?

Killing someone with a BinaryTree? OMG. LAME
"Abstract Data Type". ;)

I laughed at the weapons arsenal. :D *brandishes his BinaryTree with gusto*
 

enak

Limbo
Joined
Oct 18, 2002
Messages
1,046
Location
Sydney
Gender
Undisclosed
HSC
N/A
Originally posted by Lazarus
"Abstract Data Type". ;)

I laughed at the weapons arsenal. :D *brandishes his BinaryTree with gusto*
I wasn't far off then :p
 

McLake

The Perfect Nerd
Joined
Aug 14, 2002
Messages
4,187
Location
The Shire
Gender
Male
HSC
2002
Originally posted by Ragerunner
Who's your tutor?

My one is pretty good. David Greenaway....like he gives us 2 hours to complete the lab instead of the normal time :D

Last week it took me 1 hour and 59 minutes to get the first exercise done -__-
David Greenaway is my good friend. He is really nice to his students ....

Maybe I should come by and say hi ...
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Yes you can! I got him tomorrow lab at 12:00pm at PIPE. You can come solve my haskell lab exercise for me muahah :D

Laz, are you gonna be my tutor for next year COMP2041 if I transfer to it?

If so that's gonna feel sooooooooooooo weird haha :D
 

McLake

The Perfect Nerd
Joined
Aug 14, 2002
Messages
4,187
Location
The Shire
Gender
Male
HSC
2002
Originally posted by Ragerunner
Yes you can! I got him tomorrow lab at 12:00pm at PIPE. You can come solve my haskell lab exercise for me muahah :D
See you there. I'll see about helping you with Haskell (tries to vainly rememeber some)
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
YAY!!!

Ok back to this topic....Someone help me START this assignment....I mean I don't have a CLUE what to put as my first line of code.... :cries:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top