Você está na página 1de 8

Code No: 117CF Set No.

1
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
IV B.Tech. I Sem., I Mid-Term Examinations, September-2017
DESIGN PATTERNS
Objective Exam
Name: ______________________________ Hall Ticket No. A
Answer All Questions. All Questions Carry Equal Marks. Time: 20 Min. Marks: 10.

I. Choose the correct alternative:

1. Which of the following is not an essential element of design pattern? [ ]


a) pattern name b) solution c) consequences d) none

2. In MVC, model represents [ ]


a) application object b) screen presentation c) user interface d) data values

3. Which of the criteria will be used to classify design patterns? [ ]


a) purpose b) scope c) both a and b d) none

4. Which of the following belongs to structural class patterns? [ ]


a) singleton b) facade c) iterator d) builder

5. Which of the following pattern provides an interface for creating families of related or dependent objects
without specifying their concrete classes. [ ]
a) builder b) abstract factory c) state d) proxy

6. Which of the following is participant of builder? [ ]


a) singleton b) client c) director d) concrete product

7. Prototype design pattern supports [ ]


a) cloning b) director c) concrete factory d) none

8. Arrangement of basic graphical elements such as characters, lines, polygons and other shapes called
[ ]
a) graph b) pattern c) document d) all

9. Which of the following is participant of adapter pattern? [ ]


a) target b) client c) adapter d) all

10. Which pattern is used to decouple an abstraction from its implementation? [ ]


a) builder b) bridge c) singleton d) state

Cont..2
Code No: 117CF :2: Set No. 1

II Fill in the Blanks:

11. Every operation declared by an object specifies operations name, parameters and return value.
This is called as operations _________________

12. A class that cannot be instantiated is known as __________________

13. The run time association of a request to an object and one of its operations is known as ____________

14. The instance of class is said to be _________________________

15. A technique which is used to represent hierarchically structured information is called ____________

16. ________________ design pattern used to connect parallel class hierarchies.

17. In _________________________relationship an object having or being part of another object .

18. The process of defining new classes from existing classes is called ___________________

19. __________________ Pattern isolates code for construction and representation .

20. A class which is not abstract is also called ___________________________

-oOo-
Code No: 117CF Set No. 2
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
IV B.Tech. I Sem., I Mid-Term Examinations, September-2017
DESIGN PATTERNS
Objective Exam
Name: ______________________________ Hall Ticket No. A
Answer All Questions. All Questions Carry Equal Marks. Time: 20 Min. Marks: 10.

I. Choose the correct alternative:

1. Which of the following belongs to structural class patterns? [ ]


a) singleton b) facade c) iterator d) builder

2. Which of the following pattern provides an interface for creating families of related or dependent objects
without specifying their concrete classes. [ ]
a) builder b) abstract factory c) state d) proxy

3. Which of the following is participant of builder? [ ]


a) singleton b) client c) director d) concrete product

4. Prototype design pattern supports [ ]


a) cloning b) director c) concrete factory d) none

5. Arrangement of basic graphical elements such as characters, lines, polygons and other shapes called
[ ]
a) graph b) pattern c) document d) all

6. Which of the following is participant of adapter pattern? [ ]


a) target b) client c) adapter d) all

7. Which pattern is used to decouple an abstraction from its implementation? [ ]


a) builder b) bridge c) singleton d) state

8. Which of the following is not an essential element of design pattern? [ ]


a) pattern name b) solution c) consequences d) none

9. In MVC, model represents [ ]


a) application object b) screen presentation c) user interface d) data values

10. Which of the criteria will be used to classify design patterns? [ ]


a) purpose b) scope c) both a and b d) none

Cont..2
Code No: 117CF :2: Set No. 2

II Fill in the Blanks:

11. The instance of class is said to be _________________________

12. A technique which is used to represent hierarchically structured information is called ____________

13. ________________ design pattern used to connect parallel class hierarchies.

14. In _________________________relationship an object having or being part of another object .

15. The process of defining new classes from existing classes is called ___________________

16. __________________ Pattern isolates code for construction and representation .

17. A class which is not abstract is also called ___________________________

18. Every operation declared by an object specifies operations name, parameters and return value.
This is called as operations _________________

19. A class that cannot be instantiated is known as __________________

20. The run time association of a request to an object and one of its operations is known as ____________

