QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: CSE 130 Homework #4
Views: 1006, Unique: 453 
Subscribers: 2
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages            1-10 of 10        
About these ads
Who | When
Messagessort recent-top   
Post a new message
 
Bond James Bond  1
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
Taybo  2
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?
Sean O'RourkePerson was signed in when posted  3
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)
duy  4
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
duy  5
02-03-2004 01:22 AM ET (US)
never mind my question on 109, but i still have question on the computing function though
Seempoe  6
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?
BangBang  7
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.
Sean O'RourkePerson was signed in when posted  8
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).
Fox Harrell  9
02-03-2004 07:12 PM ET (US)
Edited by author 02-03-2004 07:26 PM
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
YuanQing  10
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 ?
RSS link What's this?
All messages            1-10 of 10        
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.