Show all posts by user
Advanced Programming
Page 1 of 1 Pages: 1
Results 1 — 25 of 25
Exam - 17 years ago
To the lecturers:
Thanks for the english comprehension test - specially under pressure.
I also thought we had finished with the practical exams already.
More time or shorter paper would have made this not so bad but it was a super crap exam
by
Mariusvn
-
COS3114
I get that james is not in prison. Does anybody get the same answer?
by
Mariusvn
-
COS351D
1.1 See bottom of page 29 seciotn 2.2.2 Networks
1.5 The threshold value is the negation of the last value in the final weight vector. See ass1 question 2 on how to train a network. Also page 7 in the tut letter 501 last paragraph explains the final threshold value.
3. Dont read more in the question than what it asks. Tom and dick will fight if left together so first take over one of the tw
by
Mariusvn
-
COS351D
Hi
Question 4 I get the same answer
Question 5 A = 1
Cut off nodes are Alpha cut K,L
and Beta cut node G
by
Mariusvn
-
COS351D
Hi,
Thanks for the explanation - but can you also show how to get the other points of the plane? I know the one point goes through the 0 origin
what I dont understand is what is 'x' in w.x = threshold.
by
Mariusvn
-
COS351D
Hi
for the Exam guidelines question 1.4 I get the final weight vector
[2,0,0] with the threshold value 2.
I can draw the diagram of the input values but do not understand how to plot the separating plane.
Anyone who knows please help?
by
Mariusvn
-
COS351D
Does anybody have any ideas how to approach the proof of this question?
A hint from the lecturer would also be helpfull to point us in the right direction
Thanks
by
Mariusvn
-
COS261C
my nameserver is named Bank. I do pass the first test but I am completetly stumped as to why not any of the other. You cant fix something if you dont know what is wrong. Ill submit it as is and will see what happens.
Thanks
by
Mariusvn
-
COS3114
Yes I did that but I dont understand how to throw the exception for checking the balance of an account. Throwing an exception in the methods of a class that just returns a value? What do you use to trigger the exception? Surely this is handeled in the client?Similar arguments for basically all the methods. The withdraw method with the bankrupt exception does work in my client but does not trigger
by
Mariusvn
-
COS3114
I remeber that I had similar problems - before attempting the installation, copy the whole installation file to the hard disk and then install from there. I think it tries to write to the installation file somewehere and it cant do it on the cd hence the problem.
hope this works
by
Mariusvn
-
COS3114
I also had issues with tcl. The steps i followed was:
1. Install the tclenvironment from the utils directory on the 2006 cd
2. Unzip the tcl testclient zip file into a new directory - it could be any directory
3. make sure that tclsh84 is in your path - it asks you if it should do that in the installation but it doesnt so you have to do it manually
4. it should now run from the directory wher
by
Mariusvn
-
COS3114
When I test my server with my own client it works fine but I cannot pass the tcl client tests and I dont know where to even start looking for what could be wrong. Does anybody have any ideas?
by
Mariusvn
-
COS3114
I now get the following error when running tcl:
DOSKey installed
C:\Account>tclsh84 client.tcl
can't find package combat
while executing
"package require combat"
(file "client.tcl" line 10)
C:\Account>
Tclsh84 runs on its own but for some reason it cant find the combat package which is in c:\combat.
Please help.
by
Mariusvn
-
COS3114
What is the deal - tell us after the assignment was handed in that we cant use guttenplan's methods? I just got 0 admission credits for assignment 2 and I am not happy. I got a distinction in formal logic 1 - a little better communication would be appreciated.
by
Mariusvn
-
COS261C
No mate - good old win 98 se
Ill try and run the shell tonight and see If I can figure out how to get it going but dont have time to sit and play with this.
Thanks anyway
by
Mariusvn
-
COS3114
Hi
I cannot get the tcl testclient to run and the instructions are not very clear.
1. I start the nameserver listening on port 5555
2. I then start nsadmin and register a Bank object with the nameserver
3. I then start my server
4. I now attempt to start the TCL client in a new cmd window using tclsh84 client.tcl and get a bad command or file name.
I put the directory where I un
by
Mariusvn
-
COS3114
Hi
Looking at the discussion forum it is clear that there are many ways to do the same thing. I however wonder what is best practise and as I am sure many of us who dont regularly work with c++ or Corba wonder how much learning we are doing instead of spending hours and hours experimenting with snippets of code we get from the internet which we dont really understand.
Surely there must be
by
Mariusvn
-
COS3114
There is an explanation of function symbols, constants and predicates in the book language proof and Logic by barwize and etchemendy
by
Mariusvn
-
COS351D
Im about to attempt the destroy method and in my preparation have come across the object interface. Each object has an interface that allows you to question if it exists and then to act appropriately. Dont know if that will be of any use but will find out soon. The reference to the object interface is in chapter 6 of the Zipped material on the cd.
by
Mariusvn
-
COS3114
Dave and Marius in the code is the same account - created with the same username and password
by
Mariusvn
-
COS3114
I want to test my getStatement() method and it happily compiles but the client falls over when it calls the getStatement();
my getstatement looks like this:
Account:tatement* Account_impl::getStatement()
{
std::map<CORBA::Long, Account::Transaction::ttype>::iterator transitr;
//find the transaction count
int transcount = trans.size();
//declare the sequence
Account:tatement *re
by
Mariusvn
-
COS3114
I am still having problems with defining and getting the statements part going
I now define the Statement in the Account_impl file as a private member like so:
private:
CORBA::Long bal;//account balance;
Account:tatement mystatement;
Then the Stament gets declared in the constructor of the Account_impl.cc file like so:
Account_impl::Account_impl() throw(std::exception)
{
bal
by
Mariusvn
-
COS3114
I'm a little stuck on how to get the sequence to work across the two different methods deposit and withdrawal. I declare the sequence in the Account_impl constructor but I cant access it in any of the methods. Any help will be appreciated. The way Im thinking is that you will have to either return some reference to it but then how will it be called from the method where you want to either in
by
Mariusvn
-
COS3114
Hi
I started with the last assignment and have a basic bank setup that creates accounts and that all works fine. I now want to return the reference to a previously created account when the password and username is already in the container used for their storage. I thought that by storing the pointer in the same container would be a fairly simple solution and easy to impliment but I cannot get
by
Mariusvn
-
COS3114
When will we get assignment 3? Also a text editor with tabbed pages for each file that is opened is Editpadlite. I find it very easy to use. you can google editpad lite or search for JGSoft.
by
Mariusvn
-
COS3114