-oOo-
Code No: 117CF Set No. 3
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
IV B.Tech. I Sem., I Mid-Term Examinations, September-2017
DESIGN PATTERNS
Objective Exam
Name: ______________________________ Hall Ticket No. A
Answer All Questions. All Questions Carry Equal Marks. Time: 20 Min. Marks: 10.

I. Choose the correct alternative:

1. Which of the following is participant of builder? [ ]


a) singleton b) client c) director d) concrete product

2. Prototype design pattern supports [ ]


a) cloning b) director c) concrete factory d) none

3. Arrangement of basic graphical elements such as characters, lines, polygons and other shapes called
[ ]
a) graph b) pattern c) document d) all

4. Which of the following is participant of adapter pattern? [ ]


a) target b) client c) adapter d) all

5. Which pattern is used to decouple an abstraction from its implementation? [ ]


a) builder b) bridge c) singleton d) state

6. Which of the following is not an essential element of design pattern? [ ]


a) pattern name b) solution c) consequences d) none

7. In MVC, model represents [ ]


a) application object b) screen presentation c) user interface d) data values

8. Which of the criteria will be used to classify design patterns? [ ]


a) purpose b) scope c) both a and b d) none

9. Which of the following belongs to structural class patterns? [ ]


a) singleton b) facade c) iterator d) builder

10. Which of the following pattern provides an interface for creating families of related or dependent objects
without specifying their concrete classes. [ ]
a) builder b) abstract factory c) state d) proxy

Cont..2
Code No: 117CF :2: Set No. 3

II Fill in the Blanks:

11. ________________ design pattern used to connect parallel class hierarchies.

12. In _________________________relationship an object having or being part of another object .

13. The process of defining new classes from existing classes is called ___________________

14. __________________ Pattern isolates code for construction and representation .

15. A class which is not abstract is also called ___________________________

16. Every operation declared by an object specifies operations name, parameters and return value.
This is called as operations _________________

17. A class that cannot be instantiated is known as __________________

18. The run time association of a request to an object and one of its operations is known as ____________

19. The instance of class is said to be _________________________

20. A technique which is used to represent hierarchically structured information is called ____________

-oOo-
Code No: 117CF Set No. 4
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
IV B.Tech. I Sem., I Mid-Term Examinations, September-2017
DESIGN PATTERNS
Objective Exam
Name: ______________________________ Hall Ticket No. A
Answer All Questions. All Questions Carry Equal Marks. Time: 20 Min. Marks: 10.

I. Choose the correct alternative:

1. Arrangement of basic graphical elements such as characters, lines, polygons and other shapes called
[ ]
a) graph b) pattern c) document d) all

2. Which of the following is participant of adapter pattern? [ ]


a) target b) client c) adapter d) all

3. Which pattern is used to decouple an abstraction from its implementation? [ ]


a) builder b) bridge c) singleton d) state

4. Which of the following is not an essential element of design pattern? [ ]


a) pattern name b) solution c) consequences d) none

5. In MVC, model represents [ ]


a) application object b) screen presentation c) user interface d) data values

6. Which of the criteria will be used to classify design patterns? [ ]


a) purpose b) scope c) both a and b d) none

7. Which of the following belongs to structural class patterns? [ ]


a) singleton b) facade c) iterator d) builder

8. Which of the following pattern provides an interface for creating families of related or dependent objects
without specifying their concrete classes. [ ]
a) builder b) abstract factory c) state d) proxy

9. Which of the following is participant of builder? [ ]


a) singleton b) client c) director d) concrete product

10. Prototype design pattern supports [ ]


a) cloning b) director c) concrete factory d) none

Cont..2
Code No: 117CF :2: Set No. 4

II Fill in the Blanks:

11. The process of defining new classes from existing classes is called ___________________

12. __________________ Pattern isolates code for construction and representation .

13. A class which is not abstract is also called ___________________________

14. Every operation declared by an object specifies operations name, parameters and return value.
This is called as operations _________________

15. A class that cannot be instantiated is known as __________________

16. The run time association of a request to an object and one of its operations is known as ____________

17. The instance of class is said to be _________________________

18. A technique which is used to represent hierarchically structured information is called ____________

19. ________________ design pattern used to connect parallel class hierarchies.

20. In _________________________relationship an object having or being part of another object .

-oOo-

Você também pode gostar