Question: 2 Choose (a) a programming language in which strings are primitive values (such as ML); (b) a language in which strings are character arrays (such
2 Choose (a) a programming language in which strings are primitive values (such as ML); (b) a language in which strings are character arrays (such as C or ADA); (c) a language in which strings are character lists (such as HASKELL or PROLOG); and (d) a language in which strings are objects (such as JAVA). Make a table showing the string operations provided by each language. In language (b), which string operations are in fact available for all arrays? In language (c), which string operations are in fact available for all lists? In each language, are any of the operations identified in Section 2.4.2 missing, and could the missing operations be defined in the language itself?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
