Question & Answer: True or false? A design pattern is a collection of classes and interfaces that can be used as part of an a…..

D. Inheritance discourages code reuse. igil produces raster programs 23.True or false? A design pattern is a collection of classes and interfaces that can be used as part of an application implementation. A. True B. False 24.12 marks] Which of the following are appropriate for a requirements document? Choose 4 A. Multiple users will be able to log on without experiencing conflicts or slow load times. B. The program will not have any bugs C. If the systems detect a major issue, it will save state and restart. D. The user will be able to modify the location of the programs save location on their machine E. The system shall be available to all users at normal working hours. F. Downtime within normal working hours shall not exceed five seconds in any one day. G. Each staff member using the system shall be uniquely identified by his or her 8-digit employee number The questions 25 to 27 are based on the following problem scenario about design pattern: It is a remote control system. Our remote controller is the center of home automation and can control everything. For the moment, we just have a light as an example that we can switch on or off. We decide to use command design pattern for this system. 25. The object light is a) Client b) Invoker c) Receiver d) ConcreteCommand 26. The object remote controller is a) Client b) Invoker c) Receiver d) ConcreteCommand 27. How many concrete command class(es) right now in this system? a) b) 2 c) 3 Enter Shift Alt Ctri

True or false? A design pattern is a collection of classes and interfaces that can be used as part of an application implementation. True False Which of the following are appropriate for a requirements document? Choose 4. Multiple users will be able to log on without experiencing conflicts or slow load times. The program will not have any bugs. If the systems detect a major issue, it will save state and restart. The user will be able to modify the location of the program’s save location on their machine. The system shall be available to all users at normal working hours. Downtime within normal working hours shall not exceed five seconds in any one day. Each staff member using the system shall be uniquely identified by his or her 8-digit employee number. The questions 25 to 27 are based on the following problem scenario about design pattern: It is a remote control system. Our remote controller is the center of home automation and can control everything. For the moment, we just have a light as an example that we can switch on or off. We decide to use command design pattern for this system. The object “light” is Client Invoker Receiver ConcreteCommand The object “remote controller” is Client Invoker Receiver ConcreteCommand How many concrete command class(es) right now in this system? 1 2 3 4

Expert Answer

 

Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: True or false? A design pattern is a collection of classes and interfaces that can be used as part of an a…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Order Essay

1) False , a design pattern is basically solution which could be used to solve a software problem and it’s not a finished design or overall system solution which could be directly used and converted into code. It gives a way of how things could be done.

2) Requirement documents takes in customer’s requirement so that these could be converted into actual code in order to achieve the end product.

a) Multiple users will be able to log on without experiencing conflicts or slow load times.

b) The user will be able to modify the location of the programs save location on their machine.

c) Each staff using the system shall be uniquely identified by his or her 8-digit employee number.

d) If the system detects a major issue it will save state and restart.

3) Now here light object is client on which we can execute commands to whether it needs to be off or on.

4) remoteController is the invoker which will invoke the commands of switching on and off.

5) There will be 2 concrete command classes as we have two commands either to switch off or on.

Still stressed from student homework?
Get quality assistance from academic writers!