hich of the following is not a type of graph in computer science?ans.weighted graphundirected graphdirected graphbar graph Previous Marked for Review Next
Question
Which of the following is not a type of graph in computer science?
- weighted graph
- undirected graph
- directed graph
- bar graph
Solution
The type of graph that is not a part of computer science among the options given is the "bar graph". In computer science, graphs are used to represent networks of communication, data organization, computational devices, the flow of computation, etc. The types of graphs in computer science are mainly:
-
Weighted Graph: A graph in which every edge has a weight or cost associated with it.
-
Undirected Graph: A graph in which edges have no direction. The edge (x, y) is identical to the edge (y, x).
-
Directed Graph: A graph in which edges have directions.
On the other hand, a bar graph is a type of chart that is used in statistics to represent categorical data with rectangular bars with heights or lengths proportional to the values that they represent.
Similar Questions
Which of the following is not a type of graph in computer science?ans.directed graphundirected graphbar graphweighted graph Previous Marked for Review Next
Which type of graph has a y-axis and an x-axis and is used to compare amounts or number of items?Bar graphT-graphPicture graphCircle graph
Which of the following is not a commonly used graph?Select one:a.Pie chartsb.Cumulative frequency ogivesc.Doughnut chartsd.Frequency polygons
What type of graph is used to compare parts of a whole?Line graphHistogramPie chartBar graph
Define a graph and provide two examples of real-world applications where graphs are commonly used.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.