Hello First year students of Vignan, we are going to start Introduction_to_Coding Assignments. Please complete I_Can_Do_Coding_Part_One, this Assignment will be available from 28th Nov to 1st Dec 2023. The questions are very basic. When you start coding, please provide your Roll No instead of your Name. Please participate using the following link:
NPTEL Problem Solving Through Programming In C Week 12 : Programming Assignment 1-5
Week 12 : Programming Assignment 1
Due on 2023-10-19, 23:59 IST
Write a program in C to find the factorial of a given number using pointers.
Private Test cases used for Evaluation
Status
Test Case 1
Passed
Week 12 : Programming Assignment 2
Due on 2023-10-19, 23:59 IST
Write a C program to print the Record of the Student Merit wise. Here a structure variable is defined which contains student rollno, name and score.
Public Test Cases
Input
Expected Output
Actual Output
Status
Test Case 1
3
1
Santanu
700
2
Aparna
550
3
Vivek
900
The Merit List is :\n
3 Vivek 900\n
1 Santanu 700\n
2 Aparna 550
The Merit List is :\n
3 Vivek 900\n
1 Santanu 700\n
2 Aparna 550\n
Passed after ignoring Presentation Error
Week 12 : Programming Assignment 3
Due on 2023-10-19, 23:59 IST
Write a C program to store n elements using Dynamic Memory Allocation - calloc() and find the Largest element
Public Test Cases
Input
Expected Output
Actual Output
Status
Test Case 1
5
200
300
500
100
400
Largest element = 500.00
Largest element = 500.00
Passed
Week 12 : Programming Assignment 4
Due on 2023-10-19, 23:59 IST
Write a C program to find the sum of two 1D integer arrays ‘A’ and ‘B’ of same size and store the result in another array ‘C’, where the size of the array and the elements of the array are taken as input. In the Test case the input is given as follows
5
10
20
30
40
50
1
2
3
4
5
So the output will be displayed as
Result is
11
22
33
44
55
Write the program accordingly. Use dynamic memory allocation.