Questions · Page 2 of 8

MCQ

MCQ 511 Mark
By which of the following overloading is polymorphism possible?
  • A
    Operator overloading
  • B
    Function overloading
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 521 Mark
In object-oriented programming same operation is given different meanings depending upon the data type of operands used. By what can this type of Polymorphism be achieved?
  • Operator overloading
  • B
    Aggregation
  • C
    Data-Abstraction
  • D
    Encapsulation
Answer
Correct option: A.
Operator overloading
Operator overloading
View full question & answer
MCQ 531 Mark
Which of the following object-oriented programming allows writing expression using operators?
  • Object
  • B
    Class
  • C
    Function
  • D
    Template
Answer
Correct option: A.
Object
Object
View full question & answer
MCQ 541 Mark
Object-oriented programming allows to define more than one method having same name but different signatures in a single class. What is known as this characteristic?
  • A
    Function
  • B
    Method overloading
  • a or b
  • D
    None of these
Answer
Correct option: C.
a or b
a or b
View full question & answer
MCQ 551 Mark
We have written a function named ‘Max’ that takes two integers as parameters and returns maximum as integer value and one more function named ‘Max’ that finds maximum of integer elements stored in an array. What is known as this creation?
  • Polymorphism
  • B
    Encapsulation
  • C
    a and b both
  • D
    None of these.
Answer
Correct option: A.
Polymorphism
Polymorphism
View full question & answer
MCQ 561 Mark
What does signature mean?
  • A
    Number of parameters
  • B
    Type of parameter
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 571 Mark
Which type of functions can be defined more than one time with same name in object oriented programming?
  • Methods differs in signatures.
  • B
    Methods same in signatures.
  • C
    a and b both
  • D
    None of these
Answer
Correct option: A.
Methods differs in signatures.
Methods differs in signatures.
View full question & answer
MCQ 581 Mark
“Is it possible to define more than one function with same name in object oriented programming.” — Which of the following is a true answer of this question?
  • It is possible as long as the methods differs in signatures.
  • B
    It is possible when signature is not defined.
  • C
    a and b both
  • D
    None of these
Answer
Correct option: A.
It is possible as long as the methods differs in signatures.
It is possible as long as the methods differs in signatures.
View full question & answer
MCQ 591 Mark
Is it possible to define more than one function with same name in some programming languages.” Which of the following is a true answer of this question?
  • No
  • B
    Yes
  • C
    It depends on OS.
  • D
    It depends on user
Answer
Correct option: A.
No
No
View full question & answer
MCQ 601 Mark
What is called as different forms of single method or operation?
  • A
    Data-Abstraction
  • B
    Encapsulation
  • Polymorphism
  • D
    Messaging
Answer
Correct option: C.
Polymorphism
Polymorphism
View full question & answer
MCQ 611 Mark
What does polymorphism mean?
  • A
    Many forms
  • B
    different forms
  • a or b
  • D
    None of these
Answer
Correct option: C.
a or b
a or b
View full question & answer
MCQ 621 Mark
“Different classes may have same methods with to a method in object same name.” Specify this statement.
  • This statement is true.
  • B
    This statement is false.
  • C
    It depends on class.
  • D
    It depends on metho
Answer
Correct option: A.
This statement is true.
This statement is true.
View full question & answer
MCQ 631 Mark
Due to which of the following all method calls are handled by objects that recognize the method?
  • Encapsulation
  • B
    Abstraction
  • C
    Polymorphism
  • D
    Message
Answer
Correct option: A.
Encapsulation
Encapsulation
View full question & answer
MCQ 641 Mark
What is referred as a call oriented terminology?
  • A
    Abstraction
  • B
    Encapsulation
  • C
    Polymorphism
  • Message
Answer
Correct option: D.
Message
Message
View full question & answer
MCQ 651 Mark
Which of the following enables to represent data in which the implementation details are hidden?
  • A
    Encapsulation
  • Abstraction
  • C
    Messaging
  • D
    Polymorphism
Answer
Correct option: B.
Abstraction
Abstraction
View full question & answer
MCQ 661 Mark
Which of the following protects data by making them inaccessible from outside?
  • Encapsulation
  • B
    Abstraction
  • C
    Messaging
  • D
    Polymorphism
Answer
Correct option: A.
Encapsulation
Encapsulation
View full question & answer
MCQ 671 Mark
What is the full form of ADT?
  • Abstract Data Types
  • B
    Advanced  Dynamic Types
  • C
    Advanced Data Types
  • D
    Abstract Dynamic Types
Answer
Correct option: A.
Abstract Data Types
Abstract Data Types
View full question & answer
MCQ 681 Mark
In which of the following do we simply define a data type and a set of operations on it?
  • ADT
  • B
    DTA
  • C
    OOP
  • D
    0MG
Answer
Correct option: A.
ADT
ADT
View full question & answer
MCQ 691 Mark
Which of the following is an example of data- abstraction?
  • A
    Abstract Data Types or structures in C/C++
  • B
    Classes in C++/Java
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 701 Mark
Which of the following is hidden in data- abstraction?
  • A
    Abstract behavior of the data type
  • Details of how the behavior of the data type is implemented
  • C
    a and b both
  • D
    None of these
Answer
Correct option: B.
Details of how the behavior of the data type is implemented
Details of how the behavior of the data type is implemented
View full question & answer
MCQ 711 Mark
What does data-abstraction maintain visible?
  • Abstract behavior of the data type
  • B
    Details of how the behavior of the data type is implemented
  • C
    a and b both
  • D
    None of these
Answer
Correct option: A.
Abstract behavior of the data type
Abstract behavior of the data type
View full question & answer
MCQ 721 Mark
What does data-abstraction provide us to -use?
  • A
    Skeleton
  • B
    Template
  • a and a both
  • D
    None of these
Answer
Correct option: C.
a and a both
a and a both
View full question & answer
MCQ 731 Mark
What does a user defined function with necessary input data parameters provide?
  • Data-Abstraction
  • B
    Encapsulation
  • C
    Polymorphism
  • D
    Class
Answer
Correct option: A.
Data-Abstraction
Data-Abstraction
View full question & answer
MCQ 741 Mark
By which of the following functions data- abstraction concept can be understood in C programming?
  • A
    sqrt(25)
  • B
    print(“Hello”)
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 751 Mark
Which of the following is not a new concept for programming?
  • Data-Abstraction
  • B
    Encapsulation
  • C
    Polymorphism
  • D
    Messaging
Answer
Correct option: A.
Data-Abstraction
Data-Abstraction
View full question & answer
MCQ 761 Mark
Which of the following is a technique that relies on the separation of interface and implementation?
  • Data-Abstraction
  • B
    Polymorphism
  • C
    Encapsulation
  • D
    Messaging
Answer
Correct option: A.
Data-Abstraction
Data-Abstraction
View full question & answer
MCQ 771 Mark
Which of the following is a concept that says what it does, but not how it is done?
  • Data-Abstraction
  • B
    Messaging
  • C
    Encapsulation
  • D
    Polymorphism
Answer
Correct option: A.
Data-Abstraction
Data-Abstraction
View full question & answer
MCQ 781 Mark
Which of the following is a concept that hides the complexity?
  • Data-Abstraction
  • B
    Encapsulation
  • C
    Polymorphism
  • D
    Messaging
Answer
Correct option: A.
Data-Abstraction
Data-Abstraction
View full question & answer
MCQ 791 Mark
Which of the following is a process of representing the essential features of the objects without including implementation details?
  • A
    Polymorphism
  • B
    Encapsulation
  • Data-Abstraction
  • D
    Messaging
Answer
Correct option: C.
Data-Abstraction
Data-Abstraction
View full question & answer
MCQ 801 Mark
Which of the following statements is true for object-oriented programming?
  • A
    Only the object that “owns” the data can change its content.
  • B
    Other objects can view it.
  • C
    Other objects can change this data by sending message to the “owner”.
  • All of these.
Answer
Correct option: D.
All of these.
All of these.
View full question & answer
MCQ 811 Mark
Which of the following programming prevents direct access of common data by other programs?
  • object
  • B
    script
  • C
    web
  • D
    animation
Answer
Correct option: A.
object
object
View full question & answer
MCQ 821 Mark
Which of the following programming techniques is an opposite kind of technique than the procedural programming?
  • A
    script
  • object
  • C
    web
  • D
    animation
