To Learn The Concepts of Arrays (1D &2D), Strings, Pointers, Fuction and Recursion
To Learn The Concepts of Arrays (1D &2D), Strings, Pointers, Fuction and Recursion
Questions:
1. Given are two 1-D arrays A and B which are stored in ascending order. Write a
program to merge them into a single sorted array C that contains every item from
arrays A and B in descending order.
3. Write a program to find that a given 3*3 matrix is symmetric or skew symmetric.
4. Take a five-by-five matrix and fill it- (i) Upper right triangle with +1, (ii) Lower left
Triangle with -1, (iii) left to right diagonal with 0.
t(0)=0,
t(1)=1,
t(2)=2,
t(n)=3*t(n-1)*t(n-2)-2*t(n-2)*t(n-3)+1
7. Guessing Game: Guess a number between 1 and 100 in your(user's) mind. Write a
program so that the computer will ask you a series of questions & determine that
number based on your answers.
_______________________________________________________________
Learning Outcomes:
Students will learn to develop basic programs using concepts of 1-D and 2-D
arrays, strings, functions, recursion and pointers.