SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Computer Science AQA A level

» Start this Course
(Practice similar questions for free)
Question:

What are some of the difference between static and dynamic datastructures?

Author: Will Parker



Answer:

Static datastrutures have storag size determined at complie time whereas dynamic strcutures can change at run time Static data stuctures have a fixed size but dynamic structures can change Dynamic structures require more memory space casue of pointers Static data structures can waste storage space if the number of elemnets to store is less than the size whereas dynamic is alwsays excactly whast needed Static data types TYPICALLY store data in consecutive meomory locations but dynamic structures TYPICALLY dont


0 / 5  (0 ratings)

1 answer(s) in total