**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?**

1. Compiler Design,

2. Operating System,

3. Database Management System,

4. Statistical analysis package,

5. Numerical Analysis,

6. Graphics,

7. Artificial Intelligence,

8. Simulation

**3. What are the major data structures used in the following areas : RDBMS, Network data**

**model and Hierarchical data model.**

1. RDBMS = Array (i.e. Array of structures)

2. Network data model = Graph

3. 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.

**7. What are the notations used in Evaluation of Arithmetic Expressions using prefix and**

**postfix forms?**

Polish and Reverse Polish notations.

**8. Convert the expression ((A + B) * C - (D - E) ^ (F + G)) to equivalent Prefix and Postfix**

**notations.**

1.

**Prefix Notation:**^ - * +ABC - DE + FG2.

**Postfix Notation:**AB + C * DE - - FG + ^**9. Sorting is not possible by using which of the following methods? (Insertion, Selection,**

**Exchange, Deletion)**

**Sorting is not possible in Deletion.**Using insertion we can perform insertion sort, using selection

we can perform selection sort, using exchange we can perform the bubble sort (and other similar

sorting methods). But no sorting method can be done just using deletion.

**10. What are the methods available in storing sequential files ?**

1. Straight merging,

2. Natural merging,

3. Polyphase sort,

4. Distribution of Initial runs.

**11. List out few of the Application of tree data-structure?**

1. The manipulation of Arithmetic expression,

2. Symbol Table construction,

3. Syntax analysis.

**12. List out few of the applications that make use of Multilinked Structures?**

1. Sparse matrix,

2. Index generation.

**13. In tree construction which is the suitable efficient data structure? (Array, Linked list,**

**Stack, Queue)**

Linked list is the suitable efficient data structure.

**14. What is the type of the algorithm used in solving the 8 Queens problem?**

Backtracking.

**15. In an AVL tree, at what condition the balancing is to be done?**

If the 'pivotal value' (or the 'Height factor') is greater than 1 or less than -1.

**16. What is the bucket size, when the overlapping and collision occur at same time?**

One. If there is only one entry possible in the bucket, when the collision occurs, there is no way to

accommodate the colliding value. This results in the overlapping of values.

**17. Classify the Hashing Functions based on the various methods by which the key value is**

**found.**

1. Direct method,

2. Subtraction method,

3. Modulo-Division method,

4. Digit-Extraction method,

5. Mid-Square method,

6. Folding method,

7. Pseudo-random method.

**18. What are the types of Collision Resolution Techniques and the methods used in each of**

**the type?**

1.

**Open addressing (closed hashing),**The methods used include: Overflow block.2.

**Closed addressing (open hashing),**The methods used include: Linked list, Binary tree.**19. In RDBMS, what is the efficient data structure used in the internal storage**

**representation?**

B+ tree. Because in B+ tree, all the data is stored only in leaf nodes, that makes searching

easier. This corresponds to the records that shall be stored in leaf nodes.

**20. What is a spanning Tree?**

A spanning tree is a tree associated with a network. All the nodes of the graph appear on the

tree once. A minimum spanning tree is a spanning tree organized so that the total edge

weight between nodes is minimized.

**21. Does the minimum spanning tree of a graph give the shortest distance between**

**any 2 specified nodes?**

The Minimal spanning tree assures that the total weight of the tree is kept at its minimum.

But it doesn't mean that the distance between any two nodes involved in the minimumspanning

tree is minimum.

**22. Which is the simplest file stru**

**cture? (Sequential, Indexed, Random)**

Sequential is the simplest file structure.

**23. Whether Linked List is linear or Non-linear data structure?**

According to Access strategies Linked list is a linear one.

According to Storage Linked List is a Non-linear one.

Different enterprises are likewise employing these enormous information, researchers like government organizations, huge retailers, long range interpersonal communication destinations and even guard powers. ExcelR Data Science Courses

ReplyDeleteData Structures

DeleteArrays: Contiguous blocks of memory used to store elements of the same type. Access is O(1), but insertion and deletion are O(n) in the worst case. IEEE projects for cse

cyber security projects for students

Linked Lists: Chains of nodes where each node contains data and a reference (pointer) to the next node. Insertion and deletion can be O(1) with appropriate pointers, but access is O(n).

Stacks: Follows Last In First Out (LIFO) principle. Operations (push, pop) are O(1).

Queues: Follows First In First Out (FIFO) principle. Operations (enqueue, dequeue) are O(1).

Trees: Hierarchical data structure with a root node and child nodes. Examples include Binary Trees, Binary Search Trees (BST), AVL Trees, etc. Operations vary based on the type of tree.

Graphs: Networks consisting of nodes (vertices) and edges. Can be directed or undirected, cyclic or acyclic.

Hash Tables: Data structure that maps keys to values using a hash function. Average time complexity for insertion, deletion, and lookup is O(1), but worst-case can be O(n).

Your texts on this subject are correct, see how I wrote this site is really very good. appraisal data entry services

ReplyDeleteFull control over all aspects of your event Cloud Computing tech events

ReplyDeleteThe training is provided by popular online platforms, coaching classes and even some colleges provide certification course. The training will prove to be the most beneficial for students with an engineering or science background and also those with some basic coding knowledge. data science course in india

ReplyDeleteInteresting article. These multiple choice questions are really useful to find gaps in your knowledge. The knowledge of data structures and algorithms establishes the foundation with which learner solves a programming problem.

ReplyDeleteThese viva questions are helpful for anyone preparing for interviews and for programming problems on Data structures and algorithms, checkout Logicmojo.com

ReplyDeleteThankyou for this wondrous post, I am happy I watched this site on yippee. ExcelR Data Analytics Course

ReplyDeleteDamn! Best blog with good information thanks for sharing Data Scientist Course

ReplyDeleteI really enjoy reading and also appreciate your work.

ReplyDeletebest data science course online

The data structures viva questions and answers are very useful and informative for all and students as well,Thanks for sharing.

ReplyDeleteData Science Training in Pune

All questions are very useful for preparation. Thank you

ReplyDeleteData science course in pune

Amazing Article! I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.If you are Searching for info click on given link

ReplyDeleteData science course in pune

If you're looking to get the in-depth method overriding in Python, we recommend you enroll in the six-month Data Science Program. AI Patasala offers Best Data Science Institute in Hyderabad. The course will teach you the basics of Statistics, Predictive Analytics, Python, Machine Learning, Data Visualization, Big Data Analytics, and many more.

ReplyDeleteI like your post. I appreciate your blogs because they are really good. Please go to this website for the Data Science Course: For Data Science Course Data Science course in Bangalore. These courses are wonderful for professionalism.

Become a data science expert by joining AI Patasala’s Data Science Course in Hyderabad, where you can learn data science concepts with practical knowledge.

ReplyDeleteData Science Course Training Institute in Hyderabad

Fantastic blog, really nice blog, and useful to all. Informative and knowledgeable content. Thanks for sharing this blog with us. Keep sharing more stuff like this.

ReplyDeleteAI Patasala Data Science Training in Hyderabad

I feel extremely appreciative that I read this. It is extremely useful and exceptionally enlightening and I truly took in a ton from it.

ReplyDeletebusiness analytics course in hyderabad

By using the most successful methods and practices, online businessmen and millionaires created growth hacking training.

ReplyDeleteIt will be taught to you how to apply these tactics, methods, and how to integrate them into your career and business.

digital marketing course in Bangalore

Manage projects in your industry with online courses in digital marketing

ReplyDeleteDigitally tracking the work done by each worker per day, i.e., managing construction projects digitally. It takes just a few minutes a day to learn this method, then you can practice what you've learned. It is advisable to arrange the program chronologically, since the sessions are held chronologically.

digital marketing course in Bangalore

Manage projects in your industry with online courses in digital marketing

ReplyDeleteDigitally tracking the work done by each worker per day, i.e., managing construction projects digitally. It takes just a few minutes a day to learn this method, then you can practice what you've learned. It is advisable to arrange the program chronologically, since the sessions are held chronologically.

digital marketing training online

Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one.

ReplyDeletedata analytics training in hyderabad

Great details in this paper. Please make sure you check out our Instagram Reels Downloader, one of the greatest tools of its sort.

ReplyDeleteVery good tutorial, I really enjoyed reading it.

ReplyDeleteDo Checkout: https://www.careerera.com/data-science/certification-course/india/delhi

This is a truly fascinating and interesting post. This post was exactly what I was looking for. Continue posting. Thank you for sharing. 360DigiTMG Data Science Courses

ReplyDeleteViably, the article is actually the best point on this library related issue. I fit in with your choices and will enthusiastically foresee your next updates. data science course in pune

ReplyDeleteI hate to say but those algorithms literally made me insane

ReplyDeleteneed Australia Service visit Registered Migration Agent Perth

