SpiralFlex
Well-Known Member
- Joined
- Dec 18, 2010
- Messages
- 6,960
- Gender
- Female
- HSC
- N/A
Pizza or should I say (Jb) and squishy was there
Wow a year has past
Wow a year has past
Ahh yeah, now that you mention it i remember Squishy's avatar and Pizzas posts lol. Those were the couple of others i was thinking about =P.Pizza or should I say (Jb) and squishy was there
Ohey, I don't know who you are! But then again it's not that hard to find out who I am, is it And yes, certainly sarcasm. I came across VB 6 on the school desktops at school and was shocked (not even .NET). At least my school will have python programmers left, had a bunch do the NCSS Challenge (beginners stream) in year 9 so that was nice.Hey V.U . I hope that's sarcasm, because I can't stand that language at all. I don't like drag & drop. :/
Im a stalker that knows everybodys name in this thread. Get some sleep you got Physics tomorrowOhey, I don't know who you are! But then again it's not that hard to find out who I am, is it And yes, certainly sarcasm. I came across VB 6 on the school desktops at school and was shocked (not even .NET). At least my school will have python programmers left, had a bunch do the NCSS Challenge (beginners stream) in year 9 so that was nice.
Yep, same at my school. My teacher freaked during the last lesson before Trials because he realised that he'd forgotten to teach us a bunch of things that were in the exam...You are a lucky man.
Does anyone here have incompetent SDD teachers? Like your teacher read the textbook 5 years ago and that's all they know? It's such a joke at my school. Teacher doesn't know ANY language and gives us these stupid sheets. I'm fine with learning on our own, which is what we do anyway, but why should we be forced to learn VB on our own as opposed to something else.
Nothing really, all I could really see if for Option Topic 2 they added Unicode and Boolean Algebra. The questions should really be no different from last years. They only really renamed sections of the syllabus for clarity.Alright guys focus! What were the major syllabus changes that will make a practical difference to us in the exam?
{name: "John Doe", count: 13},
{name: "Susan", count: 5},
{name: "John Doe", count: 7},
{name: "Bobert", count: 16}
You need to understand the algorithms for both. And yes, I guess you could learn the advantages and disadvantages. But by that I assume you mean how effective it is in certain situations and assessing its performance and accuracy. You could look at something called Big O Notation, but it's beyond the scope of SDD.Just wondering, do we have to learn the algorithms for the searches and sorts? E.g. binary, insertion etc. Or do we simply have to learn how it works and how it can be applied along with its advantages & disadvantages?
not necessarily, any linear search runs at O n^2 whereas binary can run at O log(n)In terms of big-O notation, all the SDD sorts are equivalent (i.e. in the worst case, they're all equally shitty). In terms of little-o notation however, selection sort is worse and insertion sort and bubble sort are equivalent (i.e. selection sort is always shitty, whereas the other two have the potential to be not so shitty if the input data is nice).
So like, if we're given a question on suggesting which sort to use, what I choose...since all the sorts are equally "crappy"?In terms of big-O notation, all the SDD sorts are equivalent (i.e. in the worst case, they're all equally shitty). In terms of little-o notation however, selection sort is worse and insertion sort and bubble sort are equivalent (i.e. selection sort is always shitty, whereas the other two have the potential to be not so shitty if the input data is nice).
Just talking logic, I would input all the data into an array. Search for the person's name, if not, create a new record. Then just go through the algorithm and find the maximum, and output the corresponding name. Is there a faster way to do it?ALGORITHM QUESTION (this one is moderately difficult, but definitely within the scope of the course, and similar to a past HSC question):
You're given a sequential file of records representing item purchases. Each record contains the name of the customer (string) and the number of items they bought in that transaction (integer).
Output the name of the customer with the most purchases.
e.g. if the input is
Here, the output would be "John Doe" as he has bought 20 items in total.Code:{name: "John Doe", count: 13}, {name: "Susan", count: 5}, {name: "John Doe", count: 7}, {name: "Bobert", count: 16}
EDIT: assume efficiency doesn't matter
Yes.In terms of standard algorithms, are there limitations on how we choose to implement them? e.g. there are dozens of ways to implement a binary search. Are we allowed to use any of them?