Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help2200


This forum is provided to promote discussion amongst students enrolled in Data Structures and Algorithms (CITS2200).
 
Options:
RSS cloud
Jump to:

Lab 3 cssubmit tester

2 of 251 articles shown, currently no other people reading this forum.
photo
From: Macdara T.
Date: Wed 25th Mar, 10:01pm
Actions: 
        Login-to-reply
Hey,

I've tried submitting the lab 3 DequeCyclic.java to cssubmit and the automated 
tester has been giving back errors. I'm not entirely sure how the system works but 
judging from the analysis it gives it looks like it is just calling the code
in a way that gives an exception.

 1.popLeft() <- without any pushLeft preceding it
 2.peekLeft(); 
 3.pushLeft(c); 
 ...

Other submissions had similar problems.

Is it just the tester or do I need to fix my code do you think?

Cheers,

Lab 3 cssubmit tester

photo
From: ANONYMOUS
Date: Wed 25th Mar, 10:29pm
Actions: 
        Login-to-reply
"Macdara Twomey"                               wrote:

> Hey,
> 
> I've tried submitting the lab 3 DequeCyclic.java to cssubmit and the automated 
> tester has been giving back errors. I'm not entirely sure how the system works but 
> judging from the analysis it gives it looks like it is just calling the code
> in a way that gives an exception.
> 
>  1.popLeft() <- without any pushLeft preceding it
>  2.peekLeft(); 
>  3.pushLeft(c); 
>  ...

You're being tested if your methods will throw expected exceptions. If you're getting an 
error from the tester you might want to check your code again.  
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020