This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 2 years, 6 months ago.

  • Author
    Posts
  • #1427849 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    Consider the following SDT:
    SAB
    B*AB|S|ϵ
    ACA{print ‘$’}|ϵ
    C(S)|id {print (num.val) }
    id is a token that represents an integer and num.val represents the corresponding integer value.
    What does the SDT prints on an input “6*5 7” ?

    Options :-

    1. 6$57$$
    2. 6$5$7$
    3. Both (a) and (b)
    4. None
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: Consider the following SDT: S→AB B→*AB|S|ϵ A→CA{print ‘$’}|ϵ C→(S)|id {print (num.val) } i….
Your information:




Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account