CDAC Pattern and Sample Paper

1. What is data structure?

Answer: 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.

********************************************************************************

CDAC Placement Paper and Sample Paper

C-Dac Sample quesion paper - pattern 1

1.The programming language that was designed for specifying algorithm
Address
ASCII
ALGOL
None of these options

2. _____ contains the addresses of all the records according to the contents of the field designed as the record key.
Index<------ans
Subscript
Array
File

3. _________ symbol is used for Processing of data.
Oval
Parallelogram<------ans
Rectangle
Diamond

4. __________ is the analysis tool used for planning program logic
Protocol
None of these options
PROLOG
Pseudocode

5. Machine language has two part format the first part is__________ and the second part is __________
OPCODE,OPERAND<------ans
OPERAND,OPCODE
DATA CODE,OPERAND
OPERAND,CODEOP

6. Language Primarily used for internet-based applications
ADA
C++
JAVA<------ans
FORTRAN

7. _________ is a point at which the debugger stops during program execution and awaits a further command.
Memory Dump
Watch point<------ans
Break point
None of these options

8. ________do not contain any program logic and are ignored by the language processor.
Protocol
Virus
Comment
None of these options

9. The component of data base management system is ________
Data definition Language
Data manipulation Language
Data definition Language and Data manipulation Language
None of these options

10. The quality of Algorithm is judged on the basis of_________
Time requirement
Memory Requirement
Accuracy of solution
All of these options<------ans

11. Advantages of using flow charts is
Effective Analysis
Efficient Coding
Time consuming
Effective Analysis and Efficient Coding<-----ans

Programming in C

12. The Real constants in C can be expressed in which of the following forms
Fractional form only
Exponential form only
ASCII form only
Both Fractional and Exponential forms<------ans

13. The program, which translates high-level program into its equivalent machine language program, is called
Transformer
Language processor
Converter
None of these options<------ans

14. Consider the following statements. i.Multiplication associates left to right ii.Division associates left to right
iii.Unary Minus associates right to left
iv.subtraction associates left to right All are true <------ans
only i and ii are true
all are false
only iii and iv are true

15. What will be the value of variable a in the following code?
unsigned char a;
a = 0xFF + 1;
printf("%d", a);
0xFF
0x100
0 <------ans
0x0

16. What is the output of the following program?
#include
void main()
{
printf("\n10!=9 : %5d",10!=9);
}
1<------ans
0
Error
None of these options

17. #include
void main()
{
int x=10;
(x<0)?(int a =100):(int a =1000);
printf(" %d",a);
}
Error<------ans
1000
100
None of these options

18. Which of the following shows the correct hierarchy of arithmetic operations in C
(), **, * or /, + or -
(), **, *, /, +, -
(), **, /, *, +, -
(), / or *, - or + <-----Ans

19. What is the output of the following code?
#include
void main()
{
int a=14;
a += 7;
a -= 5;
a *= 7;
printf("\n%d",a);
}
112<------ans
98
89
None of these options

20. What is the output of the following code? #include
#define T t
void main()
{
char T = `T`;
printf("\n%c\t%c\n",T,t);
}
Error
T t
T T---ans
t t


Comments (13)

sunil pandey
Said this on 3-2-2007 At 07:32 pm
it is very good for student who is prapering for entrance of cadc.
thanks for providing it on internet.
santhi.c
Said this on 8-18-2007 At 09:59 pm
Nice article.i need more java ,os,network datastructures question papers for cst exam,pls kindly forwarded to me.
swapnil
Said this on 11-18-2007 At 08:43 pm
it is really really really best 4 everyone.
Sunil
Said this on 1-28-2009 At 12:12 pm
very nice information
vasavi
Said this on 7-27-2010 At 11:45 am

This info is very useful.I want sample questions on RF software testing and also know about the exam pattern

savita
Said this on 9-7-2010 At 08:23 pm

sir ... i belong to enc branch .. i want to do course in embadded systems and vlsi ... we din study data sturctures and all will ece students have diff exam or wat ?and do we need to prepare all these subs ?

Said this on 1-10-2011 At 07:42 pm

respected sir,

                       send me previous papers of CDAC exam its urgent sir please

Dharmendra Kumar
Said this on 1-20-2011 At 12:15 pm

this is nice topic to in depth knowladge in language 

Said this on 2-1-2011 At 09:01 pm

thank you sir.providing a such a useful information to all students.and pls sir explain ans .some ans are we cant understand easily

Said this on 2-2-2011 At 11:44 pm

thank u sir providing papers

Sanjay
Said this on 4-14-2011 At 02:44 pm
Will u please tell me recommended reading to fight cst(desd).is there a same exam pattern for g level for all courses.i want join DESD

sanjay
keerti
Said this on 10-15-2011 At 05:25 pm

how to prepare for cdac stage 2nd.any book.plz help as soon as posssible

nupur awalagr
Said this on 12-7-2011 At 01:09 pm

thank u sir for this sample papers..sir i need more papers can u send me ?

Post a Comment
* Your Name:
* Your Email:
(not publicly displayed)
Reply Notification:
Approval Notification:
Website:
* Security Image:
Security Image Generate new
Copy the numbers and letters from the security image:
* Message:

Email to Friend

Fill in the form below to send this article to a friend:

Email to Friend
* Your Name:
* Your Email:
* Friend's Name:
* Friend's Email:
* Security Image:
Security Image Generate new
Copy the numbers and letters from the security image
* Message: