1. Question: Which of the following statement is not correct in term of double and decimal?

    A
    Double is useful for scientific computations

    B
    Decimal is useful for financial computations

    C
    Decimal is for man-made measurements.

    D
    Double is for real-world measurements.

    E
    none

    Note: Not available
    1. Report
  2. Question: Which of the following is a value type in C#?

    A
    string

    B
    object

    C
    int

    D
    dynamic

    Note: Not available
    1. Report
  3. Question: What is the size of the float data type in C#?

    A
    2 bytes

    B
    4 bytes

    C
    8 bytes

    D
    16 bytes

    Note: Not available
    1. Report
  4. Question: Which data type should be used to store a value of true or false in C#?

    A
    int

    B
    boolean

    C
    bool

    D
    byte

    Note: Not available
    1. Report
  5. Question: Which of the following types is NOT a reference type in C#?

    A
    object

    B
    int

    C
    string

    D
    dynamic

    Note: Not available
    1. Report
  6. Question: What is the default value of a bool variable in C#?

    A
    true

    B
    false

    C
    0

    D
    null

    Note: Not available
    1. Report
  7. Question: Which keyword is used to declare a variable that can store any data type in C#?

    A
    object

    B
    var

    C
    dynamic

    D
    any

    Note: Not available
    1. Report
  8. Question: Which of the following is NOT a primitive data type in C#?

    A
    double

    B
    decimal

    C
    string

    D
    array

    Note: Not available
    1. Report
  9. Question: What is the size of the double data type in C#?

    A
    4 bytes

    B
    8 bytes

    C
    16 bytes

    D
    32 bytes

    Note: Not available
    1. Report
  10. Question: What is the maximum value of a byte data type in C#?

    A
    255

    B
    256

    C
    1024

    D
    2048

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd