Machine-translated by Google. Questions are authored in English.
Top

Object Oriented Programming Questions and Answers

1.

Which of the given options best describes the truthfulness of the following statements?

i) VB.NET is an object-oriented programming language implemented in the .NET Framework.
ii) VB.NET is subset of Visual basic 6.0.
iii) .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

Exam Year(s)

DSSSB TGT - 2023,

Answer: C

Statements i and iii are true and ii is false. VB.NET is an object-oriented language implemented on the .NET Framework, and .NET is a free, cross-platform, open-source developer platform for building many kinds of applications. VB.NET is not a subset of Visual Basic 6.0: it is a later language built on .NET and rewritten in an object-oriented way, so VB6 programs do not run as VB.NET without changes. The options that mark ii as true or i as false are wrong.

Please log in or register to report this question.

2.

Which of the following languages is a non .NET language?

Exam Year(s)

DSSSB TGT - 2023,

Answer: D

Pascal is the non-.NET language among the options. C#, F# and J# are languages designed to run on the .NET platform, compiling to the common intermediate language that the .NET runtime executes. Pascal is the older language not designed for it. Pascal is a procedural language developed in the early 1970s, while the .NET family consists of languages such as C#, F# and Visual Basic that are compiled for the common language runtime.

Please log in or register to report this question.

3.

Which of the following languages are object-oriented programming languages? Languages: i) LISP ii) Java iii) C++ iv) Simula v) SQL vi) C

Exam Year(s)

DSSSB TGT - 2023,

Answer: A

The keyed answer is i, ii, iii and iv only: LISP, Java, C++ and Simula. Java, C++ and Simula are object-oriented languages, and Simula is regarded as the first. LISP is a multi-paradigm language that has object-oriented features through its object system (CLOS), and the key counts it. SQL is a database query language and C is a procedural language, so v and vi are not object-oriented. Many textbooks would leave out LISP, but the official key includes it.

Please log in or register to report this question.

Loading…
Tags: Object Oriented Concepts Questions and Answers || Object Oriented Concepts MCQ Questions and Answers || Object Oriented Concepts GK Questions and Answers || Object Oriented Concepts GK MCQ Questions || Object Oriented Concepts Multiple Choice Questions and Answers || Object Oriented Concepts GK || GK on Object Oriented Concepts || Object Oriented Programming Questions and Answers || Object Oriented Programming MCQ Questions and Answers || Object Oriented Programming GK Questions and Answers || GK on Object Oriented Programming