top bar
QuickTopic free message boards logo
Skip to Messages

TOPIC:

CSE 130 Homework #6

16
Deleted by topic administrator 07-22-2006 09:28 AM
15
Deleted by author 08-22-2005 05:14 PM
14
Fox Harrell
02-19-2004
02:53 PM ET (US)
Yongbo Jing:

Implementing it is fine (in fact it is easier for us to grade if you include an output file). I was trying to steer you to the section in the chapter regarding the design process. It includes implementation, but he only describes implementation details informally.

The difference between classes and modules is the point of the question. You should read the chapter carefully and your question should be answered. If you already implemented it using a class, perhaps you should design a module for the other half of the question.
Edited 02-19-2004 02:54 PM
13
Yongbo Jing
02-19-2004
02:09 PM ET (US)
On page 225 of our textbook, the author gives an definition for module. It seems to me that that is no a lot different from a class in Java. This might be a silly question, but can you state the difference between a module and a class?
Edited 02-19-2004 02:10 PM
12
Yongbo Jing
02-19-2004
01:57 PM ET (US)
"Problem 6.4:
The chapter describes aspects of both classes and modules. For this problem you should implement a buffer, as described in example 6.1, as both a class and as a module."
Since I already implemented a buffer, would that be alright?
11
Fox Harrell
02-19-2004
04:15 AM ET (US)
Problem 6.4 clarification:

You should "design" (rather than implement) a buffer, as in example 6.1, as both a class and as a module.
10
Fox Harrell
02-19-2004
04:04 AM ET (US)
Lee: The book describes the elements of the design process (see section 6.3 for example). Your design should include pseudocode (or real code if you prefer) as detailed as what is in Sethi's discussion of the design process. Also, please include clear comments within your code.
9
Fox Harrell
02-19-2004
03:46 AM ET (US)
The auxiliary stack is a stack used as a supporting data structure within your algorithm.
8
Fox Harrell
02-19-2004
03:33 AM ET (US)
You may use Java.

Problem 6.4:
The chapter describes aspects of both classes and modules. For this problem you should implement a buffer, as described in example 6.1, as both a class and as a module.
7
130temp
02-19-2004
02:45 AM ET (US)
I can't compile .cpp file because I include a bunch of standard libraries, and under ieng9, they can't be found. is there any alternative way?
Edited 02-19-2004 02:46 AM
6
Derrick
02-19-2004
02:20 AM ET (US)
Where are the TA's??? We need answers to those questions...
5
ron
02-19-2004
01:10 AM ET (US)
man... just started hw... what's auxiliary? is that just a fancy way of saying a "stack?" did i miss it in the text?

ron
4
Student 18
02-19-2004
12:20 AM ET (US)
This homework is taking 50x longer than all the others...
3
lee
02-18-2004
06:12 PM ET (US)
for both 6.1 & 6.4, it said "design a program", so I don't need to write the actual code, right?
2
Amir
02-18-2004
02:12 AM ET (US)
what exactly is question 6.4 asking for?

what is a module buffer?
what is a class buffer?
1
Amir
02-18-2004
02:02 AM ET (US)
Would it be alright if we did problem 6.2 in java?

Amir

Print | RSS Views: 1137 (Unique: 539 ) / Subscribers: 0 | What's this?