
The straight line distance between town A and town B is 50 miles, and the straight line distance from town B to town C is 50 miles. Towns A and C are connected by a straight highway which is 60 miles long. What is the perimeter of a rectangle that is twice as long as it is wide and has the same area as a circle of diameter 8?ġ06. If the negative of the sum of two consecutive odd numbers is less than -35, which of the following may be one of the numbers?ġ05.

A path 7 metres wide surrounds a circular lawn whose diameter is 252m.What is the area of path?ġ04. What must their lengths be for the perimeter for the rectangle to be numerically equal to its area?ġ03. The side of a rectangle are whole numbers. must be taken such that the sum may be 66?ġ02. How many terms of the series -9, -6, -3. When x5 + 1 is divided by (x - 2), the remainder isġ01. The solution of the equation 4 - 5(2y + 4) = 4 isġ00. What is the output of the following code ?ĩ9. Passing a pointer to a variable into a function. Passing a copy of a variable into a function. What does the term `call-by-reference` refer to? _ contains the addresses of all the records according to the contents of the field designed as the record key.Ģ3. Even when such equivalent iterative procedures are written, explicit stack is to be used.ġ.The programming language that was designed for specifying algorithmĢ. Recursion makes use of system stack for storing the return addresses of the function calls.Įvery recursive function has its equivalent iterative (non-recursive) function. Because of its LIFO (Last In First Out) property it remembers its ?caller? so knows whom to return when the function has to return. What is the data structures used to perform recursion? One queue is used for actual storing of data and another for storing priorities.Ħ. Minimum number of queues needed to implement the priority queue? Two. Void pointer is capable of storing pointer to any type as it is a generic pointer type.ĥ. It is not possible to use ordinary pointers for this.

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model. List out the areas in which data structures are applied extensively?ģ. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.Ģ. Answer: A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other.
