Software Engineering: Model-Driven Engineering
29 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of a Predictive model?

  • To create relationships in the data
  • To capture abstract syntax
  • To analyze the past for the future (correct)
  • To prescribe a decision based on all elements

What is the benefit of Model Driven Engineering when abstractions provided by implementation-level technologies are not satisfactory?

  • It reduces the need for boilerplate content (correct)
  • It eliminates the need for model transformations
  • It increases the complexity of the system
  • It only works with precise abstract syntax

What is the primary focus of a Descriptive model?

  • To prescribe a decision based on all elements
  • To capture abstract syntax
  • To analyze the past for the future
  • To create relationships in the data (correct)

What is the primary advantage of using Perspective models?

<p>They can be used as programs (D)</p> Signup and view all the answers

When is Model Driven Engineering particularly useful?

<p>When engineers need to modify several inter-related artefacts (C)</p> Signup and view all the answers

What can Perspective models be transformed into?

<p>Other types of models (C)</p> Signup and view all the answers

What is the purpose of the code in Example 2?

<p>To control the change of colors in tree lights (D)</p> Signup and view all the answers

What is the primary focus of the UML modeling language?

<p>Object-oriented systems (A)</p> Signup and view all the answers

What is the purpose of automated reachability analysis?

<p>To analyze larger state machine models (A)</p> Signup and view all the answers

What is the purpose of the getScreen method in the ATM class?

<p>To get the screen of the ATM (B)</p> Signup and view all the answers

What is the advantage of Domain-Specific Languages?

<p>They focus on specific class of domains, problems, and systems (D)</p> Signup and view all the answers

What is the structure of a conference organization?

<p>A conference runs over a number of days with several talks organized in parallel tracks (A)</p> Signup and view all the answers

What is a key advantage of using OCL constraints in UML models?

<p>To add precision and reduce ambiguity (C)</p> Signup and view all the answers

What is an example of where OCL can be used?

<p>Specifying pre- and post-conditions for methods (B)</p> Signup and view all the answers

What is the purpose of OCL constraints in a Mortgage System example?

<p>To specify invariants for classes and types (B)</p> Signup and view all the answers

What is a benefit of using OCL constraints in model documentation?

<p>Improving communication between developers (D)</p> Signup and view all the answers

What is an example of an OCL specification constraint?

<p>self.security.owner = self.borrower (D)</p> Signup and view all the answers

Which of the following companies was involved in the development of OCL?

<p>Rational Software (A)</p> Signup and view all the answers

What is the condition for a module to be taken?

<p>More than seven students registered (B)</p> Signup and view all the answers

What is the total weight of assessments for a module?

<p>100% (C)</p> Signup and view all the answers

What is the minimum number of credits a student must register for each year?

<p>120 credits (B)</p> Signup and view all the answers

What is the minimum percentage of CS modules a student must take each year?

<p>90% of CS modules (A)</p> Signup and view all the answers

What is the minimum weight of an assessment for a module?

<p>50% of the total weight (A)</p> Signup and view all the answers

What is the minimum value of the attribute 'age' in the 'Player' context?

<p>18 (B)</p> Signup and view all the answers

What is the condition for the 'burn' operation to be executed in the 'Player' context?

<p>points &gt;= i and i &gt;= 0 (C)</p> Signup and view all the answers

Which of the following invariants is defined on the 'Customer' context?

<p>age &gt;= 18 (D)</p> Signup and view all the answers

What is the result of the 'burn' operation in the 'Player' context?

<p>points = 0 (D)</p> Signup and view all the answers

What is the purpose of the 'isBefore' operation in the 'CustomerCard' context?

<p>To check if the validFrom date is before the goodThru date (B)</p> Signup and view all the answers

What is the type of the 'printedName' attribute in the 'CustomerCard' context?

<p>String (C)</p> Signup and view all the answers

More Like This

System Modeling Quiz
48 questions

System Modeling Quiz

IndividualizedJade9119 avatar
IndividualizedJade9119
Ingénierie des modèles
14 questions
Software Engineering Concepts Quiz
20 questions
Advanced Software Engineering Techniques Overview
21 questions
Use Quizgecko on...
Browser
Browser