1. Question: Which of the following data types does not support precision?

    A
    decimal

    B
    int

    C
    float

    D
    double

    Note: Not available
    1. Report
  2. Question: What is the smallest possible value for decimal in C#?

    A
    -2147483648

    B
    -1.0E-28M

    C
    0

    D
    -79228162514264337593543950335

    Note: Not available
    1. Report
  3. Question: Which data type would you use for a value of 3.402823E+38?

    A
    float

    B
    decimal

    C
    double

    D
    int

    Note: Not available
    1. Report
  4. Question: What is string in C#?

    A
    Primitive type

    B
    Reference type

    C
    Value type

    D
    Static type

    Note: Not available
    1. Report
  5. Question: Which data type is not zero by default?

    A
    float

    B
    int

    C
    bool

    D
    decimal

    Note: Not available
    1. Report
  6. Question: Which of these operators checks if a variable is of a specific type?

    A
    typeof

    B
    is

    C
    as

    D
    cast

    Note: Not available
    1. Report
  7. Question: What is an array in C#?

    A
    A data structure that can hold multiple values of the same type

    B
    A data structure that holds only one value

    C
    A method to store variables

    D
    None

    Note: Not available
    1. Report
  8. Question: What is the result of the expression 7 / 2 in C#?

    A
    3.5

    B
    3

    C
    4

    D
    2

    Note: In C#, integer division truncates the decimal portion, so 7 / 2 results in 3.
    1. Report
  9. Question: Which operator is used to check if a variable is of a certain type?

    A
    is

    B
    as

    C
    type

    D
    typeof

    Note: The is operator checks whether an object is compatible with a given type.
    1. Report
  10. Question: What will the expression 5.0 / 2 evaluate to?

    A
    2

    B
    2.5

    C
    3

    D
    0

    Note: When performing division with at least one floating-point number, the result is a floating-point number.
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd