recategorized by
2,421 views
0 votes
0 votes

Consider the graph, which of the following is a valid topological sorting?

  1. $\text{ABCD}$
  2. $\text{BACD}$
  3. $\text{BADC}$
  4. $\text{ABDC}$
recategorized by

1 Answer

0 votes
0 votes
Option A:  incorrect as  $C$ cannot be completed before  $D$

Option B:  incorrect as  $B$ cannot be completed before  $A$

Option C:  incorrect, same reason as that for Option B

Option D: correct answer. Topologically sorted order would be:  $A\rightarrow B\rightarrow D\rightarrow C$

Related questions

439
views
1 answers
0 votes
go_editor asked Mar 27, 2020
439 views
The Register or main memory location which contains the effective address of the operand is known as:PointerIndexed registerSpecial LocationsScratch Pad
451
views
1 answers
0 votes
go_editor asked Mar 27, 2020
451 views
A Top - down Parse generatesLeft most derivationRight – most derivationRight most derivation in reverseLeft – most derivation in reverse
2.3k
views
1 answers
0 votes
go_editor asked Mar 27, 2020
2,279 views
A general macroprocessor is an in built function of :LoaderLinkerEditorAssembler
475
views
1 answers
0 votes
go_editor asked Mar 27, 2020
475 views
Which of the following is not collision Resolution Technique :Hash addressingChainningIndexingNone of these