Which of the following is an object oriented programming language?

Object oriented programming languages introduction and examples MCQs

1. MCQ: Which of the following is an object oriented programming language?
A. c
B. c++
C. ml
D. ada
Answer:  C++

2. In object oriented programming, the objects can contain ______ ?

A. data
B. code
C. variables
D. all of these
Answer: all of these

3. In object oriented programming, the objects store data in the form of____?

A. fields
B. methods
C. procedures
D. both b and c
Answer: fields

4. Which one of the following is a more generalized concept?

A. Object
B. Class
C. Attributes
D. Functions
Answer: Class

5. Which statement is true about objects in object oriented programming?

(a). procedures are attached to objects but can’t access and modify the object’s data fields
(b). procedures are not attached to objects and so can’t access and modify the object’s data fields
(c). procedures are attached to objects and can access but can’t modify the object’s data fields
(d). procedures are attached to objects and can access and modify the object’s data fields

Answer: procedures are attached to objects and can access and modify the object’s data fields

6. In object oriented programming, the objects store code in the form of____?

A. fields
B. methods
C. procedures
D. both b and c
Answer: both b and c

7. Which of the following is not an object oriented programming language?
A. C
B. C++
C. ml
D. both a and c
Answer: both a and c

8. Which of the following statement is correct about classes in object oriented programming?
A. Classes can share attribute with each other
B. Classes can’t share attribute with each other
C. Classes represents recursion
D. None of these
Answer: Classes can share attribute with each other

9. Which one of the following statement is correct about objects and classes?
(a). objects are not instances of classes
(b). objects are instances of classes
(c). classes are instances of objects
(d). objects are instances of classes
Answer: objects are instances of classes

Examples of Object oriented programming languages

  1. Fortran 2003
  2. Lasso
  3. Modula-3
  4. Nim
  5. Graphtalk
  6. JADE
  7. FPr
  8. Lava
  9. Oberon
  10. Lingo
  11. Gura (programming language)
  12. D
  13. Genie
  14. Chapel
  15. Curl
  16. F-Script
  17. J
  18. BETA
  19. Clarion
  20. F#
  21. MATLAB
  22. Go
  23. Object Pascal
  24. C#
  25. COOL
  26. Logtalk
  27. COBOL
  28. Kotlin
  29. Common Lisp
  30. Julia
  31. Java
  32. ABAP
  33. FreeBASIC
  34. Dart
  35. AmigaE
  36. Ada 95
  37. CLU
  38. J#
  39. Dylan
  40. Lexico
  41. Elixir
  42. LISP
  43. Nemerle
  44. DataFlex
  45. Boo
  46. E
  47. Gambas
  48. Ceylon
  49. Apex
  50. C++
  51. Noop
  52. CorbaScript
  53. ColdFusion
  54. Cobra
  55. IDLscript
  56. NetRexx
  57. Eiffel
  58. Object REXX
  59. Objective-C
  60. OCaml
  61. Omnis Studio
  62. OpenEdge Advanced Business Language
  63. Oz, Mozart Programming System
  64. Perl since v5
  65. PHP since v4, greatly enhanced in v5
  66. Power Builder
  67. Prototype-based languages
  68. Python
  69. REALbasic
  70. Ruby
  71. Rust
  72. Scala
  73. Scriptol
  74. Seed7
  75. SenseTalk
  76. Simula
  77. Smalltalk
  78. Squirrel
  79. Swift
  80. TADS
  81. Tcl
  82. Transcript
  83. TypeScript
  84. Ubercode
  85. Vala
  86. Visual Basic
  87. Visual FoxPro
  88. Visual Prolog
  89. XBase++
  90. Xojo
  91. ZZT-ooP

Example of  a program with object oriented programming

Write a program to add two numbers with OOP concepts.

OOP MCQs 

Programming C Plus Plus MCQs 

shamil memory table