Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design Patterns (26) Explain what is meant by the term design pattern. List the three major categories of design patterns, and give an example of

image text in transcribed

Design Patterns (26) Explain what is meant by the term "design pattern". List the three major categories of design patterns, and give an example of each. (27) Explain the organization, purpose and context of each of the design patterns which have been discussed in class and in the assigned reading (e.g., iterator, composite, singleton, observer, command, strategy, proxy, factory, etc.). Give a specific example of using each design pattern. Give appropriate UML describing each design pattern and, for those design patterns which appear as part of the CN1 language definition, be able to explain the relevant CN1 interfaces and/or classes and how they are used. (28) Know how to implement each of the design patterns used in homework assignments. (29) Explain what is meant by the MVC architecture". Include an explanation of the difference between an architecture and a design pattern. Graphical User Interfaces and Event-Driven Programming (30) Explain what is meant by a framework. Give an example of a framework defined in the CN1 language specification. (31) Be able to write CN1 code showing the basic steps involved in building a Graphical User Interface consisting of components such as labels, buttons, checkbox, text field, side/overflow menu items, title bar menu item, and containers. (32) Explain the purpose of a "Layout Manager", and be able to describe the general operation of at least two CN1 layout managers. (33) Be familiar with the event-driven operations of basic CN1 GUI components which have been discussed in class, including how events are generated by these components and how these events are handled by listeners that implement ActionListener interface. Describe two listener approaches: (i) a container which is an "event listener" for its own components, and (ii) separate listener object(s). (34) Explain the relationship between the CN1 Command and Button classes and the elements of the Command design pattern. (35) Explain what key bindings are and how they are implemented in CN1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions