BPOPS103 Module-3 Functions&Arrays Question-Bank
BPOPS103 Module-3 Functions&Arrays Question-Bank
QUESTION BANK
12 What are the three possibilities of defining a user defined functions in „C‟?
13 What is Recursion? Write a C program to compute polynomial co-efficient
nCr using recursion
Write a C program for evaluating the binomial coefficients using a function
factorial(n)
Write a C program to find the binomial co-efficient a number using recursion
17 Explain recursion. and write a program to find nth term of Fibonacci series
Arrays Questions
19 What is array ? Explain the declaration and initialization of one dimensional and two dimensional
array with an example
Define array.Explain with suitable example how to declare and initialize 1D
array
20 Write a C program to read N integers into an array A and to find the
(i)sum of odd numbers,(ii) sum of even numbers,(iii) average of all numbers. Output the results
computed with appropriate headings
21 Write a C program to search an element using linear and binary techniques
Write an algorithm and develop a C program that reads N integer numbers and
arrange them in ascending order using selection Sort
Write an algorithm and develop a C program to search an integer from N
numbers in ascending order using binary searching technique
22 Write a C program to find the transpose of a given matrix
23 Write a C program that accepts (3×3 ordered matrices A and B),and compute
the following (i)summation of Two numbers (ii) Subtraction of Two numbers
24 Write a C program to find the sum and average of n integer numbers
26 Write a C program to find the greatest number from two dimensional array