• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to make quiz with many functions on Java  RSS feed

 
azim abasbek
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've to make quiz on JAVA, (Test Japanese)
the goal is to write an answer of hieroglyph, answer can be The Number code of hieroglyph, or the AB code of hieroglyph

On the first interface i have to:

1) Write your name
2) Choose test ( 1. By Number code, 2. By AB code)
3) Choose order (1. Correct, 2. Random)
4) Type the limit of hieroglyph: for example from 1 to 30, or from 550 - 600 (Because there are 1945 Hieroglyphs)

On the second hieroglyph:

1) Displays hieroglyph
2) Displays status info: chosen parameters (for example Test: By number code; Order: Random; Hieroglyph 1 of 30; Elapsed time: 00:01:23)
3) Input box where you have to type your answer
4) Next button

On the last interface will be displayed the percentage of the questions answered correctly - for example: 1) False: the correct is .... 2) True 3) False: the correct is .... etc; Points: 10 of 30

I've some code: but i've to edit it to take what i need;

Could any body help me what to do....i've only 2 weeks.

I'm not genius in JAVA as some of you....so do not criticize me....as DB i've used an array...because don't know how to connect JAVA to DB...

As program code i've take analogue of my program already integrated in NetBeans 6.8 (Anagram Game) and little bit change it..
Here's the code #1: (I've deleted many objects in arrays....because in every array 1945 objects, i mean hieroglyphs, number codes and AB codes)


The 2nd code:




P.S. If it's not possible to make in 2 weeks....can anybody suggest me where i can find almost such program where i can change data of questions; and no matter in what code it was programmed...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Azim,
It depends how much time you spend on it in the next two weeks and how much Java you know. It is certainly possible in two weeks. I'm sure there are also quiz applications out there if you look online. After all, I've taken many surveys online. Yours sounds like a school assignment though.

I'm not clear on what specifically you are stuck on. What are you trying to write that you are encountering a problem and what is the problem?

If you are stuck on starting out, you need to pick a technology. Applets, Swing and Web applications are common choices for a GUI when working with Java.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, this forum is for questions about Testing code; not about writing tests. I've moved this to our Java in General forum for you.
 
azim abasbek
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Also, this forum is for questions about Testing code; not about writing tests. I've moved this to our Java in General forum for you.

Thanks! I'm not good in English nor as JAVA
well...can you help to find such testing application where i can easily change database....because in every program that i download..questions must be added by user...so i don't want to add 1945 hieroglyphs one by one...
i need that application where you'll have 1 file for example .txt file where list of 1945 hieroglyphs are going to be (list of questions), 2 .txt file where will be answers....
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These applications that let you add questions one at a time. Where do they store them? Database? Flat file?

You could write a program to go through your file of 2000 questions and add them to the format the program is expecting. That would be easier than writing the program from scratch.
 
azim abasbek
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:These applications that let you add questions one at a time. Where do they store them? Database? Flat file?

You could write a program to go through your file of 2000 questions and add them to the format the program is expecting. That would be easier than writing the program from scratch.



What about the format that program is expecting...what do you mean?
Now my program works using as database for questions ARRAY as you've seen in my posted code
I know that it's not good to use array for 2000 symbols in it....but i mean if no one doesn't know how to make that program...maybe someone could help to find analogue of such program, where database of questions/answers of that analogue would be easy to edit..

Again sorry for my English.

As exchange i can suggest to person who helps me to make that program my services as designer!
I can make web site design...without programming, flash banner, brand book, logo...
Just i really need to make that program....or I'm not going to finish my 4 semester.... =(

Thanks!

P.S. Mr. Boyarsky... sorry for my question, are you from Russia? I mean maybe you speak Russian? Because I can speak Russian, Kazakh, Kyrgyz and Turkish better than English =)
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
azim abasbek wrote:What about the format that program is expecting...what do you mean?

Just i really need to make that program....or I'm not going to finish my 4 semester.... =(

It would depend on the existing program. However, it is irrelevant since this is for school. For school, you'll need to write something yourself.

azim abasbek wrote:Again sorry for my English.

Your English is fine. Don't worry.

azim abasbek wrote:P.S. Mr. Boyarsky

Ms. I'm female.

azim abasbek wrote:are you from Russia? I mean maybe you speak Russian? Because I can speak Russian, Kazakh, Kyrgyz and Turkish better than English =)

No. I do not speak Russian. In any case, this is an English forum so all communication needs to be in English.

Going back to your program, I think the best thing is for you to pick a next step. Some building blocks I can think of:
1) Can you read your file into the array?
2) Can you pick a random number and output that question (via System.out)
3) Can you output a question into the user interface of your choice? (what did you pick? Swing>)
4) Can you register a selection in that interface?
5) Can you register the next button in that interface?

Then code that step. Or ask a specific question you are stuck on with that step. Right now, it sounds like you want someone to do your schoolwork for you. That would be wrong and not something we do here at JavaRanch.
 
azim abasbek
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your answer! Ms. Jeanne, sorry I thought Jenya Boyarsky...
What about program i understand....don't want to lose my time, will start right now...
can you send me your email or skype?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
azim abasbek wrote:can you send me your email or skype?

No. See UseTheForumNotEmail for details on why.
 
azim abasbek
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:
azim abasbek wrote:can you send me your email or skype?

No. See UseTheForumNotEmail for details on why.


Ок..!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!