Object Oriented Programming Quiz No. 1

10 Questions | Attempts: 48
Share
SettingsSettings
Please wait...
  • 1/10 Questions

    Given the following valuea = 24b = 12c = "23"d = "12"What is the result of : a + b

    • 36
    • 2412
    • "2412"
    • "36"
Please wait...
Object Oriented Programming Quiz No. 1 - Quiz
About This Quiz

.


Quiz Preview

  • 2. 

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

    • "36"

    • 36

    • "2312"

    • 2312

    Correct Answer
    A. "2312"
  • 3. 

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

    • 1212

    • 24

    • 12"12"

    • "24"

    Correct Answer
    A. 24
  • 4. 

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

    • 2312

    • 35

    • "35"

    • "2312"

    Correct Answer
    A. 35
  • 5. 

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

    • Error

    • 55

    • "2323"

    • 2323

    Correct Answer
    A. "2323"
  • 6. 

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

    • None of the above

    • 48

    • 12121212

    • Error

    Correct Answer
    A. Error
  • 7. 

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

    • "47"

    • 2423

    • Error

    • 47

    Correct Answer
    A. 47
  • 8. 

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

    • 122312

    • None of the above

    • "47"

    • 47

    Correct Answer
    A. 47
  • 9. 

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

    • Error

    • "12"12

    • 24

    • "1212"

    Correct Answer
    A. Error
  • 10. 

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

    • 36

    • "1236"

    • 122412

    • Error

    Correct Answer
    A. "1236"

Quiz Review Timeline (Updated): Mar 21, 2022 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 05, 2016
    Quiz Created by
    Lenlindo
Back to Top Back to top
Advertisement