Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Generating Random Questions from answers

Generating Random Questions from answers

Scheduled Pinned Locked Moved Java
questionjavaalgorithmstutoriallounge
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saigowthami
    wrote on last edited by
    #1

    Hi, I am developing an application, where I need to convert the answers as questions, for example if the Ans : my internet connection is slow. its corresponding question might be Question : Why your internet connection is slow? Like wise, is there any way or any algorithm in java. Kindly assist.

    L 1 Reply Last reply
    0
    • S saigowthami

      Hi, I am developing an application, where I need to convert the answers as questions, for example if the Ans : my internet connection is slow. its corresponding question might be Question : Why your internet connection is slow? Like wise, is there any way or any algorithm in java. Kindly assist.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I'm not sure what you mean by an algorithm for this, you just need some sort of collection of questions and answers that you can sort and search. Take a look at the Java collection classes[^].

      Use the best guess

      D 1 Reply Last reply
      0
      • L Lost User

        I'm not sure what you mean by an algorithm for this, you just need some sort of collection of questions and answers that you can sort and search. Take a look at the Java collection classes[^].

        Use the best guess

        D Offline
        D Offline
        dusty_dex
        wrote on last edited by
        #3

        This problem reminds me of AI program ELIZA. "for when you're lonely or homesick" ;P Java code here

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups