subject
Engineering, 18.10.2019 23:20 roxannaemigdio3850

Asoftware company microoffice has produced four generations of word processing applications, called word90, word00, word10, and word17. suppose you are writing a program to test their guis. the gui components we are interested in are panel, button, and textbox. these gui components look a little different in different generation. each generation has it own program for testing these gui components. to know which test to run, you will need to instantiate objects that correspond to each one of the gui components. we assume that generations of the word to be tested are stored in a configuration file (text file). because this situation fits the abstract factory pattern so well, you can use that pattern to organize the creation of objects that correspond to gui components. you will also need to use the variation of singleton pattern to ensure that at most two instances of each generation in each test run. note finishing running all generations specified in the configuration file is considered as one test run. here is an example of the configuration file content. you can create your own. word90 word00 word90 word17 word10 word00 word17 word90 word0 questions 1) give the uml diagram. you should integrate singleton into abstract factory pattern. 2) give the code (in any language) based on the uml class diagram given in 1). as output, you need to display three different messages (e. g., "panel word90", button word90", and "textbox word90") for the generation specified in configuration file. you should give a warning message if the same generation are asked to run more than twice. 3) zip your uml diagram, source code, output screen shot in one .zip file and upload to class project i folder in canvas before due.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
question
Engineering, 04.07.2019 18:20
Air is compressed isentropically from an initial state of 300 k and 101 kpa to a final temperature of 1000 k. determine the final pressure using the following approaches: (a) approximate analysis (using properties at the average temperature) (b) exact analysis
Answers: 1
You know the right answer?
Asoftware company microoffice has produced four generations of word processing applications, called...
Questions
question
Mathematics, 27.04.2020 03:11
question
Biology, 27.04.2020 03:11
question
Health, 27.04.2020 03:11
Questions on the website: 13722367