UGC NET Paper 2 (Computer Science)Hard
The maximum number of edges in a simple planar graph with 10 vertices is:
- A. 30
- B. 27
- C. 24
- D. 20
Correct answer: C. 24
For n >= 3, e <= 3n - 6 = 24 from Euler's formula.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- The number of generators of the cyclic group Z12 is:
- The minimum number of states of a DFA over {a, b} accepting strings with the number of a's divisible by 3 and the number of b's divisible…
- Assertion (A): Whether a given Turing machine accepts at least one string is undecidable. Reason (R): By Rice's theorem every non-trivial…
- For the same grammar, an LALR(1) parser has the same number of states as:
- For the grammar E -> TE', E' -> +TE' | e, T -> FT', T' -> FT' | e, F -> (E) | id, FOLLOW(T) is:
- For the statement x = (a + b) (a + b) + c, the number of three-address instructions after common sub-expression elimination (via DAG) is: