Questions · Page 5 of 8

MCQ

MCQ 2021 Mark
As per how many visibilities the UML notation can be written ?
  • A
  • C
  • D
    6
Answer
Correct option: B.
(B) 4
View full question & answer
MCQ 2031 Mark
In a class diagram, a class is represented with an icon using a rectangle split into ………… sections.
  • A
    name 
  • B
    attribute 
  • C
    behavior 
  • all of these
Answer
Correct option: D.
all of these
(D) all of these
View full question & answer
MCQ 2041 Mark
What is class diagram ?
  • Diagrams which are mapped 
  • B
    Points 
  • C
    Objects 
  • D
    Graph
Answer
Correct option: A.
Diagrams which are mapped 
(A) Diagrams which are mapped
View full question & answer
MCQ 2051 Mark
UML is a ………….. type of language.
  • A
    visible 
  • B
    visual 
  • C
    modeling 
  • all of these
Answer
Correct option: D.
all of these
(D) all of these
View full question & answer
MCQ 2061 Mark
……… can be used to create models of object oriented programming software.
  • UML 
  • B
    ULM 
  • C
    UNL 
  • D
    ULN
Answer
Correct option: A.
UML 
(A) UML
View full question & answer
MCQ 2071 Mark
Class is considered as a …………. for various objects.
  • A
    blueprint 
  • B
    map 
  • C
    graph 
  • both (A) and (B)
Answer
Correct option: D.
both (A) and (B)
(D) (A) or (B)
View full question & answer
MCQ 2081 Mark
………… is used to define common characteristic of object.
  • A
    Method 
  • B
    Attribute 
  • class 
  • D
    Function
Answer
Correct option: C.
class 
(C) class
View full question & answer
MCQ 2091 Mark
…………. can be similar related to object.
  • A
    Attribute 
  • B
    Behavior 
  • C
    State 
  • both (A) and (B)
Answer
Correct option: D.
both (A) and (B)
(D) (A) and (B)
View full question & answer
MCQ 2101 Mark
What the object is, it is called ………. .
  • A
    identity 
  • B
    behavior 
  • state 
  • D
    none of these
Answer
Correct option: C.
state 
(C) state
View full question & answer
MCQ 2111 Mark
In real world, object can be explained with ………….. .
  • A
    identity 
  • B
    state 
  • C
    behavior 
  • all of these
Answer
Correct option: D.
all of these
(D) all of these
View full question & answer
MCQ 2121 Mark
Behavior is called ………….. .
  • A
    function 
  • B
    class 
  • method 
  • D
    state
Answer
Correct option: C.
method 
(C) method
View full question & answer
MCQ 2131 Mark
………… is very useful to distinguish objects.
  • A
    Function 
  • B
    Class 
  • C
    Method 
  • State
Answer
Correct option: D.
State
(D) State
View full question & answer
MCQ 2141 Mark
……… is the base for object based programming.
  • A
    Class 
  • Object 
  • C
    Function 
  • D
    Attribute
Answer
Correct option: B.
Object 
(B) Object
View full question & answer
MCQ 2151 Mark
Programming way is divided into …………… categories.
  • B
  • C
  • D
    5
Answer
Correct option: A.
(A) 2
View full question & answer
MCQ 2161 Mark
Focus is on ……….. in object oriented programming.
  • object 
  • B
    class 
  • C
    property 
  • D
    function
Answer
Correct option: A.
object 
(A) object
View full question & answer
MCQ 2171 Mark
………. Is true about objects.
  • A
    Objects have unique identity 
  • B
    Objects are distinguishable
  • A and B both
  • D
    None of these
Answer
Correct option: C.
A and B both
(C) (A) and (B) both
View full question & answer
MCQ 2181 Mark
…………. Is the example of concrete object.
  • A
    Person 
  • B
    Car 
  • C
    Computer 
  • All of these
Answer
Correct option: D.
All of these
(D) All of these
View full question & answer
MCQ 2191 Mark
Java programming language was developed in ……… .
  • A
    1950 A.D. 
  • 1960 A.D. 
  • C
    1970 A.D. 
  • D
    1980 A.D.
Answer
Correct option: B.
1960 A.D. 
(B) 1960 A.D.
View full question & answer
MCQ 2201 Mark
Which is the object oriented programming language ?
  • A
    Oracle 
  • Java 
  • C
    Publisher 
  • D
    HTML
Answer
Correct option: B.
Java 
(B) Java
View full question & answer
MCQ 2211 Mark
At present we are in living in the era of ………… .
  • A
    internet 
  • B
    website 
  • C
    web based process 
  • all of these
Answer
Correct option: D.
all of these
(D) all of these
View full question & answer
MCQ 2221 Mark
Object contain ………… .
  • A
    data 
  • B
    functionality 
  • both (A) and (B)
  • D
    none of these
Answer
Correct option: C.
both (A) and (B)
(C) (A) and (B)
View full question & answer
MCQ 2231 Mark
Object exist in ……… form.
  • physical 
  • B
    abstract 
  • C
    both (A) and (B)
  • D
    none of these
Answer
Correct option: A.
physical 
(A) physical
View full question & answer
MCQ 2241 Mark
In real world, …………. are the entities of which the world is comprised.
  • A
    classes 
  • objects 
  • C
    functions 
  • D
    attributes
Answer
Correct option: B.
objects 
(B) objects
View full question & answer
MCQ 2251 Mark
Object based programming provides ……….. types of object properties.
  • A
  • C
  • D
    6
Answer
Correct option: B.
(B) 4
View full question & answer
MCQ 2261 Mark
TO distinguish one person from another ……….. is used.
  • property 
  • B
    function 
  • C
    method 
  • D
    class
Answer
Correct option: A.
property 
(A) property
View full question & answer
MCQ 2271 Mark
In class diagram, compositions is represented using which of the following symbols ?
  • A
    Empty diamond symbol 
  • Filled diamond symbol 
  • C
    Empty triangle symbol 
  • D
    All of these
Answer
Correct option: B.
Filled diamond symbol 
(B) Filled diamond symbol
View full question & answer
MCQ 2281 Mark
An inheritance model refers to which of the following relationships ?
  • ‘is-a’ relationship 
  • B
    ‘has-a’ relationship 
  • C
    ‘a-part-of’ relationship
  • D
    All of these
Answer
Correct option: A.
‘is-a’ relationship 
(A) ‘is-a’ relationship
View full question & answer
MCQ 2291 Mark
An aggregation model refers to which of the following relationships ?
  • ‘is-a’ relationship 
  • B
    ‘is-like’ relationship 
  • C
    ‘a-part-of’ relationship 
  • D
    All of these
Answer
Correct option: A.
‘is-a’ relationship 
(A) ‘is-a’ relationship
View full question & answer
MCQ 2301 Mark
With which of the following options polymorphism cannot be achieved ?
  • A
    Method overloading 
  • B
    Operator overloading 
  • Data hiding 
  • D
    All of these
Answer
Correct option: C.
Data hiding 
(C) Data hiding
View full question & answer
MCQ 2311 Mark
Which of the following is provided using encapsulation ?
  • Data protection 
  • B
    Data sharing 
  • C
    Separation of data and methods 
  • D
    All of these
Answer
Correct option: A.
Data protection 
(A) Data protection
View full question & answer
MCQ 2321 Mark
In Object-oriented methodology, the focus is on which of the following entities ?
  • A
    Data
  • B
    Functions 
  • Objects 
  • D
    All of the above
Answer
Correct option: C.
Objects 
(C) Objects
View full question & answer
MCQ 2341 Mark
Which of the following is used to define common features of similar objects ?
  • Class 
  • B
    Object 
  • C
    Methods 
  • D
    All of the above
Answer
Correct option: A.
Class 
(A) Class
View full question & answer
MCQ 2351 Mark
Which of the following is used to distinguish object from each other ?
  • A
    Attributes 
  • State 
  • C
    Behaviour  
  • D
    All of the above
Answer
Correct option: B.
State 
(B) State
View full question & answer
MCQ 2361 Mark
Which of the following best suits to Java ?
  • A
    A procedural programming language 
  • An Object-oriented programming language
  • C
    A Query language
  • D
    All of the above
