Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

undefined Application Development Assessment 1 Exam - Version B Programming/Coding - Dictionary basics Super Hero and Their Powers Write a program that starts off with

undefinedimage text in transcribed

Application Development Assessment 1 Exam - Version B Programming/Coding - Dictionary basics Super Hero and Their Powers Write a program that starts off with a predefined set of Super Heroes and their Powers entered into a dictionary as key-value pairs (see below for startup pre-entered data). The program should display a menu and not exit the program/menu until the user decides to exit. The menu choices should allow user to do the following (Use the same order): 1) Display all the Names and Powers in the dictionary 2) Display how many Super Heroes are in the dictionary 3) Display all the Names only in the dictionary 4) Display all the Powers only in the dictionary 5) Look up a specific Super Hero's Power if not found display 'Super hero not found' 6) Confirm that a Super Hero is in the dictionary 7) Add a Super Hero and Power into the dictionary 8) Change a Super Hero's Power in the dictionary 9) Remove Super Hero and Power from the dictionary 10) Remove all the data from the dictionary 11) Exit the menu The following dictionary items(5) should exist in the program on the startup of the program: Superman : Strength Flash : Speed Spider-Man: Spider like abilities Daredevil : Martial Arts (I know, technically not a super power) Elektra : Trained Assassin (I know, technically not a super power) In addition to completing the program, the program must contain: If (else) statements Loop(s) Function(s) Display/Output information that is formatted and understandable to the user Input must have an understandable user prompt of what to enter Do not just display the results (include header, and/or label, and/or description) When removing items (#9 & #10), a confirmation/cancelation option choice must be provided prior to removal

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Understand the roles of signs, symbols, and artifacts.

Answered: 1 week ago

Question

Discuss the key ambient conditions and their effects on customers.

Answered: 1 week ago

Question

Be familiar with the integrative servicescape model.

Answered: 1 week ago