The Artima Developer Community
Sponsored Link

Java Answers Forum
Assistance with two Iteam Personal project.

1 reply on 1 page. Most recent reply: Apr 11, 2006 4:41 AM by Kondwani Mkandawire

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Fredric Christian

Posts: 1
Nickname: fmchrist
Registered: Apr, 2006

Assistance with two Iteam Personal project. Posted: Apr 5, 2006 4:27 AM
Reply to this message Reply
Advertisement
Hello I am trying to find a set of code (or help cause I dont know were to go with this) that will allow me to read in a bank of test questions (T>F) and answer them and than see my score at the end.
I am not good at studing and I think if I could write in questions into either the code it self or into a text file and than have them read from their.

If anyone could help me that would be grate.


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: Assistance with two Iteam Personal project. Posted: Apr 11, 2006 4:41 AM
Reply to this message Reply
Your question is too general please be more specific.
Sounds like you're asking for code for a school project.

Some pseudo:

Class A to read-in line by line of a file (via while loop)
class A has method that returns Strings (the questions)
Class B takes in Strings and displays them - will be used
in conjunction with class A.
Class B also has an InputStreamReader to take in your answers
and return them as a String:
Class C to match answers supplied by B and displays correct
or incorrect depending on whether it is correct or not.

Now you can "Javarise" it.

Flat View: This topic has 1 reply on 1 page
Topic: Which is the best component to make 2D games? Previous Topic   Next Topic Topic: How to get Class within a static method

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use