KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy Advanced capstone 3.5 Failed

  • Advanced capstone 3.5 Failed

    Posted by holly on March 19, 2025 at 7:40 am

    Hi 

    For this question, the result did showed as expected however i still couldnt get it passed

    This function should:

    * take one parameter `x` which is a string

    * parse this string to return the first element of the parse tree

    such that:

    “`</p><p>.perm.parseQuery[“.f1.checkSensor[raceTab;lapTab]”]</p><p>// returns</p><p>`.f1.checkSensor

    .perm.parseQuery[“.fia.getSummaryReport[`today]”]</p><p>// returns</p><p>`.fia.getSummaryReport

    .perm.parseQuery[“select from tab”]

    // returns

    ?

    “`</p><blockquote>.perm.parseQuery: {first parse x}<br>hdbH (set;`.perm.parseQuery;.perm.parseQuery)

    mwoods replied 1 week, 4 days ago 2 Members · 1 Reply
  • 1 Reply
  • mwoods

    Administrator
    March 19, 2025 at 10:45 am

    This looks correct – you problem is more likely environmental as when I checked your instance the f1 database was missing, I rebooted and reloaded it and ran this code and 3.5 passes. Please DM me if you continue to have issues

Log in to reply.