0% found this document useful (0 votes)
15 views1 page

Programming Concepts and Functions Guide

The document is an assignment for the Programming for Problem Solving course at V.V.P. Engineering College, detailing various questions related to user-defined functions, recursion, pointers, structures, memory allocation, file management, and unit testing. Each question is linked to specific course outcomes and cognitive levels. The assignment is due on or before April 24, 2025.

Uploaded by

vikigadhiya7011
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

Programming Concepts and Functions Guide

The document is an assignment for the Programming for Problem Solving course at V.V.P. Engineering College, detailing various questions related to user-defined functions, recursion, pointers, structures, memory allocation, file management, and unit testing. Each question is linked to specific course outcomes and cognitive levels. The assignment is due on or before April 24, 2025.

Uploaded by

vikigadhiya7011
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

V.V.P.

ENGINEERING COLLEGE
DEPARTMENT OF COMPUTER EBGINEERING
Assignment-2
A.Y. 2024-2025(Even)
Semester: 2
Subject : Programming for Problem Solving (BE01000121)
Sr no Questions CO CL
What is user define function? Why it is used? Explain the elements of
1 CO4 R, E, U
UDF (Function prototype, Function call & Function definition).

2 Explain the different categories (types) of functions with example. CO4 AP

State the difference between call by value and call by reference


3 CO4 A, AP
with example.
What is recursion? What do you mean by recursive function explain
4 CO4 R, AP
with example.
What is pointer? Explain how pointers are declared and initialized.
5 CO3 R, U
State its advantages.
6 Explain pointer to array with example. CO3 AP

What is structure? How to access the elements of structure? How to


7 CO3 R, AP
calculate size of structure? Explain with example.

8 Write difference between structure and union. CO3 A

State the difference between static memory allocation and


9 CO3 A, U
dynamic memory allocation. Explain malloc() and calloc().

What is file management? List different file management functions


10 CO4 R, U
and explain various file modes.
11 What is Unit Testing? Explain test case with example. CO5 R, A

Submission Date : On or before 24/04/2025

You might also like