Job Saarnee

JOB SAARNEE

Top Most Platform for Job Updates O Level Results Answer keys AKTU MCQs

Unit 1 Most Frequently Asked Questions of Data Structure

 

Unit 1 Most Frequently Asked
Questions of Data Structure

Q1: What is
Sparse matrix? Explain the application of sparse matrix.    

Q2:  How can you represent a sparse matrix in memory?

Q3:  Define complexity.

Q4: What is
space and time complexity of an algorithm?

                                        OR

 Define complexity. What is space and time
complexity of an algorithm?

Q5: What are the
various asymptotic notations? Explain the Big   Oh
notation.

Q6: How do you
find the complexity of an algorithm? What is the relation between the time and pace complexities of an algorithm?
Justify your answer with examples.

Q7: What are
asymptotic notations? Explain different types of      asymptotic notations.

Q8: Explain time
space trade-off in brief with suitable examples.

                             OR

What do you understand by time space
trade-off? Explain    best, worst and
average case analysis in this respect with an       example.

Q9: Define the
term linked list. Write a C program to implement singly linked list for the following function using array:

          i. inserts in beginning and insert at
end

          ii. delete in beginning and delete
from end.

          iii. insert and delete after an
element.

          iv. display in reverse order.

Q10: Write a C
program to perform various operation on singly    linked
list.

                                      OR

          Write a C program to perform various
operation on Doubly linked list.

Q11: Write the
advantages and disadvantages of singly linked list.         And, write an algorithm that reverses order of all the
elements          in a singly linked list.

Q12: What is an array?
Write the merits and demerits of array.

Q13: Give
difference between array and linked list.

Q14: What is
meant by circular linked list? Write a C program to implement the circular linked list.

Q15: Write a C
program to implement circular linked list for the   following functions:

          i. Deleting of an element.

ii. Insertion at specified position.

          iii. Deletion at end.

          iv. Traverse the entire list.


 For all study material click here

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart

You cannot copy content of this page