Going to be a really late night and a really early morning and a HUGE nap tomorrow... Must admit I'm quite nervous for everything that's not translation or formal proofs. Hopefully I'll feel better about it in the morning. Good luck!by rezrovs - COS361F
Even still, when you have fractions like 4/14 times 0.98? I can't do that in my head even without the pressure of an exam going on. I'm taking my calculator and asking the invigilators when I get there...by rezrovs - COS351D
No worries - I got it. Turns out I can't use my calculator properlyby rezrovs - COS351D
It's probably just pre-exam stress going on, but I can't remember how to calculate Remainder and Gain in decision trees. I have tut 103 where there is a worked through example, but I can't see how they get rid of I in the equations when working out the Remainder. Please could someone remind me of how to do it. Thanksby rezrovs - COS351D
I guess I'm among the few that didn't really like the paper. The questions were just in a format I completely didn't expect. Especially the difference between the singleton and the monostate and when not to use the observer. I think I also overthought all my answers so I landed up running out of time in the end. I feel like I could have done so much better at that... Oh well, gby rezrovs - COS3114
I thought I had done ok but the more I think about the less I am sure. I guess the problem is that when I run SQL queries for work I always take the best guess first and then tweak the results until the query is perfect which I guess makes one a little lazy... Plus that insane question 2 of section 2 (the employees and their colleagues) threw me a bit right at the start. Time for bed and thby rezrovs - INF307H
A3.3 - just to give a longer answer The problem is that an increment action is not atomic. What this means is that if you have one process performing an increment action, the procedure is as follows: 1) get the value (x=7) 2) add 1 to that value (x=7) Then when you have two threads trying to perform the same action, what can happen is T1) get the value (x=7) T2) get the value (x=7)by rezrovs - COS3114
Considering the sheer number of hours that I threw at this assignment, I was really happy with my result. I was just waiting for the marking sheet to arrive with 'Does Not Compile' on it and me to head off into a rage and into the chocolate biscuit tin. But no, I was happy with my result (and went into the choclate biscuit tin anyway...)by rezrovs - COS3114
Yeah, the forums do seem quite quiet considering exams start next week. I'll be working on this module on the weekend so no doubt I'll have much more to post then. Good luck for your studiesby rezrovs - COS3114
Don't know, I'm feeling quite good for it. I think I understand the material and going through the past paper didn't make me cry. One week to go!by rezrovs - COS3114
I emailed last week to find out - got a reply today: QuoteDear student, The 104 TL will be available on myUnisa next week. Kind regards, Dr Sihem Belabbes-Varzinczakby rezrovs - COS3216
You asked this question in a separate post so I've replied there.by rezrovs - COS3114
As far as I know, the UML diagrams in the exam will based on the diagrams that appear in the textbook. I don't think it's going to be a massively complex diagram that will involve studying from other sources for it. So take a look at the textbook and then if you're stuck on specific ones, put a question up here. The reason that I say that is because the field of UML is ratherby rezrovs - COS3114
In the examination tutorial letter, they refer to the A* search and say that there is additional material available in tut 104. Does anyone have this tutorial letter yet?by rezrovs - COS351D
Sorry, I misnumbered that, it should have been 1.2 - I'll update that post too.by rezrovs - COS3114
1.2) The question is asking for a design to structure the rewards, so I'd go with Composite because we're representing classes that are composed of other classes. Both Reward and TreasureChest look to be composite objects and Lamp, MagicMat and TreasureChest are components. 5.1) Qt provides the QMetaObject class to support reflective programming. For each object that meets the condby rezrovs - COS3114
Link to Google Search where all the notes can be found.by rezrovs - COS3114
1.1 - Please can you motivate your answer for this question. In my mind, the Visitor is applied to items of a collection. While DOM is an implementation of the Visitor pattern and the objects in the XML file are probably read into a collection, I don't really see how applying a Visitor to this collection would be useful. My answer would have been the Serializer pattern (to isolate theby rezrovs - COS3114
@36187844 - would you mind elaborating on the previous exams? What did you study and what sections should you have focussed on? This is the exam I am dreading the most!by rezrovs - COS351D
Ok, so I'm nearly finished now and I've realised I might be completely wrong... I have Member and RegionalAdministrator as two separate classes that are not related to each other. A member cannot be marked as an administrator as an administrator is not a member. When the user logs in, they are either one of the hard coded username and passwords, or the system reads the file of regionby rezrovs - COS3114
I'm still going to go by the marking notes in the 103 tut letter where 10 marks are going to the class diagram.by rezrovs - COS3114
Ah right - good thing I chose GUI then!by rezrovs - COS3114
I also understood it to be that you could choose if you wanted to do a gui or a command line interface.by rezrovs - COS3114
Hmm. I only have passwords and usernames for the Regional Administrators. Do you have them for the members?by rezrovs - COS3114
Yeah, I agree with that. It makes far more sense to keep those methods connected to the member list class in my opinion. The reason I stuck with the OperationsOnMembers class is because they specifically list it and I'm nervous of deviating too far from what they ask for since I'm deviating in other areas. For example, the user selects the member they want to delete from a list instby rezrovs - COS3114
I've gotten myself confused. So I have a gui that when you press a button, a method on the OperationsOnMembers class is called which generates a QList of the unpaid members. The list is passed back to the gui method and the list is written to a file. Now I know I need to convert this to the visitor pattern. What I'm struggling with is that the logic is already completely separateby rezrovs - COS3114
Just saw the extension granted until the 30th and wanted to check I wasn't seeing things...by rezrovs - COS3114
I just read those pages over and over again. And then another few times for luck. When I dug around to try find more about it all I could find were really confusing papers written on the subject. There was also the wikipedia entry which also required a few reads. I've decided that in the end, the chances are that they will ask us for formal proofs in the final so I'm going to concentby rezrovs - COS361F
Aah, now that I understand about the signals and slots thing. Thanks In terms of the readers and writers, I think all of the lists need both because they all need to be both read and written. I can't think of any cases where the user manipulates the data and it is not supposed to be stored afterwards.by rezrovs - COS3114
Thanks for the reply conman. I am doing all of the user interaction stuff with signals and slots, I was just confused by the part where we must define our own signals and slots instead of the ones in the qt framework.by rezrovs - COS3114