Categories: Theory Question

CSC 214 Theory Question: Linear Array – Dynamic Memory Allocation

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.

 

CLICK THE LINK TO DOWNLOAD THE DETAILED ANSWER

Fred N

Recent Posts

ETM 312 Theory Questions: Land Law and the Consequences of Unauthorized Land Transfers in Nigeria

300 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Co-Ownership Structures and Land Acquisition Methods in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Rights in Community Land and Fundamental Land Concepts in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Customary Land Control and the Origins of Nigeria’s Land Use Act

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Land Ownership Principles and Transaction Laws in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 226 Theory Questions: Trespass: Types and Defenses in Property Law

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago