TH84

advertisement
TH84
1.
2.
3.
4.
5.
6.
7.
8.
Main classification of software’s are
(a) System software
(b) Application software
(c) Both (a) and (b)
(d) None of the above
What is computer programming? Niklas
sum it up eloquently in the title of his book
(a) Softwares + hardwares = programs
(b) Algorithms + data = programs
(c) Algorithms + data = softwares
(d) Algorithms + applications = hardwares
External characteristics of a good
quality software are
(a) Compatible
(b) Extendible
(c) Reusable
(d) All of the above
The orthogonal ways to view softwares
are
(a) Focus on functions – what does the
system do
(b) Focus on the object – which
combines data and function
(c) Both (a) and (b)
(d) All of the above
Which is a method of analysis that
examines
requirements
from
the
prospective of the classes and objects
found in vocabulary of the problem domain
(a) OOA
(b) OOD
(c) OOP
(d) All of the above
The fundamental units of object
oriented programming is/are
(a) Objects
(b) Method
(c) Messages
(d) All of the above
During construction or object oriented
programming the implemented design
components are
(a) C++
(b) Java
(c) Visual basic
(d) All of the above
Which is not a class of abstraction
(a) Entity abstraction
(b) Virtual machine abstraction
(c) Coin dental abstraction
(d) None of the above
XIX
9.
10.
11.
12.
13.
14.
15.
16.
The UML defines following type of
graphical diagram
I. Functional diagram
II. Structural diagram
III. Interaction diagram
IV. Coinudental abstraction
(a) Only i, ii
(b) Only i, ii, iii
(c) All of the above
(d) None of the above
UML is abbrivated form of
(a) Undetined modeling language
(b) Unified modeling language
(c) Unified mode language
(d) Undetermined modeling language
Primary purpose of use case is _____
(a) To decide and describe the functional
requirements of the system
(b) To provide a basis for performing
system test that verify the system
(c) To give a clear description of what
the system should do
(d) All of the above
A number of use cases which are
related can be bundled in a UML
package under
(a) Grouping
(b) Use relationship
(c) Bonding
(d) All of the above
In use case modeling which thing is
looked upon as a black box which
provides the use cases
(a) System
(b) Actor
(c) UML
(d) Object
The text description may not contain
(a) Description of main success path
(b) Description of alternative path
(c) Association to other use cases
(d) Absence of system and actor
In describing actors which should be
described ______
(a) All devices
(b) Timers
(c) External systems
(d) All of the above
Static
view
diagrams
(structural
diagrams) contain
(a) Class diagram
(b) Object diagram
(c) Interaction diagram
(d) Both (a) and (b)
(1)
TH84
17. Which diagram shows instances
compatible with a particular class
diagram _______
(a) Object
(b) Class
(c) Collaboration
(d) Sequence
18. A group of UML elements that logically
should be grouped together is called
(a) Packaging
(b) Grouping
(c) Grading
(d) All of the above
19. Is a part of another class shown with a
hallow diamond next to the containing
class diagram
(a) Aggregation
(b) Combination
(c) Association
(d) Attributes
20. A main or abstract idea to be encluded
in a domain model
(a) Concept
(b) Use case
(c) Attributes
(d) Abstract class
21. Artifacts documents describing the
output of a step in the design process.
The description is
(a) Graphic
(b) Taxual
(c) Some combination
(d) All of the above
22. Shows the system classes and
relationships between them
(a) Class diagram
(b) Association
(c) Actor
(d) None of the above
23. The second phase of the Rational
Unified Process
(a) Construction phase
(b) Elaboration phase
(c) Both (a) and (b)
(d) None of the above
24. Data in objects is private
(a) Eneapsulation
(b) GOF
(c) Generalization
(d) All of the above
XIX
25. The first phase of the Rational Unified
Process that deals with the original
conceptualization and the beginning of
the object
(a) Inception phase
(b) Construction phase
(c) Both (a) and (b)
(d) None of the above
26. Graphical document with rules for
creating analysis and design methods
(a) Method
(b) Multiplicity
(c) Notation
(d) None of the above
27. Solution
used
to
determine
responsibility assignment for objects to
interact
(a) Polymorphism
(b) Pattern
(c) Both (a) and (b)
(d) None of the above
28. A diagram that shows all possible
object states
(a) Sequence diagram
(b) Statechart diagram
(c) Both (a) and (b)
(d) None of the above
29. It utilizes text and graphic documents to
enhance the analysis and design of
software projects
(a) Workflow
(b) UML
(c) Both (a) and (b)
(d) None of the above
30. It is a narrative description of the
process
(a) Use case
(b) Workflow
(c) UML
(d) None of the above
31. Which declare members that are
accessible only to the class itself
(a) Private
(b) Protected
(c) Public
(d) None of the above
32. The interface of a C++ class have the part
(a) Private part
(b) Protected part
(c) Public part
(d) All of the above
(2)
TH84
33. Operation without method are called
(a) Abstract operations
(b) Private operations
(c) Both (a) and (b)
(d) None of the above
34. The class that might handle a push
operation by forwarding it to an add
operation on list class
(a) Stack class
(b) Final class
(c) Both (a) and (b)
(d) None of the above
35. Dynamic binding is known as
(a) Static binding
(b) Early binding
(c) Late binding
(d) None of the above
36. The
process
that
is
typically
independently managed by target
operating system and so encompasses
its own address space
(a) A heavy weight process
(b) Low weight process
(c) Both (a) and (b)
(d) None of the above
37. Major elements of object model
(a) Encapsulation
(b) Modulavity
(c) Hierarchy
(d) All of the above
38. It is a ordering of abstractions
(a) Hierarchy
(b) Modularity
(c) Both (a) and (b)
(d) None of the above
39. The property of an object by which its
existence transcends time and /or space
(a) Concurrency
(b) Persistence
(c) Both (a) and (b)
(d) None of the above
40. The property of an object which
distinguishes it from other objects
(a) Behaviour
(b) Identity
(c) State
(d) All of the above
41. It is a kind of association used to model
whole part relationship between things
(a) Aggregation
(b) Link
(c) Identity
(d) None of the above
XIX
42. Example of attribute is
(a) Length
(b) Height
(c) Weight
(d) All of the above
43. Relationship among classes
(a) Association
(b) Generalization
(c) Dependencies
(d) All of the above
44. Abstraction is one of the fundamental
elements of the ___
(a) Data model
(b) Object model
(c) Design model
(d) Construction model
45. Three types of abstraction are ___
(a) Entity abstraction , Attributes
abstraction Relationship abstraction
(b) Entity abstraction, virtual machine
abstraction , coincidental abstraction
(c) Attributes
abstraction,
Data
abstraction , entity abstraction
(d) Data abstraction, entity abstraction,
coincidental
46. What is the essential benefit of
encapsulation.
(a) To distribute its client, when change
the representation of an abstraction
(b) To change the representation of an
abstraction without distributing any
of its clients
(c) To change the representation of an
encapsulation with distribution of its
client
(d) To change the encapsulation
without distribution of its client
47. A declaration that is accessible to all
clients, is ____
(a) Public
(b) Private
(c) Protected
(d) Static
48. Ranking or ordering of abstraction is
known as ___
(a) Modularity
(b) Hierarchy
(c) Abstraction
(d) Encapsulation
(3)
TH84
49. Aggregation is supported by ___
(a) Only object oriented programming
language
(b) Any language that supports record
– like structures
(c) All languages
(d) None of the above
50. By which an object responds to an
operation on itself by invoking a service
in another object.
(a) Delegation
(b) Aggregation
(c) Inheritance
(d) Abstraction
51. Which one of the following is also a
central concept in object – oriented
design
(a) Polymorphism
(b) Abstraction
(c) Inheritance
(d) Hierarchy
52. Concurrency
focuses
on
which
process?
(a) Abstraction
(b) Synchronization
(c) Both (a) and (b)
(d) None of the above
53. In OO method each element/unit in a
program must be a/an
(a) Class
(b) Object
(c) Inheritance
(d) Overloading
54. Relationships among objects are called
___
(a) Link
(b) Aggregation
(c) Composition
(d) All of the above
55. Classes have ____to other elements
(a) Structure
(b) Behavior
(c) Relationship
(d) All of the above
56. In an N – Ary association ___
(a) A classes cannot be repeated
(b) A single class may appear more
than once
(c) Only relative class can appear
(d) Both (a) and (b)
XIX
57. A relationship between a more general
element and a more specific element
(a) Association
(b) Generalization
(c) Dependency
(d) All of the above
58. CRC stands for
(a) Class, Relation, Constructor
(b) Class, Responsibility, Constructor
(c) Class, Responsibility, Collaborator
(d) Constructor, Relationship, Class
59. Most modeling techniques used for
analysis and design involve ___
(a) OOP language
(b) Graphic language
(c) Programming language
(d) Geographic language
60. In this model the objects of “real” world
are mapped
(a) Define – object model
(b) Domain object model
(c) Use – case model
(d) Either (b) or (c)
61. UML stands for____
(a) Union Model Language
(b) Useful Model Language
(c) Unified Model Language
(d) Unidirectional Model Language
62. ____ Provides method for managing
tasks and developing documentation
(a) RAP
(b) RER
(c) RUP
(d) UML
63. The UML design process involves the
creation of various____ based documents
(a) Graphical
(b) Text
(c) Numerical
(d) Either (a) or (b)
64. In UML graphical or text based
documents are called ___
(a) Artificial document
(b) Artifacts
(c) Pictorial
(d) Textual
(4)
TH84
65. Which of the following is the main part
of the UML design
(a) Analysis
(b) Design
(c) Protecting
(d) Both (a) and (b)
66. The UML process allows for design to
have ____ processes
(a) Iterative
(b) Analysis
(c) Design
(d) All of the above
67. Which layer consists of the most basic
elements on which UML is based
(a) User model layer
(b) Client layer
(c) Meta model layer
(d) Meta – meta model layer
XIX
68. UML can be used ___
(a) To model a broad range of systems,
(b) In the different phases of software
development
(c) Both (a) and (b)
(d) None of the above
69. The UML must and can support ___
(a) Object Orient Programming Language
(b) All Reasonable Programming Languages
(c) Hyper Text Markup Language
(d) Only XML
70. It extends the properties of a UML, building
block, allowing us to create new information
in that elements specification
(a) Stereotype
(b) Tagged value
(c) Both (a) and (b)
(d) None of the above
(5)
Download