
Graph and Trees Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
Ralph Ellis
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a graph in mathematical terms?
A sequence of numbers
A mathematical structure modelling relationships between pairs of objects
A type of tree with vertices and edges
A collection of unrelated nodes
Answer explanation
A graph is defined as a mathematical structure that models relationships between pairs of objects, consisting of vertices (nodes) and edges (connections). This makes the second choice the correct answer.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In graph theory, what is an edge also known as?
Node
Vertex
Arc
Path
Answer explanation
In graph theory, an edge is also known as an arc. It represents a connection between two vertices (or nodes) in a graph, while the terms node and vertex refer to the points themselves, and a path is a sequence of edges.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of a weighted graph?
It has no edges
It has values labelled on each edge
It only contains directed edges
It is always undirected
Answer explanation
A weighted graph is characterized by having values labeled on each edge, which represent weights or costs associated with traversing that edge. This distinguishes it from unweighted graphs, which do not have such values.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an adjacency list represent in a graph?
A matrix showing all possible paths
A list of all the weights on the graph
A list of nodes with their adjacent nodes
A diagrammatic representation of the graph
Answer explanation
An adjacency list represents a graph by listing each node along with its directly connected adjacent nodes. This structure efficiently shows the relationships between nodes, making it the correct choice.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a directed graph differ from an undirected graph?
It has no vertices
The edges have weights
The edges have a one-way relationship
It doesn’t use adjacency lists
Answer explanation
A directed graph has edges that represent one-way relationships, meaning each edge has a direction from one vertex to another. In contrast, an undirected graph has edges that represent two-way relationships.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a tree in terms of data structure?
A graph with multiple cycles
A connected, undirected graph with no cycles
A directed graph with multiple roots
A weighted graph with loops
Answer explanation
A tree is defined as a connected, undirected graph with no cycles, meaning there is exactly one path between any two nodes. This distinguishes it from other graph types, making the correct choice the second option.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, what is the maximum number of children each node can have?
One
Two
Three
Four
Answer explanation
In a binary tree, each node can have at most two children: a left child and a right child. Therefore, the correct answer is 'Two', as it defines the structure of a binary tree.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Networks LAN and WAN

Quiz
•
7th - 12th Grade
12 questions
Networking 101

Quiz
•
9th - 12th Grade
15 questions
Raster Vs Vector images

Quiz
•
8th - 12th Grade
10 questions
Asesmen Diagnostik Stukrut Data

Quiz
•
11th Grade
11 questions
Do Now - Retrieval - Programming and Data Structures

Quiz
•
11th Grade
12 questions
IMedia Recap

Quiz
•
9th - 11th Grade
8 questions
Depth first search (DFS) Quiz

Quiz
•
11th Grade
11 questions
Year 11 Network Euler Circuit Quiz

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade