Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(5). Given the adjacency matrix of a directed graph as the following: 0100100001011100 The out-degree and the in-degree of the vertex 2 (the index starts

image text in transcribed

(5). Given the adjacency matrix of a directed graph as the following: 0100100001011100 The out-degree and the in-degree of the vertex 2 (the index starts from 0 ) are ( ), respectively. (A) 3 and 1 (B) 1 and 3 (C) 0 and 2 (D) 2 and 0 (6). If an undirected graph has 3 vertices, then it must have at most edges. (A) 2 (B) 3 (C) 6 (D) 9 (7). A tree is the most suitable structure to represent ( ). (A) sorted elements (B) unsorted elements (C) elements with no direct relation (D) elements with hierarchical branching relations (8). Among the following statements about adjacency matrix, which one is TRUE? ( ). (A) The adjacency matrix of a directed graph is never symmetric (B) The adjacency matrix of a directed graph may or may not be symmetric (C) The adjacency matrix of an undirected graph is never symmetric (D) The adjacency matrix of an undirected graph may or may not be symmetric (9). Prim's algorithm is a ( ). (A) Divide and conquer algorithm (B) Greedy algorithm (C) Dynamic Programming (D) Approximation algorithm (10). Among the following methods, which one is stable? (A) Heap sort (B) Shell sort (C) Merge sort (D) Quick sort

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Logics For Databases And Information Systems

Authors: Jan Chomicki ,Gunter Saake

1st Edition

1461375827, 978-1461375821

More Books

Students also viewed these Databases questions