1.What is a Data Structure? Explain its need?
2.What is a Directed Graph? Write an algorithm to find
whether a Directed Graph is connected or not?
3.Explain the process of converting a Tree to a Binary Tree.

Answers were Sorted based on User's Feedback



1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to fi..

Answer / gsrinivas

1.Data structure is mathematicle model to represent a data
in a computers memory.programming becomes easy.

Is This Answer Correct ?    12 Yes 4 No

1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to fi..

Answer / diwakar anand

What is a Data Structure? Explain its need?
Ans- 1. A data structure is a systematic way of
organizing and accessing data.
2. A data structure tries to structure data!
* Usually more than one piece of data
* Should define legal operations on the data
* The data might be grouped together (e.g. in an
linked list)

3. When we define a data structure we are in fact
creating a new data type of our own.
* i.e. using predefined types or previously user
defined types.
* Such new types are then used to reference
variables type within a program

Is This Answer Correct ?    6 Yes 2 No

1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to fi..

Answer / tejveer sambariya

data structure is a specialized format for organizing and storing data.

Is This Answer Correct ?    3 Yes 0 No

1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to fi..

Answer / mallikharjuna rao k

Data Structure is a collection of logical and mathematical
representation of data.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Interview Questions

. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.

1 Answers  


#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }

7 Answers   Infosys,


What is the function of this pointer?

0 Answers   Agilent, ZS Associates,


What does the && operator do in a program code?

0 Answers  


Why do some versions of toupper act strangely if given an upper-case letter?

0 Answers  






Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

0 Answers  


write a program to display the numbers in the following format 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 4

9 Answers   IBM, NIIT, Winit,


while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?

4 Answers   Aptech,


write a program wch produces its own source code aas its output?

1 Answers   IonIdea,


What does 3 periods mean in texting?

0 Answers  


SIR PLS TELL ME THE CODE IN C LANGUAGE TO PRINT THE FOLLOWING SERIES 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1

4 Answers  


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

0 Answers  


Categories