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

Answer the question and discuss if you have any confusion

Answer the question and discuss if you have any confusion

by Md Assaduzzaman -
Number of replies: 26

Q1. List the name of the topic you have learned this week in this course?
Q2.  Why data structure is important in computer science?
Q3.  Write down the real life application of tree, graph ,stack, queue.

In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3255 Al Imran Alvy -
Q1. 1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph
Q2. Algorithm is an important in order to build up logic and data structure is important to use memory in effective way.
Q3.
Some applications of the trees are:

1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3293 Abdur Razzak -

Q1: 
1. Recursion
2. Pointer
3. Data Structure
4.Linked-list
5. Array
6. Tree
Q2:
Use of appropriate data structure enables a computer  system to perform its task more efficiently, by influencing the ability of  computer to store and retrieve data from any location in its memory.  Different kind of data structures are suited to different computer applications and tasks.
Q3:
applications of the trees:

1.Databases also uses tree data structures for indexing.


2.Domain Name Server(DNS) also uses tree structures.


applications of a graph:

1.Facebook’s Graph API uses the structure of Graphs.


2.Google’s Knowledge Graph also has to do something with Graph.

 Applications of a stack:

1.Syntaxes in languages are parsed using stacks.


2.It is used in many virtual machines like JVM.

applications of a queue:

1.To handle congestion in networking queue can be used.


2.Data packets in communication are arranged in queue format.

In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Ahamed Sharzil -
Q1
1.Recursion
2.Pointer
3.Data Structure
4.Array
5.Linked-list
6.Tree
7.Stack.
8.Graph
Q2.
Efficient data structures are a key to designing efficient algorithms and software.To make a high quality software we must know the data structure properly. So data structure is important in computer science.

Q3.
1.Real life application of tree :
#Folders in Operating system-
in windows go to command line and type tree. You can see the folder tree structure.
#In Artificial intelligence game, next moves are stored using tree data structure.

2.Real life application of graph:
#Facebook's Graph API
Facebook's Graph API is perhaps the best example of application of graphs to real life problems.
#Google's Knowledge Graph
A knowledge graph has something to do with linking data and graphs...some kind of graph-based representation of knowledge

3. Real life application of stack:
#REVERSING STRINGS
#BACKTRACKING
#LANGUAGE PROCESSING

4.Real life application of queue:
#Queues are used everywhere. In operating systems (queuing messages, IO requests, mouse movements, etc), web servers (queuing incoming requests, file operations, etc), video games, etc
In reply to Ahamed Sharzil

Re: Answer the question and discuss if you have any confusion

by Sabul Hasan -
Q1. 1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph
Q2. Algorithm is an important in order to build up logic and data structure is important to use memory in effective way.
Q3.
Some applications of the trees are:

1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3165 MD.HASIBUL HASAN SHANTO -
Q1 :
1. Recursion
2. Pointer
3. Data Structure
4.Linked-list
5. Array
6. Tree

Q2 :
Data Structure helps computing to efficiently store data and process cleverly. That is so much important in computer science. For this reason data structure is called as "Heart of Computer Science"

Q3:
Applications of stack:

