Computer program designed to simulate conversation with human users, over the internet. Jill Watson R language bots Al talkbot Chatbot
Added by Nathan B.
Step 1
Step 1: Identify the definition provided in the question, which describes a computer program that simulates conversation with human users over the internet. Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 69 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Assignment 3: Chatbot A chatbot is a computer program designed to emulate human conversation. For this program, you will use if statements, user input, and random numbers to create a basic chatbot. The Scenario You have decided to start a website and are creating a chatbot prototype to show investors so you can raise money and launch your website. Your chatbot should ask the user the following (minimum requirements for the grader) and then give answers depending on the answers the user inputs: - At least 5 questions - At least 2 if-elif-else statements - The use of the random module and randomly generated numbers Based on these criteria, some responses will be based on what the user types and some will be based on random numbers. For example, if the chatbot asks how the user is doing, your chatbot might respond "I'm sorry to hear that." in response to a user input of "sad", or "That's great!" in response to a user input of "happy". Additionally, you could also have a random number generated between, say, 1 and 3 and have a corresponding response depending on the number to randomly answer with "That is great to hear." or "So interesting.", and so on. Sample Run Please note that due to the infinite possibility of questions that can be asked, your program will be different—this is only one example. What is your first name? Pascal What is your last name? Smith Hi there, Pascal Smith, nice to meet you! How old are you? 17 17 is a good age. You are old enough to drive. So, Pascal, how are you today? Happy You are happy. That is good to hear. Tell me more. I am just happy. That's good to hear. Well, Pascal, it has been nice chatting with you.
Akash M.
In Java. Create a basic chat bot. All input will come from the command line. If the user entered nothing at the command line, show Nothing to say? If the user entered some variation of how are you today? show Fine, but could use some more power. As long as the input has the word "are" before the word "you", print this message. Make your program smart enough to accept variations of these words (see output). If the user entered some variation of what is your favorite something? Display something? I'm only interested in transistors. In all other cases, show I didn't understand that.
can you humanize ai texts?
Shu N.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD