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

  Q1 explain what a relational database is and explain why

you are the trainer for a major technology firm. one of the problems your firm has is hiring new technologists who have

  Describe your idea of the database

Imagine that you have been hired by a company to build a database for it and complete the following tasks - modeling of business requirements and understand the physical implementation of logical business models through the use of E-R models.

  Write name of employee on every project located in houston

Write the name(s) of employee(s) who works(work) on every project located in Houston. Write the name(s) of employee(s) who only works(work) on every project located in 'Houston.'

  Prepare a dfd and context diagram for the system

Journal entries have to be reconciled with the spreadsheet on a daily basis - Prepare a context diagram for the system and also prepare a diagram 0 DFD for the system

  Knowledge and data warehouse hi there i need to start the

hi there i need to start the assignment for data warehouse where i need to define assignmentyou are required to design

  Draw a complete entity relationship model

Discuss any FOUR reports that would be generated from the data model - Draw a complete Entity Relationship (ER) model using data model notation that you are familiar.

  Create data file grades with records of the form

Input names of students from the user, terminated by ZZZ, and create a data file GRADES with records of the form.

  Create ssis jobs and an operator

Use Hands-on Projects to create SSIS Jobs and an Operator; and use SQL Server Profiler tool.

  Recognize input data required for each of processes

Recognize input data required for each of processes. Recognize logical name for each data output item and kind of data output (real number, integer, text).

  Design considerations and calculation

Consider a database with objects X and Y and assume that there are two transactions T1 and T 2. Transaction T 1 reads objects X and Y and then writes object X. Transaction T 2 reads objects X and Y and then writes objects X and Y.

  How to use traditional database design method

Explain how you would follow three phases of traditional database design method (Hierarchical, Network, and Relational), considering the following scenario.

  Method to change column name

Hhow can you change column name or what is a different way to write statement in SQL so it displays the amount column as money.

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