Object Oriented Programming Quiz No. 1

10 Questions | Total Attempts: 47

SettingsSettingsSettings
Please wait...
Object Oriented Programming Quiz No. 1

.


Questions and Answers
  • 1. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : a + b
    • A. 

      36

    • B. 

      2412

    • C. 

      "2412"

    • D. 

      "36"

  • 2. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : c + d
    • A. 

      "36"

    • B. 

      36

    • C. 

      "2312"

    • D. 

      2312

  • 3. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : val (c)  + val (d)
    • A. 

      2312

    • B. 

      35

    • C. 

      "35"

    • D. 

      "2312"

  • 4. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : val (d) + b
    • A. 

      1212

    • B. 

      24

    • C. 

      12"12"

    • D. 

      "24"

  • 5. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : a + val (c)
    • A. 

      "47"

    • B. 

      2423

    • C. 

      Error

    • D. 

      47

  • 6. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : d + b
    • A. 

      Error

    • B. 

      "12"12

    • C. 

      24

    • D. 

      "1212"

  • 7. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : b + val (c) + val (d)
    • A. 

      122312

    • B. 

      None of the above

    • C. 

      "47"

    • D. 

      47

  • 8. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : d + str (a + b)
    • A. 

      36

    • B. 

      "1236"

    • C. 

      122412

    • D. 

      Error

  • 9. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : str (val (c + c))
    • A. 

      Error

    • B. 

      55

    • C. 

      "2323"

    • D. 

      2323

  • 10. 
    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : str(val (d) + val (d) + b + d)
    • A. 

      None of the above

    • B. 

      48

    • C. 

      12121212

    • D. 

      Error

Back to Top Back to top