1. used in "undo" mechanism in text editor.
2. Backtracking (game playing, finding paths, exhaustive searching.

Application Of Queue:

1.used in recognizing palindrome
2.used in simulations

Application Of tree:

1. Rendering objects of 3D video games.
2. It is used in wireless networking and memory allocation

Application of graph:

1. Google maps uses graphs for building transportation systems.
2. In Facebook, users are considered to be the vertices and if they are friends then there is an edge running between them.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Juwel Rana Jony -
Q1:
1. Recursion
2. Pointer
3. Structure in c
4. Concept of Linked-list
5. Array
Q2:
Data structure is most important part of computer programming. Most of the time use data structure in problem solving. Use of appropriate data structure enables a computer system to perform its task more efficiently, by influencing the ability of computer to store and retrieve data from any location in its memory. Different kind of data structures are suited to different computer applications and tasks.
Q3:
applications of the trees:

1.XML Parser uses tree algorithms.
2.Databases also uses tree data structures for indexing.
3.Domain Name Server(DNS) also uses tree structures.

applications of a graph:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Applications of a stack:

1.Converting infix to postfix expressions.
2.Syntaxes in languages are parsed using stacks.
3.It is used in many virtual machines like JVM.

applications of a queue:

1.To handle congestion in networking queue can be used.
2.Operating System uses queue for job scheduling.
3.Data packets in communication are arranged in queue format.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Mafujul Haque Plabon -
Q1.
1. Array
2. Recursion
3.Pointer
4.Data Structure
5. Linked-list/node(back,next)
6.Stack(push,top,pop)
7. Queue(anqueue,real,dequeue,front)
8. Tree( Grandparents, parents, children)
9. Graph(Maps)
Q2.
The efficient use of information and the efficient use of data structures enable a computer system to perform more efficiently, affecting the computer's ability to store and retrieve data from any location in its memory. Different types of data structures are suitable for different computer applications and tasks.

Sir, what is the ZIP or RAR file?
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3596 sadia afrin satu -
Q1.1.Data structure
2.pointer
3.Array
4.Linked-list
5.Recursion
6.Tree
Q2.Data Structure can be defined as the collection of data objects which provides a way of storing and managing data in the computer so that it can be used. Data Structures are the key part of many computer algorithms as they allow the programmers to do data management in an efficient way

Q3.
some applications of the trees are:
1.XML parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

some application of the graph are:
1.Facebook's graph API uses the structure of graphs.
2.Google's knowledge graph also has to do something with graph.

some application of the queue are:
1.Operating system uses queue for job scheduling.
2.To handle congestion in networking queue can be used.

some application of the stack are:
1.It is used in many virtual machines like JVM.
2.converting infix to postfix expressions.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3532 Sumaiya Haider -
Q1)
1.Pointer
2.Array
3.Recursion
4.Data Structure
5. Linked-list
6.Tree
Q2)
Data structure is important to use data and memory efficiently and effectively.
Q3)
Real life application of tree :
1. Allows fast search
2. insert, delete on a sorted data.
Real life application of graph :
1.Facebook's graph API.
2. Google map.
Real life application of stack :
1. Stacks can be used for Memory Management.
2.Stacks can be used for expression evaluation.
Real life application of queue :
1.CPU scheduling.
2. Disk Scheduling.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Mafujul Haque Plabon -
Q1.
1. Array
2. Recursion
3.Pointer
4.Data Structure
5. Linked-list/node(back,next)
6.Stack(push,top,pop)
7. Queue(anqueue,real,dequeue,front)
8. Tree( Grandparents, parents, children)
9. Graph(Maps)
Q2.
The efficient use of information and the efficient use of data structures enable a computer system to perform more efficiently, affecting the computer's ability to store and retrieve data from any location in its memory. Different types of data structures are suitable for different computer applications and tasks.
Q3.
Some applications of the trees are:

1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.

Sir, what is the ZIP or RAR file?
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Amir Hamza Shuvo 201-15-3397 -

Q1. 1. Pointer

2. Recursion

3. Data Structure

4. Array

5. Linked-list

6.Stack

7. Queue

8. Tree

9. Graph

Q2.Data Structure can be defined as the collection of data objects which provides a way of storing and managing data in the computer so that it can be used. ... Data Structures are the key part of many computer algorithms as they allow the programmers to do data management in an efficient way.

Q3.tree-It is used in wireless networking and memory allocation. It is used in almost every high-bandwidth router for storing router-tables.

2.graph-1.Facebook’s Graph API uses the structure of Graphs.

2.Google’s Knowledge Graph also has to do something with Graph.

3.queue-1.used in recognizing palindrome

2.used in simulations

4.stack-1.Converting infix to postfix expressions.

2.Undo operation is also carried out through


In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Jakaria Alam (201-15-3536) -
#Answer to the question no:01

i. Recursion
ii. Pointer
iii. Data Structure
iv.Linked-list
v. Array
vi. Tree

#Answer to the question no:02

Use of appropriate data structure enables a computer system to perform its task more efficiently, by influencing the ability of computer to store and retrieve data from any location in its memory. Different kind of data structures are suited to different computer applications and tasks.

#Answer to the question no:03

applications of the trees:

i)Databases also uses tree data structures for indexing.
ii)Domain Name Server(DNS) also uses tree structures.

applications of a graph:

i)Facebook’s Graph API uses the structure of Graphs.
ii)Google’s Knowledge Graph also has to do something with Graph.

Applications of a stack:

i)Syntaxes in languages are parsed using stacks.
ii)It is used in many virtual machines like JVM.

applications of a queue:

i)To handle congestion in networking queue can be used.
ii)Data packets in communication are arranged in queue format.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Shohanur Rahman 201-15-3401 -
#Answer for question: - 01
1) Recursion
2) Pointer
3) Data Structure
4)Linked-list
5) Array
6) Tree

#Answer for question: - 02
A data structure can be defined as a collection of data objects that provide a way to store and manage data on a computer so that it can be used. There are different types of data structures like arrays, linked lists, stacks, queues, etc. Data structures are widely used for simple and complex calculations in almost every field of computer science. Data structures are used in all areas of computer science such as artificial intelligence, graphics, operating systems, etc. Data structures are an integral part of many computer algorithms, as they allow programmers to manage data efficiently. Proper selection of data structures can further improve the efficiency of computer programs or algorithms.

#Answer for question: - 03
=> Applications of the trees:
1) The Domain Name Server (DNS) uses tree structures.
2) XML parser uses tree algorithms.
3) Databases use tree data structures for indexing.

=> Applications of a graph:
1) Google has something to do with the Knowledge Graph.
2)The graph API of Facebook uses the structure of the graph.

=> Applications of a stack:
1) The Syntaxes in languages are parsed using stacks.
2) It is used in many virtual machines like JVM.
3) Infix is converting to postfix expressions by it.

=> Applications of a queue:
1) Operating System uses queue for job scheduling.
2) For handling congestion in networking queue can be used.
3) In communication data packs are arranged in queue format.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3463 Sifat bin solaiman -
Ans to the Q No-1:-
1. Pointer
2. Data Structure
3. Array
4. Linked-list
5.Stack
6. Queue
7. Tree

Ans to the Q No-2:-
Algorithm is important in order to build data structure to use memory in effective way.

Ans to the Q No-3:-
1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3192 Sadman Rahman -
1- pointer , structure, data structure,linked list
2- Algorithm is an important in order to build up logic and data structure is important to use memory in effective way.
3- tree-It is used in wireless networking and memory allocation. It is used in almost every high-bandwidth router for storing router-tables.

2.graph-1.Facebook’s Graph API uses the structure of Graphs.

2.Google’s Knowledge Graph also has to do something with Graph.

3.queue-1.used in recognizing palindrome

2.used in simulations

4.stack-1.Converting infix to postfix expressions.

2.Undo operation is also carried out through
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Mahfuza Ebnat Disha 201-15-3146 -
Question 1.
1.Recursion
2.Pointer
3.Data Structure
4.Array
5.Linked-list
6.Tree
7.Stack.
8.Graph

Question 2.
Data Structure can be defined as the collection of data objects which provides a way of storing and managing data in the computer so that it can be used. ... Data Structures are the key part of many computer algorithms as they allow the programmers to do data management in an efficient way.

Question 3.

applications of the trees are:

A decision-based algorithm is used in machine learning which works upon the algorithm of the tree.

application of the graph are:
Facebook's graph API uses the structure of graphs.

application of the queue are:
The operating system uses a queue for job scheduling.


application of the stack are:
It is used in many virtual machines like JVM.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Farzana shanchita 3574 -
Re: Answer the question and discuss if you have any confusion
by 201-15-3574 Farzana Akter shanchita - Monday , 28 september 2020 11.47 pm

Q1 .
1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph

Q2. ANS: Data structure is important in computer science because software interact with users upon data and leaning how to deal with retrieving ,staring , searching .Different types of data structures are suitable for different computer applications and tasks.


Q3. ANS: A good real-life example of a stack is the pile of dinner plates that you encounter when you eat at the local cafeteria: When you remove a plate from the pile, you take the plate on the top of the pile.


* In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal

* Google’s Knowledge Graph also has to do something with Graph.

*. It is used in wireless networking and memory allocation
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Arnab Saha -
Q1
1.Recursion
2.Pointer
3.Data Structure
4.Array
5.Linked-list
6.Tree
7.Stack.
8.Graph
Q2
Data Structure can be defined as the collection of data objects which provides a way of storing and managing data in the computer so that it can be used. ... Data Structures are the key part of many computer algorithms as they allow the programmers to do data management in an efficient way.
Q3
Some applications of the trees are:

1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Kh Abrarul Islam (Tanjim) -
Q1
1.Recursion
2.Pointer
3.Data Structure
4.Array
5.Linked-list
6.Tree
7.Stack.
8.Graph
Q2
Data Structure can be defined as the collection of data objects which provides a way of storing and managing data in the computer so that it can be used. ... Data Structures are the key part of many computer algorithms as they allow the programmers to do data management in an efficient way.
Q3
Some applications of the trees are:
1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.
Some applications of a graph are:
1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.
Some Applications of a stack are:
1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.
Some applications of a queue are:
1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by RIFAT JAHAN ZIM 201-15-3611 -

(-----01-----)
1) Array
2) Recursion
3) Pointer
4) Data Structure
5)Linked-list
6) Tree

(-----02-----)
A data structure can be defined as a collection of data objects that provide a way to store and manage data on a computer so that it can be used. There are different types of data structures like arrays, linked lists, stacks, queues, etc. Data structures are widely used for simple and complex calculations in almost every field of computer science. Data structures are used in all areas of computer science such as artificial intelligence, graphics, operating systems, etc. Data structures are an integral part of many computer algorithms, as they allow programmers to manage data efficiently. Proper selection of data structures can further improve the efficiency of computer programs or algorithms.

(-----03-----)
© Applications of the trees:
1) The Domain Name Server (DNS) uses tree structures.
2) XML parser uses tree algorithms.
3) Databases use tree data structures for indexing.

© Applications of a graph:
1) Google has something to do with the Knowledge Graph.
2)The graph API of Facebook uses the structure of the graph.

© Applications of a stack:
1) The Syntaxes in languages are parsed using stacks.
2) It is used in many virtual machines like JVM.
3) Infix is converting to postfix expressions by it.

© Applications of a queue:
1) Operating System uses queue for job scheduling.
2) For handling congestion in networking queue can be used.
3) In communication data packs are arranged in queue format.

In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by MD. IMDADUL HAQUE 201-15-3538 -
Q1
1. Recursion
2. Pointer
3. Data Structure
4.Linked-list
5. Array
6. Tree
Q2.
Data Structures are a crucial part of several computer algorithms as they allow programmers to do data management efficiently. A wise selection of data structures can improve the performance of a computer program or algorithm in a more useful way. \
Q3
. 1.Real life application of tree :
#Folders in Operating system-
in windows go to command line and type tree. You can see the folder tree structure.
#In Artificial intelligence game, next moves are stored using tree data structure.

2.Real life application of graph:
#Facebook's Graph API
Facebook's Graph API is perhaps the best example of application of graphs to real life problems.
#Google's Knowledge Graph
A knowledge graph has something to do with linking data and graphs...some kind of graph-based representation of knowledge

3. Real life application of stack:
#REVERSING STRINGS
#BACKTRACKING
#LANGUAGE PROCESSING

4.Real life application of queue:
#Queues are used everywhere. In operating systems (queuing messages, IO requests, mouse movements, etc), web servers (queuing incoming requests, file operations, etc), video games, etc
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by 201-15-3311 Mehedi -
Q1.
1.Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph
Q2.
A data structure is a combination of data objects that provides a way for a computer to collect and manage data so that it can be used. They have different types of arrays, linked lists, stacks, queues, etc. Data information structures are widely used for simple and complex calculations in almost every field of computer science. These are practiced in all fields like AI, graphics, operating systems, etc.
Data structures are an important part of many computer algorithms because they allow programmers to manage data efficiently. Intelligent selection of data structures can improve the effectiveness of computer programs or algorithms in more efficient ways.
Q3.
Applications of stack::
1. Text editing
2. Backtracking (game play, path sessions, full search).

Application Of Queue:
1.Collect palindrome used
2. Numbers in simulation

Application Of tree:
1. 3D video gamer rendering objects.
2. It includes wireless networking and memory allocation

Application of graph:
1. Use graphs to transport Google Maps.
2. On Facebook, users are reviewed as such at the top and if they feel like it, there is an exit running between them.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Wahid Tausif -
Q1. 1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph
Q2. Algorithm is an important in order to build up logic and data structure is important to use memory in effective way.
Q3.
Some applications of the trees are:

1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Mehedi Hasan (201-15-3144 ) -
Q1 .
1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph

Q2. ANS: Data structure is important in computer science because software interact with users upon data and leaning how to deal with retrieving ,staring , searching .Different types of data structures are suitable for different computer applications and tasks.


Q3. ANS: A good real-life example of a stack is the pile of dinner plates that you encounter when you eat at the local cafeteria: When you remove a plate from the pile, you take the plate on the top of the pile.


* In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal

* Google’s Knowledge Graph also has to do something with Graph.

*. It is used in wireless networking and memory allocation
In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Atikur Mithun -

Q1.1.Recursion.

2.Pointer.

3.Data structure.

4.Arry.

5.Linked -list.

6.Tree.

7.Strack.

8.Graph.

Q2.

Data structure are a crucial part of several computer algorithms as they allow programmer to do data management efficiently.A wise selection of data structure can improve the perfomance of a computer program or algorithm in a more useful way.

Q3.

Application of the tree:

1.the domain name serve uses tree structures.

2.Databases also uses tree data structures for indexing.

Application of a graph:

1.Google,s knogledge graph also has to do something with graph.

2.Facebook graph API uses thr structure of graph.

Application of the stack:

1.converting infix to postfix expression. 

2.It is used in many way virtual machines.

Application of queue:

1.Operating systrm uses queue for job scheduling.

2.Data packets in communication are arranged in queue format.

  

In reply to Md Assaduzzaman

Re: Answer the question and discuss if you have any confusion

by Hamayate ali himu -

Answer to the question number :1

1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph

Answer to the question number :2

Use of appropriate data structure enables a computer  system to perform its task more efficiently, by influencing the ability of  computer to store and retrieve data from any location in its memory.  Different kind of data structures are suited to different computer applications and tasks.

Answer to the qusetion number :3

Answer the question and discuss if you have any confusion

Answer the question and discuss if you have any confusion

Q1. List the name of the topic you have learned this week in this course?
Q2.  Why data structure is important in computer science?
Q3.  Write down the real life application of tree, graph ,stack, queue.

REPLY
Subject
Message

Answer to the question number :1

1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph

Answer to the question number :2

Use of appropriate data structure enables a computer  system to perform its task more efficiently, by influencing the ability of  computer to store and retrieve data from any location in its memory.  Different kind of data structures are suited to different computer applications and tasks.

Answer to the qusetion number :3


Advanced
POST TO FORUM
CANCEL
Q1. 1. Pointer
2. Recursion
3. Data Structure
4. Array
5. Linked-list
6.Stack
7. Queue
8. Tree
9. Graph
Q2. Algorithm is an important in order to build up logic and data structure is important to use memory in effective way.
Q3.
Some applications of the trees are:

1.XML Parser uses tree algorithms.
2.Decision-based algorithm is used in machine learning which works upon the algorithm of tree.

Some applications of a graph are:

1.Facebook’s Graph API uses the structure of Graphs.
2.Google’s Knowledge Graph also has to do something with Graph.

Some Applications of a stack are:

1.Converting infix to postfix expressions.
2.Undo operation is also carried out through stacks.

Some applications of a queue are:

1.Operating System uses queue for job scheduling.
2.To handle congestion in networking queue can be used.
REPLY

Q1: 
1. Recursion
2. Pointer
3. Data Structure
4.Linked-list
5. Array
6. Tree
Q2:
Use of appropriate data structure enables a computer  system to perform its task more efficiently, by influencing the ability of  computer to store and retrieve data from any location in its memory.  Different kind of data structures are suited to different computer applications and tasks.
Q3:
applications of the trees:

1.Databases also uses tree data structures for indexing.


2.Domain Name Server(DNS) also uses tree structures.


applications of a graph:

1.Facebook’s Graph API uses the structure of Graphs.


2.Google’s Knowledge Graph also has to do something with Graph.

 Applications of a stack:

1.Syntaxes in languages are parsed using stacks.


2.It is used in many virtual machines like JVM.

applications of a queue:

1.To handle congestion in networking queue can be used.


2.Data packets in communication are arranged in queue forma

REPLY
Q1
1.Recursion
2.Pointer
3.Data Structure
4.Array
5.Linked-list
6.Tree
7.Stack.
8.Graph
Q2.
Efficient data structures are a key to designing efficient algorithms and software.To make a high quality software we must know the data structure properly. So data structure is important in computer science.

Q3.
1.Real life application of tree :
#Folders in Operating system-
in windows go to command line and type tree. You can see the folder tree structure.
#In Artificial intelligence game, next moves are stored using tree data structure.

2.Real life application of graph:
#Facebook's Graph API
Facebook's Graph API is perhaps the best example of application of graphs to real life problems.
#Google's Knowledge Graph
A knowledge graph has something to do with linking data and graphs...some kind of graph-based representation of knowledge

3. Real life application of stack:
#REVERSING STRINGS
#BACKTRACKING
#LANGUAGE PROCESSING

4.Real life application of queue:
#Queues are used everywhere. In operating systems (queuing messages, IO requests, mouse movements, etc), web servers (queuing incoming requests, file operations, etc), video games, etc