CDAC




CDAC

Filed under:

CDAC Placement Question Paper

1. What is data structure?
A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.

2. List out the areas in which data structures are applied extensively?
Compiler Design,
Operating System,
Database Management System,
Statistical analysis package,
Numerical Analysis,
Graphics,
Artificial Intelligence,
Simulation

3. What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model.
RDBMS – Array (i.e. Array of structures)
Network data model – Graph
Hierarchical data model – Trees

4. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

5. Minimum number of queues needed to implement the priority queue?
Two. One queue is used for actual storing of data and another for storing priorities.

6. What is the data structures used to perform recursion?
Stack. Because of its LIFO (Last In First Out) property it remembers its ‘caller’ so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls.

Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

Related Plament Papers and Companies

CDAC

CDAC Placement Question Paper Programmin Concepts 61. The ability to reuse objects already defined, perhaps for a different purpose, with modification appropriate to the new purpose, is referred to as Information hiding Inheritance Redefinition Overloading 62. The term given to the process of hiding all the details of an object that do not contribute to its essential characteristics is called _____________ data-hiding packaging encapsulation abstraction 63.Object Oriented Technology`s ______ feature means that a small change in user requirements should not require large changes to be made to the system Abstraction Modularity Encapsulation Modelling 64. An object has _____ State Behaviour Identity All of these options 65. Which of the following is true: Class is an object of an object Class is meta class Class

CDAC

CDAC Placement Question Paper CDAC Test in APR 2004 114. In the closing days of the civil War, President Abraham Lincoln was planning to graciously welcome the defeated confederate states back into the Union. After Lincoln was assassinated, however, the "Radical Republicans" in Congress imposed martial law in the South, creating resentment that caused problems well into this century. Had Lincoln lived, the history of regional conflict in 20th century America would have been considerably different. All of the following assumptions underline the argument above EXCEPT The imposition of martial law in the South was primarily responsible

  • Resources













  • Placement Papers Archives