cs1291

Is this your test? Login to manage it. If not, you can develop an exam just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
We use this pattern when we need to create thousands or more objects that share some common information.
2.
1 point
This keyword is used to pass constructor parameters to the parent class’ constructor.
3.
1 point
If the name of the class is MyForm, public MyForm() is an example of a(n) _____.
4.
1 point
This relation is an “is a” relationship.
5.
1 point
describes the spaghetti code
6.
1 point
A “has a” relationship where the contained object can’t exist without the container object
7.
1 point
With this pattern, the client never knows that it is working on an object which has many other objects inside it.
8.
1 point
A graphic presentation of the static view that shows a collection of declarative model elements and their contents and relationships.
9.
1 point
This is used to instantiate a class by copying, or cloning, the properties of an existing object.
10.
1 point
The class heading public class A : B indicates that:
11.
1 point
Diagram that emphasizes the relationship of the objects that participate in an interaction.
12.
1 point
In this pattern, each receiver contains reference to another receiver. If one object cannot handle the request then it passes the same to the next receiver and so on.
13.
1 point
Using the following declaration, which of the statements below is true? public class aClass : bClass, cClass
14.
1 point
All the routines in a class or all the code in a routine are closely related to support a central purpose.
15.
1 point
Diagram that represents an external view of the system
16.
1 point
This is used to ensure that when one object is modified, its dependent objects are to be notified automatically.
17.
1 point
OOP feature that supports the creation of generic modules that can be used in other systems.
18.
1 point
Classes can extend or derive from ___ class(es) and ___ interface(s).
19.
1 point
In this pattern, two incompatible types can communicate between each other
20.
1 point
Allows saving of historical states of an object and restore the object back from the historical states.
21.
1 point
A class defined as _____ can’t be instantiated
22.
1 point
In the declaration public class aClass : bClass, cClass, what does cClass represent?
23.
1 point
Relationship that requires each object to have a reference to the other object(s).
24.
1 point
Polymorphism is useful in languages because it facilitates _____ methods.
25.
1 point
This allows traversing of lists, trees and other structures in a standard manner.
26.
1 point
Diagram used to document the various modes that a class can go through.
27.
1 point
These design patterns describe how objects and classes can be combined and form a large structure
28.
1 point
This class acts as a base class for all types in the C# language.
29.
1 point
Relationship that denotes “Class A ‘uses’ objects of Class B”
30.
1 point
This pattern defines how the communication between the entities is controlled in a good manner and also defines the instructions grammar.
31.
1 point
With the help of this pattern, the new operations are performed on an existing structure
32.
1 point
It lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure.
33.
1 point
This pattern provides a class which normally handles all the communications between different classes and supports easy maintainability of the code by loose coupling.
34.
1 point
This design pattern provides a simple interface to large code.
35.
1 point
In this pattern, a class behavior or its algorithm can be changed at run time.
36.
1 point
An interaction diagram that emphasizes the time ordering of messages.
37.
1 point
A graphical language for expressing object-oriented designs.
38.
1 point
Packaging data attributes and behaviors into a single unit so that the implementation details can be hidden describes an object-oriented feature called _______.
39.
1 point
This pattern is used to delegate the object creation to another object.
40.
1 point
Diagram that shows the types of code modules in the system, their interfaces and dependencies.
41.
1 point
To enable derived classes to override methods defined in a base class, methods in the base class should be defined using a (an) _____ keyword.
42.
1 point
useful when a global point of access to a limited resource is required.
43.
1 point
This dependency is commonly used when a use case compulsorily needs the behavior of another.
44.
1 point
If creating an object is expensive in time or computer resources, it allows you to postpone this creation until you need the actual object.
45.
1 point
A standardized system of notation for a flowchart
46.
1 point
This pattern allows adding of new functionality in an existing object without altering its structure.
47.
1 point
This pattern helps us to separate the construction of a complex object from its representation so that the same construction process can create different representations.
48.
1 point
This object oriented feature is also known as software reuse
49.
1 point
Used to read from and write into members of a class declared as private.
50.
1 point
A relationship between two things in which change in one element also affects the other one.