{"id":1000392,"date":"2007-02-05T10:38:12","date_gmt":"2007-02-05T15:38:12","guid":{"rendered":"http:\/\/www.elharo.com\/blog\/software-development\/java\/2007\/02\/05\/homework\/"},"modified":"2007-02-05T10:38:12","modified_gmt":"2007-02-05T15:38:12","slug":"homework","status":"publish","type":"post","link":"https:\/\/www.elharo.com\/blog\/software-development\/java\/2007\/02\/05\/homework\/","title":{"rendered":"Homework"},"content":{"rendered":"<p>Don&#8217;t you just love students who send you their homework problems in the hopes that you&#8217;ll do it for them? Here&#8217;s the latest example I&#8217;ve gotten:<\/p>\n<blockquote><p>Often in reading an article, a book or a document one comes across a word whose meaning is not known to the reader. This problem can be overcome by providing an on-line dictionary so that a reader could look up the meaning of a word. In order to provide help with reading, you are asked to develop a Java Applet with the following GUI interface: <\/p>\n<p>Labels Text Boxes<br \/>\nWord typed Text box A<br \/>\nWord meaning Text box B <\/p>\n<p>Once a user types a word in text box A and presses return, the meaning of the word is displayed in text box B (provided that word exists in the dictionary), otherwise, the message &#8220;word not known&#8221; appears in Text Box B. Notice that both text boxes are preceded by a label. For the purpose of testing, it is expected that the developed Applet is able to cope with 100 or more English words<\/p><\/blockquote>\n<p>That&#8217;s actually not a bad problem: takes in applets, GUI widgets, event handlers, data structures, and possibly network communication (if the dictionary is stored remotely).  However it&#8217;s not too complex to implement in a week. I&#8217;ll have to remember it for my own classes.<\/p>\n<p>In the meantime, if any teacher recognizes this as their own assignment and wants to know where I got it, drop me a line. :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Don&#8217;t you just love students who send you their homework problems in the hopes that you&#8217;ll do it for them? Here&#8217;s the latest example I&#8217;ve gotten: Often in reading an article, a book or a document one comes across a word whose meaning is not known to the reader. This problem can be overcome by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[410],"class_list":["post-1000392","post","type-post","status-publish","format-standard","hentry","category-java","tag-flash"],"_links":{"self":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1000392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/comments?post=1000392"}],"version-history":[{"count":0,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1000392\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/media?parent=1000392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/categories?post=1000392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/tags?post=1000392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}