Question 17
Consider a graph generated from the “Words” table that is represented by a matrix M. Each node in the graph corresponds to a word from the table. SeqNo is used to label the nodes in the graph. Study the given pseudocode and answer the given subquestions.
Consider a graph generated from the “Words” table that is represented by a matrix M. Each node in the graph corresponds to a word from the table. SeqNo is used to label the nodes in the graph. Study the given pseudocode and answer the given subquestions.
There will be an edge from word i to j if:
The letter count and part of speech of words i and j are same
The letter count of word i is more than j and both have same part of speech
The letter count of word i is one more than j and both have same part ofspeech
The letter count of word j is one more than i and both have same part ofspeech