I read your blog. I found it very informative. I am a big fan of your blogs. I feel the blog aligns perfectly with our services. We are providing data science courses with real-work experience which is ideal for those who wish to have a career transition or start a fresh career path in data science along with a 100% job assurance commitment visit our website Data Science Courses in Pune. These courses are wonderful for professionals.

ReplyDeleteThe content is well acknowledged, so no one could allege that it is just one person's opinion yet it covers and justifies all the applicable points. I have read such a startling work after a long time!

ReplyDeleteData Science training in Mumbai

Data Science course in Mumbai

SAP training in Mumbai

A fascinating collection of Viva Questions! It is critical to prepare well for interviews, but don't overlook the practical execution component. Balance is essential!

ReplyDeleteData Analytics Courses in Delhi

This comprehensive list of viva questions on data structures and algorithms covers a wide range of topics and provides clear explanations. It's an invaluable resource for anyone preparing for interviews or exams in this field, offering both theoretical knowledge and practical insights. Great job in compiling this valuable information.

ReplyDeleteData Analytics Courses In Dubai

This exhaustive list of viva questions on algorithms and data structures covers a wide range of subjects and offers concise explanations. It provides both theoretical information and practical insights, making it an invaluable tool for anyone preparing for interviews or tests in this sector. You did a fantastic job of accumulating this useful information.

ReplyDeleteData Analytics Courses in Agra

The viva questions on data is really amazing and the important is data structures and algorithms are the backbone of computer science and programming. Thank you.

ReplyDeleteData Analytics Courses In Chennai

They're incredibly helpful for students and professionals preparing for interviews or exams. A great resource for honing our knowledge.

ReplyDeleteDigital marketing courses in illinois

Thank you for sharing your content. I consistently derive immense joy from consuming such exceptional material that imparts valuable insights. The concepts presented are truly extraordinary and incredibly engaging, rendering the post a genuine source of delight. Please keep up your fantastic work.

ReplyDeleteVisit- Financial Data Analysis and Risk Management

Thanks for sharing valuable and informative resource for preparing Data Structure and Algorithm Viva .

ReplyDeletedata analyst courses in limerick

Clear and concise explanations of fundamental data structure concepts. Thanks for the insightful compilation

ReplyDeleteDigital marketing tips for small businesses

Excellent list of practice questions. Good choices of questions too.

ReplyDeleteThank you very much nice article.

ReplyDeleteVery informative content! Understanding data structures is crucial for efficient data manipulation, and your explanation is clear and concise. It's fascinating to see the diverse applications of data structures in areas like Compiler Design, Operating Systems, and Artificial Intelligence. The breakdown of major data structures used in RDBMS, Network data model, and Hierarchical data model adds a practical touch to theoretical knowledge. Great job.

ReplyDeleteGreat collection of questions. Keep up the good work.

ReplyDeleteInvestment banking courses after 12th

Ai techniques tool

ReplyDeleteDesign tools :-Runway Ml ,Adobe Sensei ,Lumen5 ,BOOTH AI coding tool :-PyTorch ,jupyter Notebooks ,10web ,Keras,replit

WRITING TOOL:-OpenAI's GPT-3 ,Grammarly,Writesonic ,quillbot ,Spinbot

CHATBOTX TOOLS :- cohere,typewise, kaizan, yatterplus, quickchat

Marketing tool:-copy ai ,mutiny ,copy smith ,simplified ,content edge

Digital marketing academy in kochi

Not enough time to spend a year learning

ReplyDeleteno problem!

BECOME AN ADVANCED DIGITAL MARKETER

smm training ernakulam

https://digitalacademy.actutechsolutions.com/

Great collection of questions. Keep up the good work.

ReplyDeletebaÅŸarÄ±lÄ± tahminler

Nice Article. Data Science Training in Pune

ReplyDeleteGreat post on Data Structures and Algorithms! Mastering these concepts is crucial for any budding developer. For parents looking for good Schools in Yelahanka, Bangalore

ReplyDelete, consider Vidyashilp Academy and Chrysalis High.

Great collection of questions. Keep up the good work. En Ã‡ok KazandÄ±ran Meslekler

ReplyDeleteUnderstanding data structures is essential for efficient data handling, with applications spanning Compiler Design, Operating Systems, and AI. Your breakdown of data models in RDBMS, Network, and Hierarchical systems makes the concepts practical and clear.

ReplyDeleteRead also: Unlocking the Power: Key Benefits of Data Science Features