LabAssignment_13b

docx

School

Texas A&M University *

*We aren’t endorsed by this school

Course

102

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

1

Uploaded by ProfLightning103643

Report
ENGR 102 Lab Assignment #13b Deliverables : There are two deliverables for this assignment however submit in one code. This individual lab is a one-week assignment and should be turned in to CANVAS. turtle.py Activity #1 : Planning document (Recommendation only) You may use a top-down, a bottom-up, or some hybrid approach to designing your program. No matter what you choose, you should go through a design process. 1) Before writing any code, you should first think through your design process. Try to do so carefully – either follow a top-down approach, a full bottom-up approach, or some combination. In any case, you should come up with a list of functions you plan to implement, each with its own clear purpose. 2) You should do this twice, once for the clock requirement and once for the Thanksgiving requirement. 3) Create a document that outlines all the functions you will create, a purpose for each function, stating what the function does, and any parameters it has. The purpose for each function should become its docstring. Activity #2 : Converting and drawing Roman numerals You are to create a program that uses the turtle graphics routines to draw Roman numerals. In your program, have the user input time either in AM/PM or 24hr, convert it to a Roman numeral, and then draw the letters. Roman numerals are a way of writing numbers in ancient Rome. Letters are used to represent fixed integer values and can be combined to represent other numbers. They are commonly found on clock faces and old buildings. https://en.wikipedia.org/wiki/Roman_numerals Have your program draw Roman numerals for any time inputted in hours and minutes. You may find the Python documentation of the turtle module helpful: https://docs.python.org/3.3/library/turtle.html Activity #3 Modify your program to accept a date and then draws out the date. Use this Thanksgiving date as your test case. Based upon Dr. Keyser’s Original 1 Revised Fall 2020 SNR
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help