04 Exercise
04 Exercise
1. Feature Modeling
You are given the following feature model.
Graph
Edges Algorithms
(a) For what purposes do you employ a feature model? In which situations and why
is it necessary to be used? Illustrate your answer based on the Graph example.
(b) How many valid products can be derived from the given feature model? How
can you in general determine the number of configurable products? What is the
difficulty?
(c) Diagrams are not the only language for feature models. Transform the given
diagram into a
propositional formula,
CNF (use the propositional formula you just created),
set of all valid configurations (subset of the superset of all features).
What are the advantages and disadvantages of these notations? Do you know
other languages for constraints?
(d) Understanding potential causes for anomalies in feature models is essential. Pro-
pose a change to the above feature model such that
i. the feature model is void,
ii. there is exactly one dead feature.
1
Which functionality is required by the market, i.e., how can you differentiate
your products to compete with the chat producing market?
(b) Which advantages offers the employment of product line engineering techniques?
Which alternatives could be used?
(c) Model the domain by the means of a feature model. Are there further depen-
dencies?
3. Subway-Sandwiches
(a) Try to calculate (using a method of your choice) the (approximate) number of all
sandwiches that can be ordered at Subway. Use the given order form.1 Explain
your idea.
(b) Can you find a solution? If you have difficulties, document them. How well does
your result approximate the actual solution?
(c) Are there aspects regarding this form you would criticize as a product-line engi-
neer? How do these aspects make finding the right answer more difficult?
1
Form (page 3): http://web.archive.org/web/20220314015535/follr.com/Uploads/Documents/
p18aq9bc8n1m3kvac12h6srukv25.pdf