CS201 GDB Solution Spring 2022 | CS201 GDB Solution 2022|

 

Cs201

GDB SOLUTION

SPRING 2022

DUE DATE 29-08-2022

GDB

Suppose, you are working as a Gaming Application Developer in a XYZ company. Memory management is an important feature when you are working on gaming development, or on large applications. In gaming, high performance and responsiveness are the most important factors. Furthermore, in gaming, environment performance depends on how you are managing the given memory on devices.

Considering the requirements given in the above scenario;

Which memory allocation approach will you choose for memory management in terms of high performance and high responsiveness? Static memory allocation or dynamic memory allocation? Justify your answer with the proper reasoning.

Instructions:

Do not post irrelevant answers (You will get any grade if you post irrelevant answer.

Answer must not exceed 4-5 lines of text.

No GDB would be accepted after due date and on

ANSWER:-

In a video game, when a new character shows up in a scene, memory is allocated for the character. The game developers made sure the game allocates enough memory for the character before you interacted with it. This allocation happens dynamically during runtime, and it is known as Dynamic Memory Allocation.

According to given scenario in my opinion dynamic memory is best for gaming 12th mint on large application because in dynamic memory allocation variable get allocated only if your program your hands get active in dynamic memory action when memory is advocated the memory size can be changed and it more efficient the best feature in dynamic memory allocation is memory the usability and memory can be played when not required as compared to Static memory allocation there is no reusability in dynamic memory the user can allocate more memory when required and also the user can release the memory when the user need it.


Post a Comment

Previous Post Next Post