Discussion Forum on pointer, dynamic memory allocation(PC-F)(Week 1)

Week 1 Forum discuss

Week 1 Forum discuss

by Saim Jaman -
Number of replies: 0

Answer to the question no.1

In my last class I was learned about this course are Data structure , Data structure applications - Link list, Stack, Queue and importance of data structure in computer science.

Answer to the question no.2

Data structure To handle very large data, high-speed processing is required, but with growing data processor may fail to archive required processing speed. Data structure is important in computer science because it is foundation of computer science. It helps computing to store the data efficiently in short time and process the data cleverly in low storage .Getting a particular record from database should be quick and with optimum use of resources.

Answer to the question no.3

he real life application of tree , graph, stack, queue :

Tree - A tree is a nonlinear hierarchical data structure that consists of nodes connected by edges. The real life applications of the tree in data structure are - Folders in operating system, HTML document object model, Network routing, Syntax tree in compiler.

Graph - A graph data structure is a data structure where data is stored in a collection of interconnected vertices (nodes) and edges (paths). The real life applications of the graph in data structure are - Social graph, Knowledge graph, Path optimization algorithm.

Stack: A stack is a data structure which uses LIFO order.Some Applications of a stack are:
1.Converting infix to postfix expressions. Undo operation is also carried out through stacks. 2.Syntaxes in languages are parsed using stacks. 3.It is used in many virtual machines like JVM.
Queue: A queue is a data structure which uses FIFO order.Some applications of a queue are:
1.Operating System uses queue for job scheduling. 2.To handle congestion in networking queue can be used. 3.Data packets in communication are arranged in queue format.