CPE 315
Fall 2004
Lab #4 FAQ



Lab #4
  1. Does the 0 delimiter count as a value?
    no

  2. What test cases must be run?
    These 3 are the bare minimum but any other test case is possible.
    This is a good reason to submit screen prints; you maintain control over test cases.

    Note that 0 is the delimiter and not part of the test case.
    2147483647
    0


    -1
    -2
    -3
    -4
    -5
    0


    -2000000000
    2000000000
    -22
    22
    1
    2
    3
    0


  3. Is there anything I don't have to worry about?
    An empty test set (0 as the 1st entry)
    Overflow

  4. What's the best way to compare numbers?
    slt instruction

  5. What's the largest possible test set?
    no limit. You should be able to handle any test set.

  6. If I submit screen prints, might I still demo?
    Probably not. But you should always be ready to demo if asked.

  7. Are PCSpim screen prints acceptable?
    Yes. Just be sure you can demo using xspim in lab.
    A demo request is unlikely but possible at any time.

  8. What happens if I use pseudo instructions?
    You won't like your lab grade.

  9. Can I use divide to test for odd/even?
    No, absolutely not.


Last updated 10/8/04