Express how the program is to work

Assignment Help Computer Engineering
Reference no: EM1337195

Write a GUI program which incorporates a try-catch block to error check your input for integers and alphabetic characters other than Y or N. Your program must include two interactions. Each interaction will ask the user at least two questions, both of which require a yes/no response (Y or N). The program flow will depend on both user responses. Your program must include at minimum an OK and Exit button. You cannot have a Yes/No button as the user must be able to type Y or N in the GUI. See the document below for more information:

I will explain how the program is to work. The idea is to create a simple artificial intelligence program.

1. Must be a GUI
2. Must employ at minimum one try-catch block.
3. Must include two distinct interactions with at least two questions each.
4. Must include a OK, Exit (and optional a Continue button)

Example of Interaction #1:

Your Program Asks the User:

Q#1: "Do you like red wine?" User answers Y or N (if anything other is entered like "A" or -99 your program needs to catch it and reply with the appropriate error message to the user and allow the interaction to continue).

Q#2 is based on first answer being Y. If it was N you would need to ask a different question.

Q#2: "My favorite red wine is Shiraz. Is it yours?" User answers Y or N
You need at least two questions per interaction (if you want to make your code more intelligent you can). Your program at this point should ask the user if they wish to continue with a new interaction or simply have a continue button.

Example of Interaction #2 (with more than two questions):

Q#1: "Do you have a favorite partial information zero sum game?" User Answers Y

Q#2: "Is it a poker game?" User Answers Y

Q#3: Is it Texas Hold'em?" User Answers Y or N

If the answer to Q#2 is N your program might respond with: "Is the game War?"

Reference no: EM1337195

Questions Cloud

Information about capital market instruments : Describe and critically discuss the capital market instruments used in investment portfolio.
Estimating completion of task : Each of the tasks needs an estimate of how long it will take.
Explain elements of the marketing mix and marketing strategy : Explain Elements of the Marketing Mix and Marketing Strategy and Include a detailed overview of each element of the marketing mix
Assume that in a perfectly competitive market : Assume that, in a perfectly competitive market at the profit maximizing quantity, the market price is greater than average total cost.
Express how the program is to work : Write a GUI program which incorporates a try-catch block to error check the input for integers and alphabetic characters other than Y or N. Your program must include.
Payment of a fixed amount of money : The requirement that, to be negotiable, an instrument must promise or order payment of a fixed amount of money applies only to principal
Explain what are the four p''s : Explain what are the four p's that would be successful marketing handheld minicomputers to you executives
Illustrate what will sales be if the price : What is the equilibrium price and quantity. Illustrate what will sales be if the price is dropped to $20.
Explain marketing manager vs marketing analyst : Explain Marketing Manager Vs Marketing Analyst and Vision for the IT Service Company

Reviews

Write a Review

Computer Engineering Questions & Answers

  Computer forensics investigation

As a new computer forensics investigator and as a matter of the forensics policy and procedure, you will require to understand the procedures for processing incident scene for the digital and the logical evidence.

  What type of procedures might a company put into place

What are some common steps and what type of procedures might a company put into place.

  Finding most effective it projects

What will you recommend they do in order to find the most effective IT projects?

  Implementing the c++ code

Write down a C++ code in order to. implement the following application. Make sure to describe all the variables which you will use.

  Use apa format and have a list of references

As you are aware a software product license grants individuals the legal right to run or access a software program. A license agreement governs the use of the licensed software program. One of the ongoing sagas in Information Technology is the que..

  Identifying the malicious activity in the program

State the most effective method in order to find if an attack has been made on the computer network? Specify the malicious activities does your recommendation recognize?

  Do clear data from my maskedtextbox named "mtbpac"

I am using Visual Basic.NET with Microsoft Visual Studio 2005. I have a project with a User Control that I have created. I have a button that I named Clear. I require to clear the data from my maskedtextbox named "mtbPAC".

  The main reasons for it project failures

Why do you believe some projects do not meet their objective or scope.

  A comfort level with the switches and maybe routers

Do you feel comfortable working with network infrastructure itself.

  Assigning the link password

Bob has forgotten his password. Allocate him a password of LINK and require that the Bob change his password next time he logs on.

  What are the advantages of the osi reference model

Using the layers of the OSI model as a reference, explain and sketch how repeaters, hubs, bridges, switches, routers, and gateways function in forwarding packets from one host to another through each device respectively.

  Description of the steps performed for each the steps

The objective of this assignment to is make multiple backups of databases and then to restore the databases from the backups you've created.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd