What is the number of steps required to derive the string ((() ()) ()) S → SS…

ISRO Scientist/Engineer SC · 2014 · Computer Science

What is the number of steps required to derive the string ((() ()) ())

S → SS
S → (S)
S → ε
  1. A.

    10

  2. B.

    15

  3. C.

    12

  4. D.

    16

Attempted by 141 students.

Show answer

Correct answer: A

The worked solution is available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…