computer science

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: MelissaB, kgudger, Ray Trent, Moderators

computer science

Postby shorthouse » Wed Dec 26, 2012 1:23 pm

what would be a good hypothesis for "measuring text in javascript"? uggggghhh
Posts: 1
Joined: Wed Dec 26, 2012 12:06 pm
Occupation: Parent of 7th grade student
Project Question: My son is insisting on doing his science fair project on "measuring text in javascript"... this is foreign to me... is this really a good subject to do his project on? I do not know what the hypothesis is? and that is where i have to start in order to help him... which we all (mostly) do. thankyou
Project Due Date: 02/02/13
Project Status: Not applicable

Re: computer science

Postby vysarge » Sun Dec 30, 2012 7:51 am

Hello shorthouse,

I assume you're talking about [[this project]]?

Some good starting hypotheses might include ones about the frequencies of certain letters or words. Would you expect 'e' or 'o' to show up the most often? Is 'and' used more commonly than 'the'? You could even link this to a more complicated idea if time allows. For example, I've often heard it said that 'ivy' is the hardest Hangman word, and definitely harder than 'and' or 'the'. Based on the relative frequencies of those letters, does that seem to be true?

Looking at the project idea, though, if your son doesn't have much experience with programming (and you haven't already started), I might recommend an alternative approach. JavaScript can be a little confusing, and the project appears to assume that you already have some knowledge of HTML. However, there are simpler and more straightforward ways to do the project. One such way is to use simple Java, which is usually one of the first languages taught to programming students, and .txt files, which are easily accessible with programming. It has several easy-to-use developing environments such as Eclipse and NetBeans.

Some Google searches for ".text analysis with Java", "text analysis with Java", and "word count with Java" might turn up some interesting examples, tutorials, and the like. I'd also recommend, if you decide to do this project, that you look at the [[Javadoc]], as it's enormously helpful.

I hope this helped, and if you have more questions, feel free to ask!

Nature uses only the longest threads to weave her patterns, so that each small piece of her fabric reveals the organization of the entire tapestry.
-Richard Feynman
Posts: 65
Joined: Tue Sep 27, 2011 4:56 pm
Occupation: Student: 12th grade
Project Question: Student volunteer.
Project Due Date: N/a: see above.
Project Status: Not applicable

Return to Grades 6-8: Math and Computer Science

Who is online

Users browsing this forum: No registered users and 2 guests