You are required to optimize memory usageWhat should you do?

Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are in the process of storing numerical values up to 2,100,000,000 into a variable and may require storing negative values using a .NET Framework 2.0 application.
You are required to optimize memory usage
What should you do?

Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are in the process of storing numerical values up to 2,100,000,000 into a variable and may require storing negative values using a .NET Framework 2.0 application.
You are required to optimize memory usage
What should you do?

A.
Int32

B.
UInt16

C.
UInt32

D.
Int16

Explanation:
The Int32 type should be used in the scenario as it can be used to store positive and negative numerical values from -2,147,483,648 to +2,147,483,647.
Incorrect Answers:
B, C: The UINT32 and UInt16 type should not be used in the scenario because they are used to store only unsigned positive numbers.
D: The Int16 type should not be used as you will only be allowed to store values from -32768 to +32768.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


seenagape

seenagape

I have the same idea. A