Assignment 5
FE All
ES04T Structured Programming
Announcement 14/11/2024 Submission Last week of November
Date Date
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 5
FE All
ES04T Structured Programming
Q.1: Explain the following terms related to functions:
a. Function Body b. Function Header
c. Function Definition d. Function Prototype
e. Function Call
Q.2: Differentiate between Parameter passing and Returning
Q.3: Differentiate between Actual Parameters and Formal Parameters
Q.4: Write a function isprime() which will return 1 if given number is prime
Otherwise it will return 0. Use this function to display list of Prime numbers
between 1 to 500 in descending order.
Q.5: Explain the following library functions with example:
1. ispunct()
2. isalnum()
3. tolower()
4. isalpha()
5. ceil()
6. floor()