Jalpaiguri Reserch Paper
Jalpaiguri Reserch Paper
GROUP-A
[OBJECTIVE TYPE QUESTIONS]
Answer all questions 5x2=10
1. Convert (52479)10 =(?)8
GROUP-B
[LONG ANSWER TYPE QUESTIONS]
Answer any four questions 4x15=60
6. i) Write down the difference between while loop and do while loop with suitable example.
ii) Write a C program to calculate the length of the string without using library function strlen()?
iii) Write about the different bitwise operators and their function with suitable example.
iv) Let a 2 D array is declared as int arr[4][3];What is the total memory size allocated by this array and maximum
how many elements can be stored in this array? If the base address is 2000, compute the address of arr[2][3].
[Size of an integer variable 4 bytes by a typical compiler].
3 + 3+ 4+5
7. i) Write a user friendly C program to search an element from a 1-D array using linear search technique.
ii) What is void pointer? Write a C function to add to values using pointer (call by address representation)?
iii) Write a user friendly C program to check whether a number is Armstrong number or not (for example 153 is an
Armstrong number since 153=13 +53+33 ).
5+(2+3)+5
7+2+(1+2)+3
11. i) Write a user friendly C program to check whether a given alphabet is vowel or not using switch case.
ii) Write a C program to print the following pattern
*
***
*****
*******
*********
iii) What is function prototype? What do you mean by actual argument and formal argument?
5+5+(2+3)
END
____________