Data types and structures
6 questions. Open a question to solve it and check the official answer.
Data types and records · 16 marks · official answer ready
(c) The module description of Unpack() is repeated here for reference. Module Description • called with two parameters: o an array index Unpack() o a string value read from one li…
Data types and records · 17 marks · official answer ready
(c) Two additional modules are required: Module Description • called with a STRING representing a product group (for example, "ABLK") Lookup() • searches the Summary array for the…
Data types and records · 2 marks · official answer ready
(ii) Write program code for a statement that calls the modified ClearArray() procedure to clear the array Duplicates to "Empty". Programming language .............................…
Data types and records · 3 marks · official answer ready
(c) CountTimes() is to be used to count how many unused elements there are in the Leavers array. An unused element is one that contains an empty string. The module description is …
Data types and records · 3 marks · official answer ready
(c) Write pseudocode for the module declaration of WriteInfo(). ...................................................................................................................…
Data types and records · 3 marks · official answer ready
(c) ProcessArray() is modified to make it general purpose. It will now be called with two parameters as follows: • an array • a string representing the name of a class contact fil…
