Computer Organization - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Computer Organization

Description:

What You Will Do In This Project. The purpose of this project is to take the next steps in writing a more complex program. ... Is the code readable and well commented? ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 7
Provided by: jb20
Category:

less

Transcript and Presenter's Notes

Title: Computer Organization


1
Computer Organization
  • Project 5
  • Prof. Jerry Breecher
  • CSCI 140
  • Spring 2005

2
What You Will Do In This Project
  • The purpose of this project is to take the next
    steps in writing a more complex program.
  • You are working toward writing a program that can
    take in the following input
  • ADQltwsgtstring1ltwsgt.ltwsgtstringN
  • Where
  • ADQ means Sort in Ascending order, Descending
    order or Quit.
  • ltwsgt whitespace space or tab.
  • There is a considerable amount of work to do
    here, and so it makes sense to divide this into
    smaller pieces.
  • Project 3 Handling arbitrary number of strings.
  • Project 4 Parsing a long string looking for
    arbitrary characters.
  • Project 5 Putting it all together.

3
What You Will Do In This Project
  • This is the final project in the sequence youve
    been working on. Here you will be able to take
    in a single line containing all the information
    you need to sort strings.
  • ADQltwsgtstring1ltwsgt.ltwsgtstringN
  • Where
  • ADQ means Sort in Ascending order, Descending
  • order or Quit.
  • ltwsgt whitespace space or tab.
  • The general delimiter you were working with in
    the last project is now only a space or tab. You
    no longer need to input that delimiter since you
    know what it is.

4
What You Will Do In This Project
  • Groundrules
  • Credit for Projects
  • Is based on deliverables.
  • You do not need to turn in High Level Code or a
    test plan but you may find the examples later in
    this writeup to be useful.
  • You will be expected to do a Show and Tell one
    week after the project is assigned. See the
    evaluation sheet.
  • You will also be expected to turn in your
    assignment, placing it in the CS140 submissions
    directory. To do this, name your completed code
    as proj5.s, and then from the directory in which
    the code currently resides, type the following
  • jbreecher/turnin.pl 140 proj5.s

5
A Test Plan
  • Here are some possible inputs that you can check
    for. I have attempted to give you some
    interesting and unusual conditions. As usual,
    there are many other possible test cases.

6
Project 5 Evaluation Sheet
  • Name____________________________________________
    _____________
  •  
  • Is there a complete set of test cases?
  •  
  •  
  • Does the MIPS program work as expected on test
    cases?
  •  
  •  
  • Does the code handle consecutive white-space
    characters?
  •  
  •  
  • Are there other special features associated with
    this program?
  •  
  •  
  • Is the code readable and well commented?
  •  
  •  
  • Is the code organized as a set of functions
    rather than as one big chunk of main code?
Write a Comment
User Comments (0)
About PowerShow.com