Section 3.10. Quiz


3.10. Quiz



Question 31 .

What values can a bool type have?



Question 32 .

What is the difference between an int and an Int32 ?



Question 33 .

Which of the following code statements will compile?

 int myInt = 25;     long myLong = myInt;     int newInt = myLong; 



Question 34 .

What is the difference between an int and a uint ?



Question 35 .

What is the difference between a float and a double ?



Question 36 .

Explain definite assignment.



Question 37 .

Given the following declaration, how would you refer to the constant for LightJacketWeather and what would its value be?

 enum Temperatures     {         WickedCold = 0,         FreezingPoint = 32,         LightJacketWeather,         SwimmingWeather = 72,         BoilingPoint = 212,     } 



Question 38 .

What is an expression?



Learning C# 2005
Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)
ISBN: 0596102097
EAN: 2147483647
Year: 2004
Pages: 250

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net