Problem related pseudocode for a game application

Assignment Help Database Management System
Reference no: EM13727003

Question: Create the pseudocode for a game application that contains an array of five (5) multiple-choice questions related to your favorite hobby. Each question contains four answer choices - A..., B..., C..., D... (the ...'s are your potential answers including the correct answer). All four (4) choices for each question should be stored in a parallel array. Also create another parallel array that holds the correct answer to each question-A, B, C, or D. NOTE: all arrays are single-dimension.

When a player starts (launches) this game app, pass each question to a method that displays the question and accepts the player's answer (A, B, C, or D). If the player does not enter a valid (not necessarily a correct) answer choice, force the player to reenter the choice until the player enters a valid (might not be a correct answer) value of A, B, C or D. Return the player's valid (but not necessarily correct) answer to the main program. After the player's answer is returned to the main program, pass it and the correct answer to a method that determines whether the values are equal and displays an appropriate message. After the player answers all five questions, display the number of correct and incorrect answers that the player chose. Be sure to use the concepts of this chapter where appropriate - arguments/parameters, return values, void, etc.

Reference no: EM13727003

Questions Cloud

Research an issue related to information technology ethics : For this assignment, you will research an issue related to information technology ethics. You may want to select a topic you feel will have an impact on your professional life.
Calculating the average value of five sample measurements : Factors that should be considered when selecting Six Sigma projects include the following EXCEPT. Calculating the average value of 5 sample measurements of door width is an example of
Discusses the requirements of external audit : What is their share in the market? Which is your target market? What external sources may influence our operations
What are the structural differences in the plans : What are the structural differences in the plans? Address the following items for each plan: number of branches of government, Number of houses in the Congress of each plan and congressional members chosen by whom.
Problem related pseudocode for a game application : Create the pseudocode for a game application that contains an array of five (5) multiple-choice questions related to your favorite hobby. Each question contains four answer choices - A..., B..., C..., D...
Create the pseudocode for a game application : Create the pseudocode for a game application that contains an array of five (5) multiple-choice questions related to your favorite hobby.
How much would a canadian dollar : Assume the inflation rate in Canada to be 5 percent per year for the indefinite future. How much would a Canadian dollar, at the end of 10 years, be worth in terms of today's dollar?
Power point presentation on data warehouse tasks : Ppt data warehouse tasks: First Style  1-Dimensions 2- The fact table 3- Browse the cube
Why is play differentiated from other activity : Examine Huizinga's "Play Theory." Why is "play" differentiated from other activity? What makes play "play" and not just another activity one does in the day?

Reviews

Write a Review

Database Management System Questions & Answers

  Patients post cardiac bypass surgery

Monitor Renal Outcomes in patients post cardiac bypass surgery?

  Produce an entity-relationship diagram

Produce an Entity-Relationship diagram which represents the above activities of the insurance company. Indicate the names and degrees of all the relationships. Give appropriate attributes for each entity shown, and identify the primary key for eac..

  A database security did not take priority in the enterprise

Data breaches have been reported in all industries, from education to healthcare to finance. Database security did not take priority in the enterprise IT security plans until a few years ago

  Assume you were a newly hired it security manager at a

assume you were a newly hired it security manager at a software development company that in the past hasnt paid much

  A simple database with a single table contains data

a simple database with a single table contains data concerning rental properties in australia. the table contains five

  Display the results in descending order by the gross sales

Display all the columns from the Orders table that were paid with a Visa Card and have been shipped to the customer (hint: not a null). Order results by the Item Price in descending order.

  Use of dictionary-managed tablespaces in database

our current database uses dictionary-managed tablespaces. In running various performance tuning scripts, you have discovered that one of these tablespaces seems to have run out of space long before you calculated that it would.

  Identify and explain the differences between a stack and a

identify and explain the differences between a stack and a queue data structure and provide examples of the basic

  Develop preliminary database tables for huffman trucking log

Use Microsoft Access to develop preliminary (no keys and no relationships) database tables for Huffman Trucking Driver Log.

  Show the rea diagram using microsoft word

Show the REA diagram using Microsoft Word

  Find that the data structure holds redundant data

Imagine that you have been hired to fulfill their need of enhancing the data repository for their current reservation processing system. Upon reviewing the system, you find that the data structure holds redundant data and that this structure lacks..

  Part 1 - reportwrite a 2000-word report that describes a

part 1 - reportwrite a 2000-word report that describes a suitable methodology from the literature for the purpose of

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