You are on page 1of 2
138 110 April 2015 Time — Three h (Maximum Marks: 75) INB: (1) Answer any fifteen questions in PART ~ A and division (A) oF division (B) of each aoe we yes 10. i 12, 13. 14, 15, 16. 17, 18, 19. 20. ‘question in PART -B, (2) Each question carries 1 (one) mark in PART ~ A and 12 (twelve) marks in PART - B.) PART-A Define algorithm What is compilation? What is a variable? What are bitwise operators? Write the different types of looping statements. What is meant by array initialization? Mention the functions used to write strings. How two dimensional array is declared? Write the syntax of gotoxy( ) function. Which function is used to draw an ellipse? What are actual arguments? Write any one difference between union and structure, How the address of a variable is accessed? Give its syntax. What is the scale factor for character and integer variable? Write any one method to access the members of the structure while using pointer. What is memory management? What is the general form to close a file? What is the use of rewina() function? What is the use of feof( ) function? Define file inclusion directive. (Turn over 185/520—1 =2> PART-B 21. (A) (i) Explain the different types of constants. (ii) Draw a flow chart to find the factorial of a given number. (Or) (8) (i) What ore the features of a good programming language? (i) Explain the unformatted 1/0 statements. 22. (A) (i) Explain else... if ladder statement with an example, (ii) Write @ programme to find the sum of natural numbers using for loop. (Or) (8) (i) Write aprogramme to find the smallest of 'N’ numbers. Gil) Explain the important string handling functions. 23. (A) (i) Write a program to find whether the given year is leap or not. (ii) Explain structures within structures with an example. (Or) (8) (i Write @ program to prepare the total marks for 10 students by reading the regno, name, mark! to mark6 by using array of structures. :) Explain the user defined function with no arguments and no return value with a program. 24. (A) (i) Explain the relation between pointers and arrays with an example. (ii) Write a program to reverse the string using pointers, (Or) (8) (i) Explain the array of pointers to strings and its limitations with on example. (i) Explain (a) Pointer declaration and initialization and (b) maloc() and calloc() functions, 25. (A) (i) Explain the output functions that operate on files. (ii) Explain compiler control directives. (Or) (8) (i) Explain the dif ferent error handling functions, (ii) Write a program to add two numbers using command line arguments, 185/520—2

You might also like