Control structure Activtiy (Python)

Anonymous
timer Asked: Dec 9th, 2017
account_balance_wallet $30

Question Description

Complete only control structures acitivity. Code from zybooks is already provided. Just re-write code in text file with annotaions. Use link: https://www.python.org/dev/peps/pep-0020/

This is a list of best practices for writing python. Use that in annotations and just complete parts A, B, and C under control structure activity.

Zybooks lab 4.9 with code is below and assignment rubric is attached.

(1) Prompt the user for an automobile service. Output the user's input. (1 pt) 

Ex:
Enter desired auto service: Oil change
You entered: Oil change

(2) Output the price of the requested service. (4 pts) 

Ex:
Cost of oil change: $35

The program should support the following services:
Oil change -- $35
Tire rotation -- $19
Car wash -- $7
If the user enters a service that is not listed above, then output the following error message: 


Error: Requested service is not recognized.


LAB
ACTIVITY

4.9.1: Warm up: Automobile service cost (Python 3)

service=str(input("Enter desired auto service: \n"))
print("You entered:", service)


if (service.lower() == "oil change"):
    print("\nCost of oil change: $35")
elif (service.lower() == "tire rotation"):
    print("\nCost of tire rotation: $19")
elif (service.lower() == "car wash"):
    print("\nCost of car wash: $7")
else:
    print("\nError: Requested service is not recognized.")

CS 200 Milestone Two Guidelines and Rubric Overview: In this milestone assignment, you will address critical elements related to both parts of the final project. First, you will submit a control structure activity. You may use your zyBooks lab activity or the optional lab in Module Three for this portion of the milestone, which incorporates the same critical elements as Milestone One (best practices, problem-solving approaches, and the rationale for your choice of algorithm and data structure). For the second part of this milestone, you may refer to the resources located in the resources section of Module One, in addition to one or more resources of your own. Prompt: To complete Milestone Two, you will first choose a second activity that demonstrates the creation of control structures. You will annotate your code and submit a text file using Python best practices to address the critical elements below. Next, you will write a professional reflection in which you articulate how you see yourself as a computer science professional in relation to one of the current and emerging directions in the industry: big data, robotics, cybersecurity, or the Internet of Things (IoT). You will choose one of these topics as a lens through which you can discuss your experiences and goals in the computer science industry. Specifically, the following critical elements from Part I must be addressed: II. Submit your control structures activity. A. Describe the programming best practices you used in accurately completing this task by annotating your code: Include where best practices were implemented and why you used them. B. Explain the problem-solving approaches you employed while completing this task. Include this information in your code annotations, and be sure to address the tool(s) you used to complete this task. C. Explain in your code annotations why the algorithm and data structure you ultimately chose to accurately complete this task provided the most efficient solution to this problem. The following critical elements from Part II must also be addressed: I. Explain the significance of your chosen topic (big data, robotics, cybersecurity, or the Internet of Things) in the computer science industry. A. Describe your topic for someone who may not be familiar with what it is. Be sure to provide real-life examples. (For instance, you might talk about Amazon if you are describing big data). B. Describe the future development and possible applications of your topic in society. C. Detail the career opportunities in your topic area, including how someone would prepare to take on those careers. Rubric Guidelines for Submission: Your analysis of a control structures activity should be an annotated text file of code displaying Python best practices. The explanation of your topic’s significance should be a Microsoft Word document, double spaced, with 12-point Times New Roman font, one-inch margins, and APA formatting. Instructor Feedback: This activity uses an integrated rubric in Blackboard. Students can view instructor feedback in the Grade Center. For more information, review these instructions. Critical Elements Exemplary (100%) Proficient (85%) Needs Improvement (55%) Not Evident (0%) Value Control Meets “Proficient” criteria, and choice Structures: Best of best practices demonstrates a Practices thorough and efficient application of control structure task Describes where and why programming best practices were used while accurately completing the task Describes where and why programming best practices were used while completing the task, but description is cursory or inaccurate, or the task itself was completed inaccurately Does not describe where and why programming best practices were used while accurately completing the task 17.5 Control Meets “Proficient” criteria, and choice Structures: of problem-solving approaches and Problem Solving tools demonstrates a thorough and complete application of control structure task Explains problem-solving approaches and tools used while accurately completing the task Explains problem-solving approaches and Does not explain problem-solving tools used while completing the task, but approaches and tools used while explanation is cursory or inaccurate, or accurately completing the task the task itself was completed inaccurately 17.5 Explains why chosen algorithm and data structure provided the most efficient solution to the problem Explain why chosen algorithm and data structure provided the most efficient solution, but explanation is cursory or inaccurate, or the task itself is completed inaccurately Does not explain why chosen algorithm and data structure provided the most efficient solution to the problem 10 Describes topic for someone unfamiliar with it, providing real life examples, but description is cursory or contains inaccuracies Does not describe topic for someone unfamiliar with it 15 Does not describe the future development and possible applications of topic in society 15 Control Structures: Algorithm and Data Structure Meets “Proficient” criteria, and choice of algorithm and data structure reveals a well-defined knowledge of control structure application Significance of Chosen Topic: Describe Meets “Proficient” criteria, and real-life Describes topic for someone examples and descriptive details unfamiliar with it, providing illustrate in-depth knowledge of topic real-life examples Significance of Chosen Topic: Future Development Meets “Proficient” criteria, and applications and descriptive details illustrate in-depth knowledge of topic Describes the future Describes the future development and development and possible possible applications of topic in society, applications of topic in society but description is cursory or contains inaccuracies Significance of Chosen Topic: Career Opportunities Meets “Proficient” criteria, and breadth of opportunities and preparation illustrate careful thinking about the topic Details career opportunities in Details career opportunities in topic area, Does not detail career topic area, including how to including how to prepare for those opportunities in topic area prepare for those careers careers, but description is cursory or contains inaccuracies 15 Articulation of Response Submission is free of errors related to citations, grammar, spelling, syntax, and organization and is presented in a professional and easy-to-read format Submission has no major errors Submission has major errors related to related to citations, grammar, citations, grammar, spelling, syntax, or spelling, syntax, or organization that negatively impact organization readability and articulation of main ideas Submission has critical errors related to citations, grammar, spelling, syntax, or organization that prevent understanding of ideas 10 Total 100%

Tutor Answer

LESTER_PRO
School: New York University

f...

flag Report DMCA
Review

Anonymous
Top quality work from this guy! I'll be back!

Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors