######
__&&___&&
[29/12, 2:04 pm] Rahul k. IT Ymca: 1.
Which among the following can be viewed as combination of abstraction of data and code ?
Class
Object
Interfaces
None of the above
[29/12, 2:05 pm] Rahul k. IT Ymca: 2.
White Box techniques are also classified as
Design based testing
Structural testing
Error guessing technique
All of the mentioned
[29/12, 2:05 pm] Rahul k. IT Ymca: 3.
Writing 'Square(x)' instead of ' x*x' is the type of
Procedural Abstraction
Data Abstraction
Iteration Abstraction
None of the above
[29/12, 2:05 pm] Rahul k. IT Ymca: 4.
Abstraction and Encapsulation differ as ____________
Binding and Hiding respectively
Hiding and Binding respectively
Can be used any way
Hiding and hiding respectively
[29/12, 2:06 pm] Rahul k. IT Ymca: 5.
Default access specifier for data members or member functions declared within a class in C++ is
Private
Protected
Public
Depends on compiler
[29/12, 2:07 pm] Rahul k. IT Ymca: 6.
Which design pattern used when a decision must be made at the time of the instantiation of a class
Creational design patterns
Structural design patterns
Behavioral design patterns
None of the above
[29/12, 2:07 pm] Rahul k. IT Ymca: 7.
In Design phase of SDLC, which is the primary area of concern ?
Architecture
Data
Interface
All of the mentioned
[29/12, 2:07 pm] Rahul k. IT Ymca: 8.
Which rule ensures that if a program is type-correct based on the super-type specification, it is also type-correct with respect to the subtype specification.
The signature rule
The methods rule
The properties rule
None of the above
[29/12, 2:07 pm] Rahul k. IT Ymca: 9.
Acceptance testing is also known as
Grey box testing
White box testing
Alpha Testing
Beta testing
[29/12, 2:07 pm] Rahul k. IT Ymca: 10.
Which of the following is correct about Behavioral design patterns.
These design patterns are specifically concerned with communication between objects.
These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator.
These design patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.
None of the above.
[29/12, 2:08 pm] Rahul k. IT Ymca: 11.
A mathematical-model with a collection of operations defined on that model is called
Data Structure
Abstract Data Type
Primitive Data Type
Algorithm
[29/12, 2:08 pm] Rahul k. IT Ymca: 13.
Which of the following is the universal class for exception handling?
Try
Errors
Exceptions
Catch
[29/12, 2:09 pm] Rahul k. IT Ymca: 12.
Coupling is a qualitative indication of the degree to which a module
can be written more compactly
focuses on just one thing
form a meaningful unit.
is connected to other modules and the outside world
[29/12, 2:09 pm] Rahul k. IT Ymca: 14.
Find wrong statement about Generic programming
Algorithms are written in terms of types to-be-specified-later
Problems are checked at runtime
There is no need to typecast the object.
We can hold only a single type of objects in generics
[29/12, 2:09 pm] Rahul k. IT Ymca: 15.
Which model required user involved in all the phases of SDLC?
Waterfall Model
Prototyping Model
RAD Model
Spiral Model
[29/12, 2:09 pm] Rahul k. IT Ymca: 16.
Which design pattern define one to many dependency between objects so that when one object change state, all its dependent are notified and updated automatically
MVC Design Pattern
Singleton
Bridge
Observer
[29/12, 2:10 pm] Rahul k. IT Ymca: 17.
If different properties and functions of a real world entity is grouped or embedded into a single element, what is it called in OOP language?
Polymorphism
Inheritance
Abstraction
Encapsulation
[29/12, 2:10 pm] Rahul k. IT Ymca: 18.
Find wrong statement
The abstraction function may be partial
Represent Invariant helps in catching errors
Abstraction function may be many-to-one
A generators have its own specifications