Académique Documents
Professionnel Documents
Culture Documents
www.andhracolleges.com
All Questions carry equal marks
⋆⋆⋆⋆⋆
www.andhracolleges.com
being read in, and which is incremented each time. [8+8]
4. (a) List out the similarities and differences between structures and Unions.
(b) What is the general format of a union? Declare a union and assign values to
it. Explain the process of accessing the union members. [8+8]
5. Write a C program to demonstrate the operations performed on stacks. [16]
6. (a) Find a real root of the equation x3 -4x-1=0 by bisection method.
(b) Find a root of the equation ex =1+2x using Newton Raphson method. [8+8]
7. (a) Show that ∆2 fi = (fi + fi+1 ) ∆ fi
(b) Find y(2.5) using Newton’s interpolation formula
x 0 1 2 3 4
y 7 10 13 22 43
(c) Express f(x) =x2 + x + 1 into factorial polynomial [5+6+5]
dy
8. If dx = 2ex y, y(0) = 2 find y(.4) using Adam’s predictor corrector formula by
calculating y(.1), y(.2) and y(.3) using Taylor’s Series method. [16]
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
1 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
All Questions carry equal marks
⋆⋆⋆⋆⋆
1. (a) What is the difference between short integer and long integer in terms of
memory, range, control string and variable declaration.
(b) Distinguish between float and double in terms of storage and range. [8+8]
2. (a) What is macro. What are the differences between macros and functions.
(b) Give a brief note about.
i. Error directive
ii. Pragma directive. [8+8]
3. (a) What is a pointer? List out the reasons for using pointers.
(b) Write a C Program to illustrate the use of indirection operator “ * ” to access
the value pointed by a pointer. [8+8]
4. Write a C program to add the two given complex numbers. Define functions add
and print with pointers as arguments. The complex number is a structure object
www.andhracolleges.com
with real and image fields. [16]
⋆⋆⋆⋆⋆
www.andhracolleges.com
All Questions carry equal marks
⋆⋆⋆⋆⋆
1. Write about space requirements for variables of different data types. [16]
3. (a) Explain the process of declaring and initializing pointers. Give an example.
(b) Write a C program that uses a pointer as a function argument. [8+8]
5. Use the operations push, pop, stacktop, and empty to construct operations on
stack, which do each of the following:
www.andhracolleges.com
(a) Given an integer n, set i to the nth element from the top of stack, leaving the
stack without its top n elements.
(b) Set i to the bottom element of stack, leaving the stack unchanged [8+8]
i. Trapezoidal rule
ii. Simpson’s 13 rule. [8+8]
www.andhracolleges.com
⋆⋆⋆⋆⋆
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List
www.andhracolleges.com
All Questions carry equal marks
⋆⋆⋆⋆⋆
www.andhracolleges.com
(b) Write a ‘C’ program to arrange the given names in alphabetical order using
pointers. [8+8]
4. (a) Describe nested structures. Draw diagrams to explain nested structure.
(b) Write a program to declare pointer as members of structure and display the
contents of the structure. Define a structure object, boy with three fields:
name, age and height. [6+10]
5. (a) Define stack write a C program that reverses a string using stack.
(b) Write a recursive function that returns the factorial of a given number. [8+8]
6. (a) Find a real root of the equation x4 -x-10=0 by bisection method.
√
(b) Find 3 17 using Newton Raphson method. [8+8]
7. (a) Derive the formula to estimate the polynomial of degree n using Lagrange’s
interpolation method.
(b) Find f(1.6) using Lagrauges formula from the following data.
⋆⋆⋆⋆⋆
www.andhracolleges.com
www.andhracolleges.com
Seminar Topics - Scholarships - Admission/Entrance Exam Notifications
2 ofUSA-UK-Australia-Germany-France-NewZealand
2 Universities List