UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

6.12.  Activities

6.12.1.  Memory management in C and Java

Resources

  • For this activity, the following table will be used:

    Aspect CJava
    Call to obtain memory
    Memory allocation needs size
    More than one function available for allocation/creation
    Is allocated memory initialized?
    Call to destroy/liberate memory
    Call to change the size of a previously allocated block
    Is it possible to access beyond the limits of an allocated block?
    What happens when a pointer to an allocated memory block is lost (is no longer stored in any variable)?

Work Plan

In groups of four people and during five minutes, complete the previous table. The answers must be obtained through consensus.

Assessment

Each group answer are shared with the rest of the class to fill a common table.