top bar
QuickTopic free message boards logo
Skip to Messages

TOPIC:

CSE 130 Homework #4

10
YuanQing
02-07-2004
10:09 PM ET (US)
For 5.9 Do we have to draw 2 coresponding snapshots to illustrate searches for 40, one like fig5.21(recursive) one like fig 5.23(nonrecursive)? Or only the one like fig 5.23 ?
9
Fox Harrell
02-03-2004
07:12 PM ET (US)
Some others asked the same question about input for 4.3.

Just read in information from standard input. An input file is probably the easiest way to think of it.

Fox
Edited 02-03-2004 07:26 PM
8
Sean O'RourkePerson was signed in when posted
02-03-2004
03:08 PM ET (US)
duy -- yes. Please write a program to compute the length.

Seempoe -- No vectors, please. Stick to arrays.

BangBang -- You can use C (or a C-like subset of C++ or Java).
7
BangBang
02-03-2004
02:57 PM ET (US)
For 4.8, do we have to code it in the language specified (pascal or modula2 or whatever it is) or can we use a different language like C.
6
Seempoe
02-03-2004
02:35 PM ET (US)
I wanted to make sure... for 4.3 I'm using Java, am I allowed to use the Vector class and its functions?
5
duy
02-03-2004
01:22 AM ET (US)
never mind my question on 109, but i still have question on the computing function though
4
duy
02-02-2004
11:47 PM ET (US)
>The [100..109] bin will only contain scores in the range [100..100],

What do you mean by [100...100]? so we stop at 109 right?

and for 4.3. It asks to compute the length, but isn't the answer already given in the book. Or we have to come up with a different formula for computing. Or we have to write a program for computing
3
Sean O'RourkePerson was signed in when posted
02-02-2004
11:48 AM ET (US)
Taybo:
* No -- it should include all ranges of the given size covering at least some part of [0..100]. The [100..109] bin will only contain scores in the range [100..100], though.
* You should write a separate (but similar) program to use the user-given bin size.

BJB: Either real code or pseudocode will work. If you're writing it in C, ``scanf("%d", &x)'' works. (de nada)
2
Taybo
02-02-2004
04:21 AM ET (US)
Why in 4.3a, it ends the ranges with [100-109]? Isn't supposed to stop at 100?
Also in part b. are we expected the make the program summarize the scores again with the given value parameter?

How do you want us to write it out, sample input/output and code?
1
Bond James Bond
02-01-2004
11:39 PM ET (US)
Hey for Ex. 4.3 how are we expected to take in inputs??
is it more pseudo-code??
gracias

Print | RSS Views: 1217 (Unique: 578 ) / Subscribers: 2 | What's this?