Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 159
» Latest member: Tmgonsewski
» Forum threads: 187
» Forum posts: 694

Full Statistics

Online Users
There are currently 6 online users.
» 0 Member(s) | 6 Guest(s)

Latest Threads
-i -b number format
Forum: Project 1
Last Post: clalexander4
6 hours ago
» Replies: 1
» Views: 7
Time Testing
Forum: Project 0
Last Post: rcfrederick
8 hours ago
» Replies: 3
» Views: 105
CDA Test file
Forum: Project 0
Last Post: rcfrederick
9 hours ago
» Replies: 3
» Views: 89
undefined reference
Forum: Project 0
Last Post: alexbusol
9 hours ago
» Replies: 2
» Views: 19
How will real numbers be ...
Forum: Project 1
Last Post: aluong
9 hours ago
» Replies: 1
» Views: 63
Really struggling with 1 ...
Forum: Project 0
Last Post: alexbusol
10 hours ago
» Replies: 2
» Views: 21
What display/comparator f...
Forum: Project 1
Last Post: jaw653
Yesterday, 09:05 PM
» Replies: 0
» Views: 11
Resubmission question
Forum: Project 0
Last Post: thetrentford
Yesterday, 05:38 PM
» Replies: 1
» Views: 28
exam 1 postponed
Forum: Exam 1
Last Post: mkkeffeler
Yesterday, 05:12 PM
» Replies: 7
» Views: 455
Task 8 compare results
Forum: Assignment 1
Last Post: mkkeffeler
Yesterday, 05:10 PM
» Replies: 11
» Views: 487

 
  Task 3 postfix output
Posted by: frostymelonade - 09-11-2017, 04:26 PM - Forum: Assignment 2 - Replies (1)

In the example provided in task 3's description, the infix expression

(2 + 3 * x ^ 5 + a)

is given as

(2 3 x 5 ^ * a + +)

when written in postfix notation. However, the directions also state

"Note that all operators are left associative."

From my understanding of associativity, it seems that 2 + [3*x^5] should be evaluated first, instead of [3*x^5] + a, yielding a correct postfix representation of

(2 3 x 5 ^ * + a +)

Print this item

  Extract CDA
Posted by: Logand064 - 09-11-2017, 04:47 AM - Forum: Project 0 - Replies (2)

When extracting CDA should we be using the getCDA method to ensure the array is in the appropriate order? If so this should take linear time correct?

Print this item

  Resubmission tests
Posted by: jmnissen - 09-10-2017, 10:32 PM - Forum: Project 0 - Replies (2)

Will the tests used to grade our resubmissions be the same as the tests used to grade our original submission?

Thanks

Print this item

  shrink conditional in removeDA and removes in CDA
Posted by: ianbway - 09-10-2017, 07:20 PM - Forum: Project 0 - Replies (5)

I'm curious if the conditional test I am using for the remove methods is correct. Currently I am using 0.25 > size / capacity, and converting them to doubles so that the division is 
more precise. (By typecasting double to the numerator). Is there a better way of computing this? 

I'm adding 9 values, going up to a capacity 16 array. Then I remove all but 1, and only go down to a capacity 8 array. I remove the final value, shrinking to capacity 4. I add a value, staying at capacity 4. Then remove the final value, staying at 4. I'm not shrinking when the ratio is less than .25 and i believe my conditional test is the culprit.

Also in a slightly related note, when using wget on the da-test-0-3.c file I only get the code for part of this test, mainly just the inserts. Do these just act as sample tests and we must fill out the rest?

Print this item

  Assignments #1 postponed
Posted by: lusth - 09-10-2017, 05:01 PM - Forum: Assignment 1 - Replies (2)

The resubmission dates for assignment 1 have been postponed a week to allow more time to work on issues while I'm away in India.

Print this item

  Assignments #1 and #2 postponed
Posted by: lusth - 09-10-2017, 04:57 PM - Forum: Project 1 - No Replies

See the sticky in the Assignment #1 forum.

Print this item

  Assignments #1 and #2 postponed
Posted by: lusth - 09-10-2017, 04:56 PM - Forum: Project 0 - No Replies

I've postponed the assignment 0 resubmission dates and the assignment 1 dates one week, to allow more time while I'm away in India to work through any problems.

Print this item

  Test problem help
Posted by: ACCD - 09-10-2017, 06:05 AM - Forum: Project 0 - Replies (2)

I only got this wrong both on stack and queue.
Can anybody help what will be the problem for my code?


TEST #30


EXPECTED RESULTS:
--------------------------------------------------------------
QUEUE tester: 0,2
you can retrieve this test with:
wget beastie.cs.ua.edu/cs201/testing/0/queue-test-0-2.c

output:

<VWQ,TYS,KRG,SED,LWP,MVF>
--------------------------------------------------------------

Files yours and expected differ

YOUR RESULTS:
--------------------------------------------------------------
QUEUE tester: 0,2
you can retrieve this test with:
wget beastie.cs.ua.edu/cs201/testing/0/queue-test-0-2.c

output:

<134518422,134518426,134518430,134518434,134518438,134518442>
--------------------------------------------------------------
Output does not match exactly; the test does not succeed.

Print this item

  404
Posted by: sbcarp - 09-10-2017, 03:34 AM - Forum: Project 0 - Replies (3)

wget beastie.cs.ua.edu/cs201/testing/0/cda-test-0-4.c

Tried to download the test file, but return 404, available only on UA network?

Thanks!

Print this item

  You can still submit...
Posted by: lusth - 09-09-2017, 11:01 PM - Forum: Project 0 - No Replies

...until I start grading.

Print this item