Question
Easy
In directed graph G(V, E) where $V=\{P,Q,R,S,T\}$ and $E=\{PQ, RS, TP, PS, QR, PT, ST, QP, RQ, TS\}$, the vertex with maximum in-degree is _ and vertex with maximum out-degree is _ .
1
P, S
2
T, Q
3
Q, R
4
S, P
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Data Structures (Through C++)
Topic: Data Structure Concepts
Correct Answer
Option D
Explanation
The correct option is (4): S, P. In a directed graph, the in-degree of a vertex is the number of edges pointing to it, and the out-degree is the number of edges pointing away from it. To find the maximum degrees, we must systematically calculate the in-degree and out-degree for every vertex in the set $V=\\{P,Q,R,S,T\\}$ based on the given edge set $E=\\{PQ, RS, TP, PS, QR, PT, ST, QP,…Read More
Similar Questions from HTET Exam - Level 3 - Year 2022
Question 1
Easy
Source :
HTET 2022
Term 'bath tub curve' is related to ......
Question 2
Easy
Source :
HTET 2022
In context of 2-phase locking protocol in DBMS, a transaction issues lock requests in _______ phase and unlock requests in _______ phase.
Chapter :
Database Management System (DBMS) & SQL
Topic :
Database Concepts
Question 3
Easy
Source :
HTET 2022
Consider Column-I and Column-II in context of C++: Column-I - Column-II i. Private - a. Data type modifier ii. Sizeof - b. Visibility specifier iii.…
Chapter :
Object-Oriented Programming (C++)
Topic :
OOP Concepts
Question 4
Easy
Source :
HTET 2022
Calculate number of page faults for reference string 3, 2, 4, 1, 3, 5, 2, 1, 7, 3, 0 considering four frames and eight pages…
Chapter :
Computer System & Hardware Fundamentals
Topic :
Memory