Answer
Correct option: B.
object
object
View full question & answer
MCQ 831 Mark
In procedural programming which type of data areas are often used for sharing information?
  • common
  • B
    private
  • C
    single
  • D
    multi
Answer
Correct option: A.
common
common
View full question & answer
MCQ 841 Mark
Which of the following keeps the data safe from unintended actions and inadvertent access by outside objects?
  • Encapsulation
  • B
    Abstraction
  • C
    Polymorphism
  • D
    Aggregation
Answer
Correct option: A.
Encapsulation
Encapsulation
View full question & answer
MCQ 851 Mark
Which method is used to make data available to the outside world?
  • A
    private
  • public
  • C
    multi
  • D
    single
Answer
Correct option: B.
public
public
View full question & answer
MCQ 861 Mark
Private members of the class are not available directly to outside world” - Specify this statement.
  • This statement is true.
  • B
    This statement is false.
  • C
    It depends on class.
  • D
    It depends on data.
Answer
Correct option: A.
This statement is true.
This statement is true.
View full question & answer
MCQ 871 Mark
What is known as the wrapping of data and methods into a single unit?
  • Class
  • B
    Object
  • C
    Field
  • D
    Encapsulation
Answer
Correct option: A.
Class
Class
View full question & answer
MCQ 881 Mark
What type of encapsulation is possible by wrapping data and methods into a class?
  • A
    public
  • B
    protected
  • private
  • D
    multi
Answer
Correct option: C.
private
private
View full question & answer
MCQ 891 Mark
Which of the following has ability to hide the data?
  • Encapsulation
  • B
    Polymorphism
  • C
    Data-Abstraction
  • D
    Data-Abstraction
Answer
Correct option: A.
Encapsulation
Encapsulation
View full question & answer
MCQ 901 Mark
Which mechanism provides protection to data and methods of a program?
  • Encapsulation
  • B
    Data-Abstraction
  • C
    Polymorphism
  • D
    Data-Abstraction
Answer
Correct option: A.
Encapsulation
Encapsulation
View full question & answer
MCQ 911 Mark
By which of the following a problem of modification of data can be solved in object- oriented programming?
  • Encapsulation
  • B
    Data-Abstraction
  • C
    Polymorphism
  • D
    Inheritance
Answer
Correct option: A.
Encapsulation
Encapsulation
View full question & answer
MCQ 921 Mark
Which of the following programming is not protected from modification (value of data)?
  • A
    Object
  • Procedural
  • C
    Animation
  • D
    Web
Answer
Correct option: B.
Procedural
Procedural
View full question & answer
MCQ 931 Mark
In which of the following programming data can be altered by any component of the program?
  • Procedural
  • B
    Animation
  • C
    Object
  • D
    Web
Answer
Correct option: A.
Procedural
Procedural
View full question & answer
MCQ 941 Mark
As how many entities does object-oriented programming view to data and functions?
  • One
  • B
    Three
  • C
    Two
  • D
    Many
Answer
Correct option: A.
One
One
View full question & answer
MCQ 951 Mark
In which of the following programming are data and functions separate entities?
  • Structured
  • B
    Object-oriented
  • C
    Animation
  • D
    Web based
Answer
Correct option: A.
Structured
Structured
View full question & answer
MCQ 961 Mark
Which are two elements of any computer program?
  • A
    Data
  • B
    Functions
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 971 Mark
As which of the following are class objects also known as?
  • Instance
  • B
    Method
  • C
    Behavior
  • D
    None of these
Answer
Correct option: A.
Instance
Instance
View full question & answer
MCQ 991 Mark
With what are objects represented during execution of an application?
  • state
  • B
    Symbol
  • C
    code
  • D
    None of these
Answer
Correct option: A.
state
state
View full question & answer
MCQ 1001 Mark
UML diagrams are not dependent on the following.
  • on the Programming language used for coding an application
  • B
    on how many attributes to be used
  • C
    on how many classes to be used
  • D
    None of these
Answer
Correct option: A.
on the Programming language used for coding an application
on the Programming language used for coding an application
View full question & answer
MCQ - Page 2 - Computer STD 12 Commerce Questions - Vidyadip