• Shuffle
Toggle On
Toggle Off
• Alphabetize
Toggle On
Toggle Off
• Front First
Toggle On
Toggle Off
• Both Sides
Toggle On
Toggle Off
Toggle On
Toggle Off
Front

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

Play button

Play button

Progress

1/16

Click to flip

16 Cards in this Set

• Front
• Back
• 3rd side (hint)
 What is the 'sbyte' datatype? What is it's range? The 'sbyte' datatype is the signed byte type. It's range is -128 to 127. 's' is for signed. What is the 'short' data type and what is it's range? The 'short' data type is a signed 16 bit integer. It's range is -32,768 to 32,767. 16 bits is not very long but it was the sign of the times in 1982. What is the 'bool' datatype and how long is it? The 'bool' datatype has only two values, true and false. It's length is not defined but is system dependent. What is the 'byte' datatype and how long is it? The 'byte' datatype is an unsigned 16 bit integer. There's no 's' in front of it. What is the char datatype? What is it's range? The 'char' datatype is used to store a Unicode character. It is 16 bits and it's range is from hex 0000 to hex ffff. kanji for example. What is the 'decimal' datatype? How long is it? What is it's precision? What is it's formatting character? The 'decimal' datatype is used for financial calculations. It ranges from approximately 1.0x10^-28 to 7.9x10^28. It has at least 28 significant digits. It's formatting character is 'm'. MOney makes the world go 'round. What is the 'double' datatype and how long is it? What is it's range? What is it's precision? What is it's formatting character? The 'double' datatype is the double precision 64 bit floating point type. It's range is from approximately ±1.5x10^-308 to ±1.7x10^308. It's precision is 15 digits. It's formatting character is 'd'. half again at 308. enum 1: What is the 'enum' keyword used for? Give an example is C# syntax. The 'enum' keyword is used to create enumerated lists. enum foo {eshort, elong, esbyte, ebyte}; enumerate the possibilities. enum 2: What is the output of the following code snippet? enum foo {elong, eshort, esbyte, eint}; ... Console.Write("eshort {0}", esbyte); eshort 2 What culture created the concept of zero? enum 3: What is the output from this code snippet? enum foo {elong = 2, eshort, eint}; ... Console.Write("eint {0}", eint); eint 4 You don't always have to start at the beginning. What is the 'float' datatype? What is it's range? What is it's precision? What is it's formatting character? The 'float' datatype is used to store 32 bit floating point numbers. It ranges from ±1.5x10^-38 to ±3.4x10^38. It's precision is 7 digits. It's formatting character is 'f'. It's only half as long. What is the 'int' datatype? What is it's range? What is it's formatting character? The 'int' datatype is used to declare signed integer variables. It's range is ~ ±2.15x10^9. There is no formatting character for 'int'. billions and billions. What is the 'long' type? What is it's range? What is the formatting suffix? The 'long' datatype is the long integer type. It's range is from ~ ±9.22x10^18. It's formatting suffix is 'l'. It's magnitude is twice that of 'int'. What is the 'uint' datatype? What is it's range? What is the formatting suffix character? The 'uint' datatype is the unsigned 32 bit integer. It's range is from 0 to 4,294,967,295. It's formatting suffix character is 'u' u is for unsigned. What is the 'ulong' datatype? What is it's range? What is the type suffix? The 'ulong' datatype is an unsigned 64 bit integer. It's range is from 0 to ~ 18.44x10^18. It's type suffix is 'u'. It's magnitude is twice that of uint but it's not negative about it. What is the 'ushort' datatype? What is it's range? What is it's type suffix? The 'ushort' datatype is an unsigned 16 bit integer. It's range is from 0 to 65,535. It has no type suffix. It gave Osborne it's all.