Sale!

Linear Array – Dynamic Memory Allocation

Original price was: ₦1,000.00.Current price is: ₦300.00.

Description

200 Level Computer Science exam questions and the detailed answers. Download the answers in document format. Correct, detailed, and straightforward answers.

Questions:

(a)

  • (i) What is a linear array?
  • (ii) Find the length of these linear arrays: DJ(5:73) and AB(14:98)
  • (iii) Assuming the base address of array DJ is 250 and the word length of each memory cell is 3, find the memory address of:
    • BJ(5:27)
    • DY(5:39)

(b)

  • (i) Briefly explain the concept of dynamic memory allocation.
  • (ii) Write an algorithm to delete the profile of an expelled student from the 49th position of the STUDENTS array containing 342 elements.

 

DOWNLOAD THE ANSWER NOW