HW6 grade

5 views
Skip to first unread message

ahmad qawasmeh

unread,
Dec 12, 2010, 3:40:07 PM12/12/10
to cosc...@googlegroups.com
Hi all,

We gave partial credit for all test cases. In case of any complaints, you can come on Tuesday
immediately after the exam. We will be at the office for one hour and a half. In case of any complaints, harder test cases will be applied with no partial credit as agreed with Dr. Ordonez. I exactly followed the HW description in all test cases. The test cases will be posted in one hour on our web page. 

Regards,
Ahmad and Mario 

Ji Qing

unread,
Dec 12, 2010, 3:45:43 PM12/12/10
to cosc...@googlegroups.com
Hi, Ahmad,
I wanna know the reason for taking off the 5 points if every test case works?
Thank you!

Austin Herberger

unread,
Dec 12, 2010, 6:31:18 PM12/12/10
to COSC2320
Ahmad, if we correct our homework and want to submit the corrected
version for regrading, would that be acceptable?

Thanks,
Austin Herberger

Anthony White

unread,
Dec 12, 2010, 7:12:45 PM12/12/10
to cosc...@googlegroups.com
I thought regrading was done on the hw assignment that you turned in? Because if you turn in a corrected hw assignment, then wouldn't that basically be the same as getting an extension?

Austin Herberger

unread,
Dec 12, 2010, 8:26:13 PM12/12/10
to COSC2320
Oh, I didn't mean for full credit back, of course.

On Dec 12, 6:12 pm, Anthony White <tonywhite...@gmail.com> wrote:
> I thought regrading was done on the hw assignment that you turned in?
> Because if you turn in a corrected hw assignment, then wouldn't that
> basically be the same as getting an extension?
>
> On Sun, Dec 12, 2010 at 5:31 PM, Austin Herberger <gamingpsycho...@gmail.com

huy

unread,
Dec 13, 2010, 4:36:47 AM12/13/10
to COSC2320
From the hw description:
hashTable input=<string>;size=<int>;output=<string>
size should be an int, which means from 1 to 32 767 so how could size
can be 40k and 80k like case 5 and case 10 ?


On Dec 12, 7:26 pm, Austin Herberger <gamingpsycho...@gmail.com>
wrote:

Nashid Shabazz

unread,
Dec 13, 2010, 6:04:33 AM12/13/10
to cosc...@googlegroups.com
That's a good question and I got taken off for that also.

TAs should refund our points for this case.



> Date: Mon, 13 Dec 2010 01:36:47 -0800
> Subject: Re: HW6 grade
> From: huylng...@sbcglobal.net
> To: cosc...@googlegroups.com

Blake

unread,
Dec 13, 2010, 4:11:05 PM12/13/10
to COSC2320
He said the key would be an 32bit unsigned integer, it is in the
homework description

On Dec 13, 5:04 am, Nashid Shabazz <ns...@hotmail.com> wrote:
> That's a good question and I got taken off for that also.
>
> TAs should refund our points for this case.
>
>
>
> > Date: Mon, 13 Dec 2010 01:36:47 -0800
> > Subject: Re: HW6 grade
> > From: huylnguye...@sbcglobal.net
> > > > > > Ahmad and Mario- Hide quoted text -
>
> - Show quoted text -

huy

unread,
Dec 13, 2010, 5:55:30 PM12/13/10
to COSC2320

i did not discuss about the key used for the book id here, i talked
about the SIZE OF THE HASH TABLE here
And if the size is unsigned int, the hw description for the parameter
should be:
hashTable input=<string>;size=<unsigned int>;output=<string>
and from what i have learned from the past, the unsigned int only can
be from 1 to 65535 which still not be the case 10 with 80k-size ?

Khoa Le

unread,
Dec 13, 2010, 6:05:14 PM12/13/10
to cosc...@googlegroups.com
The range of int is very system-dependent. C++ int range on some compilers is 2000k, unsigned int is around 4000k. Java int uses 32 bits int, not 16bits (0 - 65535). As far as I know, Borland and Microsoft VS uses 32 bits int. The HW compiles on BC so normal int or unsigned int should work.

Ted Spradley

unread,
Dec 13, 2010, 6:06:11 PM12/13/10
to cosc...@googlegroups.com
2^16 = 65,536
2^32=4,294,967,296


--------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.449 / Virus Database: 271.1.1/3313 - Release Date: 12/13/10
07:35:00

Khoa Le

unread,
Dec 13, 2010, 6:37:13 PM12/13/10
to cosc...@googlegroups.com
When programming on new compilers or environment. Investigate the number of bit allocated to a single int using size_of(int)
Reply all
Reply to author
Forward
0 new messages