Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python. please use # to explain what youre doing so i can understand it MIS 301 Eller MIS Programming Assignment #2 . Learning Objectives Demonstrate

python. please use # to explain what youre doing so i can understand it image text in transcribed
image text in transcribed
MIS 301 Eller MIS Programming Assignment #2 . Learning Objectives Demonstrate the use of if else/elif statements Demonstrate the use of functions and conditional algorithms Demonstrate use of Strings Demonstrate the use of indefinite loops Demonstrate good program structure Due Date Midnight, Sunday, February 28th Programming Assignment #2 D2L Dropbox Assignment Overview (10 points) Write a program that prompts for a number and displays it in Roman numeral equivalent. Consider the algorithm below: For decimal number : 1. From the following table, find the highest decimal value v that is less than or equal to the decimal number x and its corresponding roman numeral n: Decimal value (V) Roman numeral (n) 1 1 4 IV 5 V 9 LX 10 40 XL 50 L 90 XC 100 400 CD 500 D 900 CM 2. Write the roman numeral n that you found and subtract its value v from x: 3. Repeat stages 1 and 2 until you get zero result of Example X 36 Iteration # Decimal number (x) Highest Highest decimal roman Temporary value numeral result (w) (n) 1 36 10 X 2 26 10 XX 3 16 10 XXX 4 6 5 V XXXV 5 1 1 1 XXXVI Grading Rubric Grading will be based on the criteria provided in the grading rubric below. a) Program doesn't execute (no credit for program) b) Failure to submit Word document (no credit for program) c) Inconsistencies in content between the source code submitted in the Word document and the source code in the screen shots. (no credit for program) d) Late submission of Word document (instructor's discretion) e) Use of components outside of constructs not covered in Modules 1-5 f) Failure to submit all three components of program submission (1) source code. (2) screenshots of the source code, and (3) screenshots of execution results. 1-2 points) B) Failure of program to produce correct output. (-2 to 4 points) h) Failure to provide significant documentation so program logic is easy to understand (-1 point) 0 Failure to follow naming conventions. (1 point) MIS 301 Eller MIS Programming Assignment #2 . Learning Objectives Demonstrate the use of if else/elif statements Demonstrate the use of functions and conditional algorithms Demonstrate use of Strings Demonstrate the use of indefinite loops Demonstrate good program structure Due Date Midnight, Sunday, February 28th Programming Assignment #2 D2L Dropbox Assignment Overview (10 points) Write a program that prompts for a number and displays it in Roman numeral equivalent. Consider the algorithm below: For decimal number : 1. From the following table, find the highest decimal value v that is less than or equal to the decimal number x and its corresponding roman numeral n: Decimal value (V) Roman numeral (n) 1 1 4 IV 5 V 9 LX 10 40 XL 50 L 90 XC 100 400 CD 500 D 900 CM 2. Write the roman numeral n that you found and subtract its value v from x: 3. Repeat stages 1 and 2 until you get zero result of Example X 36 Iteration # Decimal number (x) Highest Highest decimal roman Temporary value numeral result (w) (n) 1 36 10 X 2 26 10 XX 3 16 10 XXX 4 6 5 V XXXV 5 1 1 1 XXXVI Grading Rubric Grading will be based on the criteria provided in the grading rubric below. a) Program doesn't execute (no credit for program) b) Failure to submit Word document (no credit for program) c) Inconsistencies in content between the source code submitted in the Word document and the source code in the screen shots. (no credit for program) d) Late submission of Word document (instructor's discretion) e) Use of components outside of constructs not covered in Modules 1-5 f) Failure to submit all three components of program submission (1) source code. (2) screenshots of the source code, and (3) screenshots of execution results. 1-2 points) B) Failure of program to produce correct output. (-2 to 4 points) h) Failure to provide significant documentation so program logic is easy to understand (-1 point) 0 Failure to follow naming conventions. (1 point)

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

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions