Data types and structures
223 questions. Open a question to solve it and check the official answer.
Arrays · 1 mark · official answer ready
(ii) Edit the main program to call the procedure outputNodes(). Take a screenshot to show the output of the procedure outputNodes(). Save your program. Copy and paste the screensh…
Data types and records · 3 marks · official answer ready
(ii) Edit the main program to: • call addNode() • output an appropriate message depending on the result returned from addNode() • call outputNodes() twice; once before calling add…
Data types and records · 2 marks · official answer ready
(a) Write program code for a new program to: • declare the global 1D array, arrayData, with ten elements • initialise arrayData in the main program using the data values shown. Sa…
