Answer the following questions:-
[ marks]Write a flowchart to find maximum among three numbers. (ii) Differentiate between compiler and interpreter.
[3 marks]Define following terms with example
[ marks]Identifiers (ii) L-value and R-Value (iii) Linker and loader
[3 marks]Write down algorithm or pseudo code to find whether the given number is prime or not.
[7 marks]Differentiate between following :
[ marks]break and continue (ii) entry control loop and exit control loop
[4 marks]Write a program to print all Armstrong numbers between 1 and 1000 using user define function (if sum of cube of individual digit of a number is equal to the number then it is called Armstrong number e.g. 153 13+53+33=153).
[7 marks]Compare all storage classes.
[7 marks]Write a recursive function to print conversion of decimal number into binary number.
[7 marks]Write a program to sort an array of n elements in ascending order using user define function.
[7 marks]Answer the following questions
[ marks]Write down drawbacks of goto statement. (ii) Explain any four bitwise operator with the help of suitable example
[4 marks]Explain following string functions with suitable example.
[7 marks]strrev() (ii) strcpy() (iii) strstr()
[ marks]Answer the following questions
[ marks]Differentiate between following
[4 marks]Typecasting and type conversion.
[ marks]Initialization of one dimensional array and two dimensional array. (ii) Differentiate between function prototype, formal parameter and actual parameter.
[3 marks]Page 1 of
[2 marks]Explain various escape sequence and format Specifiers with their usage.
[7 marks]Write a Cprogram to find whether the given string is palindrome or not (e.g. palindrome string: MADAM).
[7 marks]Answer the following questions
[ marks]Write down usage of sizeof,?:, ^ and ~ operators. (ii) Differentiate between signed int and unsigned int.
[3 marks]Write a Cprogram to create user define function called “Delete” to remove specified string in the given string (e.g. Given String: This is a miss; String to be deleted: is; output: Th a mi)
[7 marks]Explain following terms with example.
[ marks]Constant (ii) keyword (iii) variable 01 (iv) object file Page 2 of
[2 marks]Write a program to whether the given matrix is magic matrix or not using user define function. (If sum of all the row, column and diagonal are same then it is called magic matrix.)
[7 marks]