Datatypes - General Questions Online Exam Quiz

Datatypes - General Questions GK Quiz. Question and Answers related to Datatypes - General Questions. MCQ (Multiple Choice Questions with answers about Datatypes - General Questions

Which of the following statements are correct about data types?

Options

A : 1, 3, 5

B : 2, 4

C : 3, 5

D : 1, 2, 5

View Answer

Which of the following is an 8-byte Integer?

Options

A : Char

B : Long

C : Short

D : Byte

View Answer

Which of the following is NOT an Integer?

Options

A : Char

B : Byte

C : Integer

D : Short

View Answer

Which of the following statements is correct?

Options

A : Information is never lost during narrowing conversions.

B : The CInteger() function can be used to convert a Single to an Integer.

C : Widening conversions take place automatically.

D : Assigning an Integer to an Object type is known as Unboxing.

View Answer

Which of the following are value types?

Options

A : 1, 2, 5

B : 1, 3, 5

C : 2, 4

D : 3, 5

View Answer

Which of the following does not store a sign?

Options

A : Short

B : Integer

C : Long

D : Byte

View Answer

What is the size of a Decimal?

Options

A : 4 byte

B : 8 byte

C : 16 byte

D : 32 byte

View Answer

What will be the output of the following code snippet when it is executed?

Options

A : 0.1

B : 1.0

C : 1.1

D : 11

View Answer

Which of the following is the correct size of a Decimal datatype?

Options

A : 8 Bytes

B : 4 Bytes

C : 10 Bytes

D : 16 Bytes

View Answer

Which of the following statements are correct?

Options

A : 2, 5

B : 1, 5

C : 3, 4

D : 2, 3

View Answer

Attributes - General Questions more Online Exam Quiz

Attributes - General Questions

Classes and Objects - General Questions

Collection Classes - General Questions

Constructors - General Questions

Delegates - General Questions

.NET Framework - General Questions

Enumerations - General Questions

Exception Handling - General Questions

Functions and Subroutines - General Questions