recategorized by
2,293 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

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