0% found this document useful (0 votes)
17 views2 pages

1st Year CSE Programming Assignments

Uploaded by

viral.prajapati
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)
17 views2 pages

1st Year CSE Programming Assignments

Uploaded by

viral.prajapati
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

ASSIGNMENT

Date :

Department: Information Technology

Duration/Term: 1/2/2024 to 25/5/2024 Class: 1st year Semester: 2nd


Subject: Programming for Problem Solving
Faculty Department: CSE
Subject Code: 3110003
Last Date of Assignment Submission: 16/04/2024 Assignment No.: 04
Name of Faculties: Mr. Ritesh K. Chauhan, Mr. Viral M. Prajapati

Question Description Satisfied


‘CO’
No.
Q.1 What is function? Explain parameter passing technique with example. R NC103.4
Q.2 Which are various categories of functions. Explain any one with R NC103.4
example.
Q.3 Create a function to swap the values of two variables. E NC103.4
Q.4 What do you mean by local and global variables? Give their scope and R NC103.4
life time and compare them.
Q.5 What is recursion? Explain it with factorial(4). Write C program to find R, E NC103.4
factorial (N) using recursive Function?

Prepared By: Approved By:

Mr. Ritesh K. Chauhan Mr. Viral M. Prajapati Mr. Bhavesh D. Patel


Assistant Professor, Assistant Professor, HOD,
Computer Science and Engg. Computer Science and Engg. Computer Science and Engg.
ASSIGNMENT
Date :

Department: Information Technology

Duration/Term: 1/2/2024 to 25/5/2024 Class: 1st year Semester: 2nd


Subject: Programming for Problem Solving
Faculty Department: CSE
Subject Code: 3110003
Last Date of Assignment Submission: 16/04/2024 Assignment No.: 05
Name of Faculties: Mr. Ritesh K. Chauhan, Mr. Viral M. Prajapati

Question Description Satisfied


‘CO’
No.
Q.1 What is array? Demonstrate declaration and initialization of one R NC103.5
dimensional array and two dimensional array with suitable example.
Q.2 Write a program to multiply two matrices A and B of size 3 * 3. Store E NC103.5
the answer in matrix C and display it.
Q.3 Explain how string is defined in C. List the various inbuilt string U NC103.5
functions and explain any 4 of them with example
Q.4 Write a program to accept a string and count the number of vowels E NC103.5
present in a string.
Q.5 What is pointer? Write a program to do swapping of two elements using U, E NC103.5
pointers.

Prepared By: Approved By:

Mr. Ritesh K. Chauhan Mr. Viral M. Prajapati Mr. Bhavesh D. Patel


Assistant Professor, Assistant Professor, HOD,
Computer Science and Engg. Computer Science and Engg. Computer Science and Engg.

You might also like