Assignment 6
FE All
ES04T Structured Programming
Announcement 21/11/2024 Submission Last week of November
Date Date (25 to 29 Nov.)
Self-Declaration
It took me _________ hour(s) and ________minute(s) to solve the assignment, ensuring accuracy,
completeness, and adherence to professional and ethical standards.
Roll 2410 Name Sign
No.
Assessment
Grade Faculty Signature
Rubric:
Category Criteria Score Range
Code • Program runs successfully without errors.
Functionality • Meets all the specified requirements.
• Correct output for all test cases (including edge cases).
Code Quality & • Code is well-structured and readable
Style • Uses meaningful variable/function names.
• Proper indentation and formatting.
• Excellent: 9-10
• Follows best coding practices.
• Good: 7-8
Algorithm & • Uses appropriate algorithms.
• Satisfactory: 5-6
Efficiency • Solution is efficient with proper use of loops, conditionals,
• Needs
and data structures.
Improvement: 3-4
• Time and space complexity is reasonable for the problem.
• Unsatisfactory: 0-2
Documentation • Clear, concise comments explaining complex logic.
& Comments • Proper header comments for each function.
• Adequate overall documentation of the program.
Testing & • Comprehensive testing (normal cases, edge cases).
Validation • Clear evidence of debugging and validation.
• Includes output or test results for the test cases.
CO Mapping:
CO No. Statements
CO1 Student will be able to understand the fundamentals of C programming language
Student will be able to apply the control structures for solving the problem at hand
CO2
CO3 Student will be able to decompose the problem and solve it using modular programming approach ✓
Student will be able to demonstrate use of derived and user defined data types for collection and
CO4
processing of data
Student will be able to understand the concept of pointers and files to solve problems related to
CO5
dynamic and persistent data
Assignment 6
FE All
ES04T Structured Programming
Q.1: Write a recursive function to display Binary equivalent of decimal number.
Q.2: Write a recursive function to calculate reverse value of given integer and use it
to display list of Palindrome numbers between 10 to 1000.
Q.3: Write a recursive function to calculate nCr
Q.4: Write a recursive function to calculate sum of first n odd natural numbers.
Note: Even though in some questions only function is asked, you are supposed to write entire program consisting of
main() and recursive function.