Just to repeat ....
'Q' codes ARE NOT MNEMONICS - they are a series of three letter combinations which were, initially, used in W/T (morse code) transmissions to aid international understanding and for brevity. For military use there was also the 'Z' code which operated similarly. The 'Q' had no query significance, it was just a common starting letter. If the code was used as a query, rather than a statement, it preceded the additional 'code' IMI (sent as one continuous character). The equivalent interrogative for the 'Z' code was INT.
Their continuing use in R/T is indicative of their universality.