Answer
Correct option: B.
An Object-oriented programming language
(B) An Object-oriented programming language
View full question & answer
MCQ 2371 Mark
Which of the following is enabled by data abstraction ?
  • A
    Data protection
  • B
    Data hiding 
  • To hide implementation details of method manipulating the data
  • D
    All of these 
Answer
Correct option: C.
To hide implementation details of method manipulating the data
(C) To hide implementation details of method manipulating the data
View full question & answer
MCQ 2381 Mark
Between classes, which kind of relationship is represented by aggregation?
  • A
    Has - a
  • B
    a-part-of
  • Both A & B
  • D
    is - a
Answer
Correct option: C.
Both A & B
C
View full question & answer
MCQ 2391 Mark
In which year the object-oriented programming concepts started originating?
  • A
    1990s
  • B
    1980s
  • 1960s
  • D
    1970s
Answer
Correct option: C.
1960s
C
View full question & answer
MCQ 2401 Mark
Which of the following is a process of representing the essential features of the objects without including implementation detail?###Which of the following is a concept that hides the complexity: it says what it does, but not how it is done?
  • A
    Encapsulation
  • B
    Aggregation
  • C
    UML diagrams
  • Data abstraction
Answer
Correct option: D.
Data abstraction
D
View full question & answer
MCQ 2411 Mark
Identify: "The mechanism of providing protection to data and methods of a program".###In object oriented programming, which of the following property keeps the data safe from unintended actions and inadvertent access by outside objects ?
  • Encapsulation
  • B
    Abstraction
  • C
    Polymorphism
  • D
    Hiding
Answer
Correct option: A.
Encapsulation
A
View full question & answer
MCQ 2421 Mark
An inheritance model refers to which of the following relationships?
  • is-a' relationship
  • B
    has-a' relationship
  • C
    a-part-of' relationship
  • D
    All of these
Answer
Correct option: A.
is-a' relationship
A
View full question & answer
MCQ 2431 Mark
Which other names are available for "New class", in object-oriented terminology?
  • A
    Sub class
  • B
    Child class
  • C
    Derived class
  • All A, B & C
Answer
Correct option: D.
All A, B & C
D
View full question & answer
MCQ 2441 Mark
When objects of one class are composed of objects of other class, it is called....
  • A
    Messaging or Polymorphism
  • Aggregation or Composition
  • C
    Encapsulation or Abstraction
  • D
    Polymorphism or Abstraction
Answer
Correct option: B.
Aggregation or Composition
B
View full question & answer
MCQ 2451 Mark
Which kind of programming allows defining more than one method having same name but different signatures in a single class?
  • A
    Structured
  • Object-oriented
  • C
    Procedural
  • D
    All A, B & C
Answer
Correct option: B.
Object-oriented
B
View full question & answer
MCQ 2461 Mark
Which of the following is a template for multiple objects with similar features ?
  • Class
  • B
    Method
  • C
    Feature
  • D
    Properties
Answer
Correct option: A.
Class
A
View full question & answer
MCQ 2471 Mark
Which kind of relationship is represented by composition between two classes ?
  • Exclusive
  • B
    is - a
  • C
    of - a
  • D
    Non-exclusive
Answer
Correct option: A.
Exclusive
A
View full question & answer
MCQ 2481 Mark
Which of the following best suits to Java ?
  • A
    A procedural programming language
  • An Object-oriented programming language
  • C
    A Query language
  • D
    All of these
Answer
Correct option: B.
An Object-oriented programming language
B
View full question & answer
MCQ 2491 Mark
Which other names are available for "Existing class", in object-oriented terminology?
  • A
    Super class
  • B
    Parent class
  • C
    Base class
  • All A, B & C
Answer
Correct option: D.
All A, B & C
D
View full question & answer
MCQ 2501 Mark
Polymorphism' means....
  • Many forms
  • B
    A call to a method
  • C
    Data hiding
  • D
    Encapsulation
Answer
Correct option: A.
Many forms
A
View full question & answer
MCQ - Page 5 - Computer STD 12 Commerce Questions - Vidyadip