ASSOCIATE-REACTIVE-DEVELOPER practice question 26 of 35
If an Entity Attribute named HouseNumber is created, what needs to be done about its Data Type?
Full set: 262 questionsOutSystems Service Studio includes an intelligent assistance feature that automatically infers the data type of a new entity attribute based on its name. When an attribute name contains specific keywords like "Number," "Count," or "Quantity," Service Studio defaults its data type to Integer. Since the attribute is named "HouseNumber," the platform correctly and automatically assigns the Integer data type. Therefore, no manual action is required from the developer.
B. Decimal is not the inferred data type for a name containing "Number" and is generally inappropriate for house numbers.
C. While Integer is the correct data type, this option incorrectly implies that manual intervention is necessary to set it.
D. The Identifier data type is specifically for an entity's unique primary key, not for a regular attribute like "HouseNumber". ---
1. OutSystems - Documentation, "Create and edit an entity": Under the section Create an attribute, the documentation states, "Service Studio automatically infers the data type from the attribute name you enter. For example, if you name an attribute IsActive, Service Studio sets the data type to Boolean." This principle applies to other keywords, including "Number" for the Integer type.
Source: OutSystems. (n.d.). Create and edit an entity. OutSystems Documentation. Retrieved from https://success.outsystems.com/documentation/11/developinganapplication/usedata/datamodeling/createandeditanentity/
2. OutSystems - Training Courses, "Modeling Data": In the "Reactive Web Developer" guided path, the "Data Modeling" lesson explicitly details this behavior. It confirms that if an attribute name contains "Number" or "Count," the data type will be automatically set to Integer.
Source: OutSystems. (n.d.). Modeling Data [Courseware]. OutSystems Training. (Accessed via official OutSystems training materials for the Associate Reactive Developer path).
Keep practicing
Take the free ASSOCIATE-REACTIVE-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ASSOCIATE-REACTIVE-DEVELOPER practice questions
- Question 1When the event is mandatory, a Block event such as the Client Action must be specified to…
- Question 2Considering the Function property in Client Actions, which of the following options is co…
- Question 3Which event is needed if we do some logic over the result such as checking if it is empty?
- Question 4The SQL Query only allows executing SELECT statements
- Question 5The order of the Entities in the join does not matter.
- Question 6The list of values displayed on the Combo Box widget can be a combination of Entity and S…
