Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 7 Given a date string in the form Day Month Year, where Day is in the set (10. 2nd, 3rd 4th - 30th 31st).

image text in transcribed
image text in transcribed
Question 7 Given a date string in the form Day Month Year, where Day is in the set ("10. "2nd, 3rd 4th - 30th 31st"). Month is in the set (Jan', 'Feb Mar Apr May Jun Jul", "Aug". "Sep". "Oct", "New". "Doc"). Year is in the range 1800, 2100) Convert the date string to the format YYYY-MM-DD, where: YYYY denotes the 4 digit year. MM denotes the 2 digit month. DD denotes the 2 digit day. Example 1: Input date= "20th Oct 2052" Output: 2052-10-20 Example 2 Input date = "6th Jun 1933" Output "1933-06-06 Example 3: Input date=26th May 1960" Output: 1960-05-26 Constraints: The given dates are guaranteed to be valid, so no error handling is necessary. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). B / U S Paragraph Arial 14px V !!! > !!! ABC E Grid View List View Exemplary (A) Accomplished (AVD+/B) Developing (B-CHIC) Good Documentation. Comments and Indentation are included. 1.35 (0.00%) - 1.5 (10.00%) Excellent Program description and all major functions are correctly documented 1.2 (0.00%) - 1.335 (8.80%) Very Good Program description and all major functions are documented but are not all correct 1.05 (7.00%) - 1.185 7.90 Batifactory All major lun are documented buna program description Correct input statements are Included. 3.375 (22.50%) -3.75 (25.00%) Excelleht Input statement is well defined with no conflict of data types. Check for input outside expected range is done. 3 (20.00%) - 3.3375 (22.25%) Very good Input statement is included, correct and is with no conflict of data. There is no check for inputs outside expected range. 2.625 (17.50%) - 2.982 (19.75%) Satisfactory Input sta included and correct no proper check for and no check for w Correct output statements are generated. 3.375 (22.50%) -3.75 (25.00%) Excellent Output is exactly as required for all the given inputs. 3 (20.00%) - 3.3375 (2225%) Very good Output is generated correctly but it is not formatted as required. 2.625 (17.50%)-2.9 (19.75%) Satisfactory Outpu generated but not the given inputs. Correct logic is used to arrive at the solution. 2.7 (18.00%) - 3 (20.00%) Excellent Correct logic that generates the required output. 2.4 (16.00%) -2.67 (17.80%) Very good Logic was applied and is correct but is not the best. 2.1 (14.00%) - 2 Satisfactory Log but is only part Python syntax is correctly used. 2.7 (18.00%) - 3 (20.00%) Excellent Perfect syntax 2.4 (16.00%) - 2.67 (17.80%) Very good Negligible syntactic errors 2. (14,00%) Satisfactory errors Name:Rubric for Programs Description:Evaluation for good programming skills

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago