Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: How to make a quiz in Java?

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to make a quiz in Java?

    Hi guys!

    I'm new to Java and know a little bit about it and honestly I don't want to learn anymore about it. I'm currently an Apprentice Millwright and I've got a cd with 600 questions on it to help study for the millwright exams and I would like to make a quiz in Java for it. I've got Netbeans installed so I'm ready to go.

    I would prefer for the quiz to be in different sections, maybe 100 questions a section and when I'm done I would like to see my score in a percentage and which questions I got wrong.

    Any help will be greatly appreciated!


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: How to make a quiz in Java?

    How long are the questions and answers? Do you want a multiple choice format: question on top and choices below?

    I don't want to learn anymore about it.
    What does that mean? You'll have to make a complete list of what you know for anyone to suggest using your existing knowledge for the project.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to make a quiz in Java?

    I was hoping someone already had the code and all I had to do was fill it in. I don't know much, only a little about if and else statements, booleans and integers.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: How to make a quiz in Java?

    That won't be enough to write a program.

    Get some 3X5 cards, write the question on front and answer on back.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to make a quiz in Java?

    Quote Originally Posted by Norm View Post
    That won't be enough to write a program.

    Get some 3X5 cards, write the question on front and answer on back.
    That's why I'm asking how to make it.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: How to make a quiz in Java?

    What good would it be if I suggested a way, if the requirements didn't include only the java statements you know how to use?

    Would your quiz program use prompts on a console using keyboard input
    or GUI with labels and mouse click input?

    Do you know how to read from files and separate the lines?
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Member
    Join Date
    Sep 2012
    Posts
    128
    Thanks
    1
    Thanked 14 Times in 14 Posts

    Default Re: How to make a quiz in Java?

    Your best bet would be to try and find a ready-made one on the internet. Doing it yourself will take time and patience if you aren't that far along in Java.

    Perhaps look in one of the better known Java books to see if they use this quiz idea as an example. I seem to recall one called Quiz Card Builder from "Head First Java".

Similar Threads

  1. simple gui java quiz
    By jumpman8947 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: February 4th, 2013, 07:41 AM
  2. Do You Know the Answer to Java Quiz?
    By dblog616 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 13th, 2012, 08:17 PM
  3. Making a Java quiz with Classes
    By diagnonsense in forum Java Theory & Questions
    Replies: 2
    Last Post: March 26th, 2012, 06:53 AM
  4. Free Java quiz .
    By skoiloth in forum Totally Off Topic
    Replies: 11
    Last Post: January 9th, 2012, 11:16 AM
  5. Quiz application
    By JonoF in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: May 10th, 2010, 06:06 AM