question bank III arrays and function

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Gopalan College of Engineering and Management

(Accredited by NAAC, 2(f) status by UGC & ISO


9001:2015 certified) Approved by All India Council for Technical
Education (AICTE), New Delhi Affiliated to Visvesvaraya
GCEM Technological University (VTU), Belagavi, Karnataka Recognised by
Govt. of Karnataka

QUESTION BANK

Academic Year 2023-24 (EVEN)


Programme B.E
Year / Semester/ Sec I/II sem/D sec
Course Code BESCK204E
Course Name INTRODUCTION TO C PROGRAMMING

MODULE 3

Q. No. Bloom
Questions Taxono
my

1. Define an Array. Explain the declaration and initialization of an 1D L2


array in C with syntax.
2. How 1D integer array is represented in memory. L2
Write a C program to sum all the elements of a matrix and print the result..
3. What all the operations can be performed using arrays? Create an array L2
of N numbers. Find out largest number among them.
4. Explain how value of individual array elements can be passed into a L2
function with an example.
5. Develop a C program to perform binary search.
L2
WAP to search for a key element in an array using linear search
6. Explain the different storage classes supported by C with suitable programming
L2
examples
7. What is recursion? Develop a C program to print Fibonacci series using
L3
recursion.
8. Define a function. Explain the purpose of function in C program. L3
Discuss the terminology used in functions.
9. Discuss the various ways of passing the parameters to the functions.
L2
10. Distinguish between Call by Value and Call by Reference using suitable
L2
example.
11. Write a C program to sort the given set of N numbers using Bubble sort.
L2
12. Write a program to find GCD of two numbers using recursion function.
L3

You might also like