Question

ESRB Ratings ─ Pseudocode The following rules are a modified version of the rules used to...

  1. ESRB Ratings ─ Pseudocode

The following rules are a modified version of the rules used to describe how to categorize video games into one of four Entertainment Software Rating Board (ESRB) categories – Mature (M). Teen (T), Everyone (E), Unknown (U).

  1. If the game has intense violence or sexual content, then it should be rated Mature.
  2. If the game has some violence or some strong language, then it should be rated Teen.
  3. If the game has mild content, then it should be rated Everyone.
  4. Otherwise, if the game does not fit into any of the above categories, then it should be rated Unknown.

Provide a pseudocode algorithm that uses this categorization scheme to determine the rating for a particular video game. More specifically, read in (1) the name of the video game, and (2) characteristics as needed (like whether the game has intense violence or sexual content, etc.) that help to determine which rating to assign to the game. Then print the game’s name and its rating.

Hint: Use a series of nested “if, else” statements. Inside each else section, prompt for an additional characteristic and then start the next “if, else” statement inside the previous else section. Remember that each “else” must be aligned with its partner “if” (as opposed to putting the else all the way at the left column). To determine a game’s rating, use this code as a starting point:

print “Intense violence or sexual content? (y/n): ”

input mature

if mature equals “y”

print gameName + “ rating: Mature (M)”

else

print “Some violence or some strong language? (y/n): ”

input teen

if teen equals “y”

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Thanks for the question.


Below is the pseduocode you will be needing  


Thank You !!

=============================================================================================

print ('Does the game has intense violence or sexual content (y/n)? ')
input intense

if intense equals'y'{
print(gameName +' Rating: Mature (M)')
}
else {

print ('Does the game has some violence or some strong language (y/n)? ')
input teen
if teen equals'y'{
print((gameName + ' Rating: Teen (T)')
}
else{

print('Does the game has mild contence (y/n)? ')
input everyone
if everyone equals'y' {
print((gameName + ' Rating: Everyone (E)')
}
else{
print(gameName + 'Rating: Unknown (U)')
}
}
}
  

Add a comment
Know the answer?
Add Answer to:
ESRB Ratings ─ Pseudocode The following rules are a modified version of the rules used to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I can't attach the data due to the file being real large i can email it...

    I can't attach the data due to the file being real large i can email it to you so i can have your help on it # Assignment 1 # R Programming Language # ---- Why do Exploratory Data Analysis (EDA)? ---- # We will be looking at ## identifying outliers ## null values ## generating plots ## examining correlations # -------------------------------------------------------------- # In this video we will cover: ## univariate plots for continuous variables (boxlots, historgrams) ## bivariate plots...

  • ROLE-PLAY EXERCISE On Command Corporation PROCESS You have been assigned a role in the On Command...

    ROLE-PLAY EXERCISE On Command Corporation PROCESS You have been assigned a role in the On Command Corporation case. Please read the general information (Introduction) about the case. Read and understand your role. Your teammates have different roles. Due the situation, you need to work with your team to produce an employee meeting, you have 15 minutes to present the statement and conduct the meeting – see the link attached with information about an employee meeting (you need to create a...

  • You need not run Python programs on a computer in solving the following problems. Place your...

    You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

  • Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of...

    Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of physician-centered and collaborative communication. How is the caregiver’s role different in each model? How is the patient’s role different? Answer: Physical-centered communication involves the specialists taking control of the conversation. They decide on the topics of discussion and when to end the process. The patient responds to the issues raised by the caregiver and acts accordingly. On the other hand, Collaborative communication involves a...

  • Discussion questions 1. What is the link between internal marketing and service quality in the ai...

    Discussion questions 1. What is the link between internal marketing and service quality in the airline industry? 2. What internal marketing programmes could British Airways put into place to avoid further internal unrest? What potential is there to extend auch programmes to external partners? 3. What challenges may BA face in implementing an internal marketing programme to deliver value to its customers? (1981)ǐn the context ofbank marketing ths theme has bon pururd by other, nashri oriented towards the identification of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT