Associate Reactive Developer Question Bank-V5.0 PDF

Summary

This document contains a sample bank of exam questions for an associate reactive developer role. The questions cover topics including entity relationships, aggregates, and lifecycle events in OutSystems. The questions are presented in a question-and-answer format for ease of comprehension, and the questions are broadly categorized by subject matter.

Full Transcript

# Sample Exam Questions ## Question 1 What is required to create a many-to-many (N-N) relationship between the Entities in the picture? - **Order** - Id - Description - CustomerId - Priority - CreatedOn - CreatedBy - ShippedOn - Reviewed By - Status - **Product...

# Sample Exam Questions ## Question 1 What is required to create a many-to-many (N-N) relationship between the Entities in the picture? - **Order** - Id - Description - CustomerId - Priority - CreatedOn - CreatedBy - ShippedOn - Reviewed By - Status - **Product** - Id - Name - Price - VAT **A.** Create a third Entity that contains two attributes of types Order Identifier and Product Identifier. **B.** Create a third Entity with a primary key of type Order Identifier and an attribute of type Product Identifier. **C.** Create an attribute of type Order Identifier in the Product Entity and an attribute of type Product Identifier in the Order Entity. **D.** Create an attribute of type Product Identifier in the Order Entity. ## Question 2 Which of the following statements is true? **A.** An Entity Identifier must have its Data Type set to Long Integer. **B.** An Entity Identifier must be set to Auto Number. **C.** An Entity Identifier can only be a single attribute. **D.** An Entity Identifier is created automatically and cannot be modified. ## Question 3 The image below shows an Aggregate. What will the attributes of the GetOrdersShippingState.List.Current record be? The image shows an Aggregate with data of the following: - **Group of Shipping State** - ShippingState - Count of Id - **Order** - Description - CreatedOn - ShippedOn - Priority **A.** The two aggregation attributes: ShippingState and Count. **B.** The two aggregation attributes (ShippingState and Count) plus all the attributes of the Source Entities. **C.** Six attributes corresponding to the six visible columns in the Aggregate: ShippingState, Count, Description, CreatedOn, ShippedOn and Priority. **D.** The two aggregation attributes (ShippingState and Count) plus the columns used to calculate these aggregations. ## Question 4 In the Aggregate below the Orders are fetched with their reviewers (Employees). Which of the following options is correct? The image shows an Aggregate with data of the following: - **Order** - AssignedTo - **Emplyoee** - Id - **Priority** - Id - **OrderStatus** - Id **A.** The Aggregate only returns Orders with Priority, Status and Employee. **B.** The Aggregate returns Orders without Employee and without Status. **C.** The Aggregate returns Orders with Status and at least one Employee. **D.** The Aggregate returns Orders with Priority and with zero or more Employees. ## Question 5 How would you change the following Aggregate to return the number of orders per priority? The image shows an Aggregate with data of the following: - **Order** - Description - Id - Priority - ShippedOn - CreatedOn - OrderStatus **A.** Change the Join between the Order and the Priority to Only With and create a Count over the Priority.Id attribute. **B.** Create a Group By over the Priority.Id attribute and a Count over the Order.Id attribute. **C.** Create a Group By over the Order.Id attribute and a Count over the Priority.Id attribute. **D.** Remove the Join between the Order and the OrderStatus and create a Count over the Priority.Id attribute. ## Question 6 Which of the following sentences about the On Initialize lifecycle event is true? **A.** The On Initialize event is triggered before the Screen or Block is rendered and before fetching any data. **B.** The On Initialize event is triggered after the Screen or Block has been rendered, so you can use it to manipulate its structure. **C.** The On Initialize event is triggered after an Aggregate finishes fetching data and can be used to act upon the retrieved data before it's used in the Screen. **D.** The On Initialize event is triggered after the input parameter of a Block changes. ## Question 7 The Screen below has two Dropdowns: one to select a Country and the other to select a City. The GetCountries and GetCities Aggregates fetch the data displayed in the dropdowns and both have the Fetch property set to At Start. Which of the following options is not a valid step to only fetch the cities of the country selected in the dropdown? **A.** Set the Fetch property of the GetCities Aggregate to Only On Demand. **B.** Refresh the GetCities Aggregate in the OnChange Action of the Country Dropdown. **C.** Filter the GetCities Aggregate by the selected country. **D.** Call the GetCities Aggregate in the GetCountries' On After Fetch Event handler. ## Question 8 Regarding Blocks in OutSystems reactive apps, which of the following options is Correct? **A.** Blocks can only be instantiated on Screens. **B.** Blocks can be instantiated on Screens and other Blocks. **C.** Blocks can be instantiated on Client Actions on the Screen. **D.** Blocks can be instantiated on Screens and external HTML pages, using a special HTML tag. ## Question 9 Which of the following options is a valid usage of the Trigger Event node? **A.** The Trigger Event allows a Block to notify its parent (Screen or Block) that something relevant occurred in the scope of the Block. **B.** The Trigger Event allows a Screen to notify its children (Blocks) that something relevant occurred in the scope of the Screen. **C.** The Trigger Event allows a Block to notify its children (other Blocks) that something relevant occurred in the scope of the Block. **D.** The Trigger Event allows a Screen to notify its parent (Screen or Block) that something relevant occurred in the scope of the Screen. ## Question 10 A Form has a Save button with the Built-in Validations property set to Yes. Which validations are automatically performed when a user clicks the button? **A.** Check if the mandatory fields are filled in. **B.** Check if the mandatory fields are filled in and if the non-mandatory fields that are later used in the logic, are also filled in. **C.** Check if the mandatory fields are filled in and if the data submitted by the user matches the data type expected in the input fields. **D.** Check if the mandatory fields are filled in and if the data submitted by the user matches the data type of the Form's data source. ## Question 11 The CountriesDropdown will allow users to select a country. What should be set in the Options Text property to make sure that the names of the countries appear in the dropdown? **A.** Country.Id **B.** GetCountries.Country.Label **C.** Country **D.** Country.Label ## Question 12 Considering a Button in a Screen, which of the following options cannot be set as its On Click property? **A.** Screen. **B.** Client Action. **C.** Block. **D.** External Site. ## Question 13 The Absolute Action returns an absolute value (abs) of a number N passed as Input Parameter. When does the Action return 0? **A.** Never. **B.** When the input parameter (N) is less than zero. **C.** When the input parameter (N) is zero. **D.** When the input parameter (N) is greater than zero. ## Question 14 Consider the following Action. What happens if the GetEmployeeByld Aggregate does not return any record? The image shows a process with a decision point that checks if the GetEmployeeById.List.Empty? is true or false. - If true, it follows the RecordNotFound flow - If false, it follows the End flow. **A.** The DatabaseException flow is executed. **B.** The RecordNotFound flow is executed. **C.** No exception flow is executed. **D.** The module's global exception handler is executed. ## Question 15 Considering the Function property in Client Actions, which of the following options is correct? **A.** Setting the Function property to Yes restricts the Action to have only one Output Parameter. **B.** Setting the Function property to No ensures the Action can only be used in the module where it is defined. **C.** Setting the Function property to Yes is not possible, if the Action is exposed to other modules as Public. **D.** Setting the Function property to No ensures the Action can only be used in Screen Expressions. ## Question 16 Michael is a user of the Orders application and only has the OrdersAdmin Role assigned to him. Which of the following options is correct? **A.** Michael has access to Screens with the Registered Role checked. **B.** Michael does not have access to Screens with the Anonymous Role checked. **C.** Michael has access to Screens that have the OrdersAdmin Role checked, but not to Screens with the Registered Role checked. **D.** Michael only has access to Screens that have the OrdersAdmin Role checked. ## Question 17 Which of the following options should **not** be a use case of Client Variables? **A.** Username. **B.** Password. **C.** Search filter keyword. **D.** ID of a user session. ## Question 18 The Action in the image calculates the square root (sqrt) of a positive decimal number (N). Knowing that the function was called with N = 0, and that the debugger is stopped at the Start node, what will happen when the developer selects the Continue (F9) option highlighted in the picture? The image shows a process with a decision point that checks if the N<0?. - If true, it follows the Invalid Number flow - If false, it follows a second decision point checking if N=0 or N=1? - If true, it follows the sqrt=N flow - If false, it follows the sqrt = sqrt(N) flow **A.** The Action will end, with sqrt = 0. **B.** The Action will throw an exception and sqrt will have no value. **C.** The debugger will stop in the N < 0 If node. **D.** The debugger will stop at the breakpoint in the End node. ## Question 19 The image shows a Pagination widget that is associated with a Table on a Screen that was already implemented. There are no error messages in Service Studio, but when the user selects a new page (in the Pagination widget) the results do not change on the Table. What is the reason for that behavior? The image shows a process with a decision point that checks if the StartIndex=NewStartIndex and the GetMovies Aggregate is configured with a Fetch of "At Start". **A.** The GetMovies Aggregate is not being refreshed in the OnNavigate Action. **B.** The Max. Records of the Aggregate should be equal to the total number of movies in the database. **C.** The Table is not being refreshed on the OnNavigate Action. **D.** The MaxRecords property of the Pagination should be set to GetMovies.Count and the TotalCount to RecordsPerPage. ## Question 20 A Screen contains a Form to collect Customer data. The Form has a Save Button with the On Click property set to a SaveOnClick Action, which sends the data to the server to store it in the database. The developer must ensure that the Action will not send the data to the server when the mandatory Customer data fields have not been filled in. What is the best way to do that? **A.** Set the Built-in validations of the Save button to Yes. **B.** Perform custom validations for all inputs. If one fails, set the Valid property of the Form to False. **C.** Set the Built-in validations of the Save button to Yes and check if the Form's Valid property is True. **D.** Set the Built-in validations of the Save button to Yes and add an Exception Handler flow to handle invalid inputs. ## Question 21 What needs to be changed in the following Aggregate to obtain the number of comments per Movie for movies with one or more comments? The image shows an Aggregate with data of the following: - **Movie** - Id - **UserMovieComment** - Movield - Id **A.** Change the join between Movie and UserMovieComment Entities to With or Without and create a Count over the UserMovieComment Id attribute. **B.** Change the join between Movie and UserMovieComment Entities to With or Without and create a Group By over the UserMovieComment Id attribute. **C.** Create a Group By over the Movie Id attribute and Count over the UserMovieComment Id attribute. **D.** Create a Count over the UserMovieComment Id attribute. ## Question 22 There is an aggregate which contains order id, vat, quantity, price. We need to create TotalPrice Column as below. The image shows an aggregate with the following properties: - **Order** - Id - ProductName - Quantity - VAT - Price - TotalPrice **A.** Can be achieved using calculated attribute total price=quantity*price(1+vat/100). **B.** Cannot be achieved using calculated attribute. **C.** Advance SQL is needed to achieve this. **D.** Only business logic can achieve this. ## Question 23 Complete the below sentence, “One of the inputs valid property is false..." **A.** form.valid property automatically becomes false. **B.** Explicitly need to set the form.valid property to false. **C.** form.valid property is still true. **D.** None of these. ## Question 24 There are two modules OSMDb_Reactive and OSMDb_Core_Reactive. OSMDb_Reactive is referencing one of the entities in ‘OSMDb_Core_Reactive'. What does the below image indicate? The image represents a developer using the "Manage Dependencies" tool in the OutSystems platform. - **OSMDb_Core_Reactive C** is selected and highlights a "modified" status because the entity that OSMDb_Reactive is referencing has changed in this module. **A.** OSMDb Core Reactive module has been deleted. **B.** Nothing has changed. **C.** One or more referenced elements have been changed in the OSMDb_Core_Reactive module. **D.** OSMDb_Reactive module has been changed. ## Question 25 While using bootstrap to add data to the entity, which of the following is correct with respect to the given scenario. The image shows a table with data for the following attributes: - **Name** - **Email** - **Phone Number** - **Company** **A.** Since not all attributes are matched, bootstrap would not occur. **B.** Name and Email will be part of the bootstrap while phone number and company would be ignored. **C.** Name, Email, Phone number will be part of the bootstrap, only company would be ignored. **D.** None of these. ## Question 26 This action has an integer as input and Text as output.The conditions of the switch and the assign statements are self-explanatory in the diagram. Which one is true among the following? The image shows a flow with a branch that determines the assigned text based on the integer input. - If the Integer is > 1000, the text is " > 1k" - If the Integer is > 100 and < 1000, the text is " > 1k" - If the Integer is less than 100, the text is "Integer" **A.** If Integer is greater than 2000, the text will always be “> 1k.” **B.** If Integer is greater than 1000, the text will be "< 1k.” **C.** If integer is exactly 1000, the text will be “Integer.” **D.** If integer is greater than 1000, the text will be “> 1k.” ## Question 27 When the drag and drop action in the image below is complete, the MovieGenre Static Entity is added to the Aggregate. Which of the following statements is correct? The image shows an aggregate with the following data: - **Movie** - Title - Year - IsAvailableOnDVD - Gross Takings Amount - Genreld - **MovieGenre** - Label - Is_Active - Priority **A.** The Join must be created manually, if the MovieGenreld attribute in the Movie Entity is non-mandatory. **B.** A With or Without join is created, if the MovieGenreld attribute in the Movie Entity is mandatory. **C.** A Withjoin is created, if the MovieGenreld attribute in the Movie Entity is non-mandatory. **D.** An Only Withjoin is created, if the MovieGenreld attribute in the Movie Entity is mandatory. ## Question 28 In the above Database we need to add a new entity for storing Product Type. Product type can be one of the following types (service, electronic, cosmetic, food). Project manager also told that in last one year product type is not changed. Which one is the correct way to implement this scenario? The image shows a database diagram with the following entities: - **Customer** - **Order** - **Product** - **OrderProduct** **A.** Create static entity product type and add an attribute in product table of product Type Identifier **B.** Create a static entity product type and add an attribute as Product Identifier in this entity. **C.** Create an entity which contain product type and Product Id **D.** None of the above. ## Question 29 What is wrong in this image? The image shows a screen with a block nested inside another block. **A.** Nesting of block is not allowed. **B.** Block can be included only on screen. **C.** Block can not be nested in itself. **D.** None of the above. ## Question 30 What’s Expose Read Only entity's property for? **A.** If set to yes makes entity exposed to writes permission. **B.** If set to no makes entity exposed to write permission. **C.** If set to no makes entity exposed to read permission. **D.** All of the above. ## Question 31 Choose the scenario from the list below that best fits the two entities Movie and Movie Genre: The image shows an aggregate with data of the following: - **Movie** - Title - Year - IsAvailableOnDVD - Gross Takings Amount - Genreld - **Genre** - Label - Is_Active - Priority **A.** If we change the join to with and without then no record will be shown. **B.** If we change the join to only with then output will not change. **C.** If we change the join to with and without then complete data will be shown. **D.** If we change the join to only with then no record will be shown. ## Question 32 Write a condition so that the aggregate will not fetch the records with cancel status? The image shows an aggregate with data of the following: - **Movie** - Title - Year - IsAvailableOnDVD - Gross Takings Amount - Genreld - **Genre** - Label - Is_Active - Priority **A.** Person.Status.Id < Entities.Status.Cancel. **B.** Person.Status.Id == Entities.Status.Cancel. **C.** Person.Status.Id <> Status.Cancel. **D.** None of the above. ## Question 33 By Using pagination widget in an aggregate what Total Count Means **A.** Total no of items displays in a screen. **B.** Total no of pages in the pagination. **C.** Count property of an aggregate. **D.** Maximum record of an aggregate. ## Question 34 Suppose you have fetched data from an aggregate which is not Null. What will display on choosing GetEmployee.list.current.employee.FirstName **A.** Null **B.** FirstName **C.** Count **D.** Full Aggregate ## Question 35 We have a form with input fields and an aggregate. What can be set as the variable property for the input fields? **A.** Every Input field will have separate Local Variable. **B.** Data will be stored in a form variable. **C.** Data will be stored in aggregate respective attribute. **D.** Data will be stored in aggregated function. ## Question 36 What will be first step is mandatory to display data of an aggregate using list? **A.** Using list & list item **B.** Using list & expressions **C.** Setting source of list to the aggregate ## Question 37 The client action public property is set to Yes then, **A.** The client action can be used in that application. **B.** The client action can be used in that same module only. **C.** The client action can be used in the server action. **D.** None of the above. ## Question 38 Which of the following is true with respect to the below screen setting? The image shows a screen with the following properties: - **Name** - **Description** - **Title** - **Public** - **Roles:** - Anonymous - Registered - OSMDb_Admin - **Events** **A.** No authentication is required. **B.** Registered User can access the screen **C.** A user with ‘OSMDb_Admin' role can access the screen. **D.** None of the above. ## Question 39 How to display input filled widget as mandatory with * Sign? **A.** Need to add a label with input field property pointing toward label. **B.** Need to add a label with its property pointing toward input field. **C.** By Setting on Click Property of an input filled widget **D.** By Using Screen Action. ## Question 40 When will the client variable data will destroy? **A.** By Closing Tab. **B.** Logout **C.** By Destroying Cookies **D.** By Using Service Center ## Question 41 You have some custom validation so what we need to add in place of? The image shows a flowchart with a decision point that checks if the Form1.Valid? property is true or false. **A.** Form.Valid=TRUE **B.** Form, Valid=FALSE **C.** None of the above. **D.** Form.Valid = CHECK ## Question 42 Suppose we have two screens namely screen A and B and if we are moving from screen A to B then when will be the on Destroy Event Will Call? **A.** When Screen B OnReady then OnDestroy event call for Screen A **B.** First OnDestroy event will call for Screen A then Screen B will initialize **C.** When Screen B initialize then OnDestroy event call for Screen A **D.** When Screen B Rendered then OnDestroy event call for Screen A ## Question 43 What is true about site property? **A.** Cannot be modified outside of Service Studio **B.** Only changed at Runtime. **C.** Cannot be a record data. **D.** None of the above. ## Question 44 Which exception handler would execute when you get an error on inserting any new record in 'MovieCreateOrUpdate' server action? The image shows two flowcharts with different decision points. - The first flowchart checks for MovieCreateOrUpdate. - The second flowchart checks if CheckOSMDb_React_AdminRole.HasRole? is true, which follows the CreateOrUpdate flow, and if the answer is false, it follows the end flow. **A.** AllExceptions handler from ‘MovieCreateOrUpdate' will be executed. **B.** DatabaseException handler in the 'SaveOnClick' action. **C.** AllExceptions handler from 'SaveOnClick' will be executed. **D.** AllExceptions handler from 'MovieCreateOrUpdate' will be executed, followed by DatabaseException handler in the 'SaveOnClick' action, AllExceptions handler from 'SaveOnClick'. ## Question 45 Which of the attributes are returned by the following aggregate? The image shows an Aggregate with data of the following: - **Person** - Id - Name - SurName - FullName - Date Of Birth - DateOfDeath - CreatedOn - **PersonMovieRole** - Personid **A.** The Person and PersonMovieRole entity attributes, plus a Calculated attribute. **B.** Not yet defined. You need to add an Output Structure/Entity to the Aggregate **C.** Only the Person and PersonMovieRole entity attributes. **D.** Only the Calculated attribute. ## Question 46 What we cannot use inside data actions? **A.** Advance SQL **B.** Server Actions **C.** Client Actions **D.** Aggregates ## Question 47 Where we can see error logs in OutSystems? **A.** By Using Service Center's Monitor Tab **B.** By Using Debugger **C.** Can Not See Error Logs **D.** By Using Google Console ## Question 48 What is False regarding static entity? **A.** Defined during design and development. **B.** Can Change at run time **C.** Only have one entity action **D.** Can Modify the default created attributes. ## Question 49 There is a button group whose variable is set to local variable of data type Priority Identifier. What should be filled in the value property corresponding to the highlighted button in the below picture? If the priority static entity has (Low, medium, high) records. The image shows a button group with three buttons: Low, Medium and High. "Low" is hilighted. **A.** Entity. Priority.Id **B.** Entity. Priority.Low **C.** Entity. Priority.Label **D.** Priority.Label ## Question 50 In the following scenario, we are implementing the ColorsDropdown widget which will allow a user to select a color. What should be set in the Options Text property to make sure that the names of the colors appear in the dropdown. The image shows a database table with data pertaining to colors. **A.** Color.Id **B.** GetColors.Color.Label **C.** Color **D.** Color.Label ## Question 51 The following screen has two Dropdowns, one to select a Country and one to select a City. The GetCountries and GetCities Aggregates provide the countries and the cities to be displayed in the respective dropdowns. Which of the following options is a valid step if we want to just fetch the cities only after the user selects a country? **A.** Set the Fetch property of the GetCities Aggregate to Only on Demand. **B.** Refresh the GetCountries Aggregate in the OnChange Action of the City Dropdown. **C.** Filter the GetCountries Aggregate by the selected city. **D.** Call the GetCities Aggregate in the GetCountries On After Fetch Event handler. ## Question 52 Bootstraping a file with following data The image shows a table with data for the following attributes: - **Name** - **Email** - **Phone Number** - **Address** **A.** Email number cannot be imported as its doesn't match data type **B.** Phone number cannot be imported as its doesn't match data type **C.** Address number cannot be imported as its doesn't match data type **D.** All field will be imported. ## Question 53 There are 2 modules. ‘OSMDb' and ‘OSMb Core'. OSMDb is referencing one of the entities in ‘OSMDb Core'. This entity has been changed and it's published in 'OSMDb Core'. What will happen when we click apply button? The image shows a screen with the "Manage Dependencies" tool in the OutSystems platform. OSMDb_DEMO_Core is highlighted. **A.** It refresh all the dependency automatically **B.** It will show and error message and doesn't allow to publish module. **C.** It will show dependency error while opening the module. **D.** It will show a warning message and open the module. ## Question 54 What are the available types of modules in OutSystems? **A.** Reactive, Blank, Service, Extension, Library **B.** Reactive, Blank, Extension, Library **C.** Reactive, Blank, Library **D.** Reactive, Blank ## Question 55 How are Attributes and entities mapped in Outsystems? **A.** Rows and columns. **B.** Rows and Tables. **C.** Columns and tables. **D.** Indexes and Columns. ## Question 56 Which actions are created while creating an entity? **A.** Create, Update, CreateorUpdate, Fetch **B.** Create, Update, CreateorUpdate, FetchForUpdate **C.** Create, Update, CreateorUpdate, GetForUpdate **D.** Create, Update, CreateorUpdate, DeleteALL ## Question 57 In Static entitiy you can create new attributes and define their types. **A.** True **B.** False ## Question 58 Which are the possible values of Delete Rule property of the reference attribute? **A.** Ignore **B.** Delete and Protect **C.** Delete, Protect and Ignore **D.** Protect ## Question 59 Can We give Client action As Expression? **A.** Yes **B.** No ## Question 60 Which built-in validations are available? **A.** Mandatory fields **B.** Maximum length of text field. **C.** Mandatory and data types of input fields. **D.** None of these. ## Question 61 Which type of parameters can be created inside a block? **A.** Input parameters, Output Parameters. **B.** Input Parameters, Local Variables and Output Parameters. **C.** Local variables only. **D.** Input parameters and Local variables. ## Question 62 Is it recommend to store password as a client variable? **A.** True **B.** False ## Question 63 Which type of exception will be thrown? The image shows a flowchart with a decision point that checks if the result is true or false. If true, it follows the Invalid Login flow, otherwise, it follows the PostGetApprove... flow. **A.** Security exception **B.** User exception **C.** Database exception **D.** Communication exception ## Question 64 Which of the following is not possible to be fetched when the screen is initializing? **A.** Rest API in the data action flow. **B.** Aggregates in the screen level. **C.** Advanced SQL in the screen level. **D.** Aggregates inside the data action flow. ## Question 65 Setting the Function property of a Server Action to Yes? **A.** Restricts it to be used only in Expressions. **B.** Restricts it to have exactly one Output Parameter. **C.** Restricts it to have exactly one Input Parameter. **D.** Restricts it from being referenced by other modules. ## Question 66 Considering Button and Link widgets, which of the following options is true with respect to their ‘On click' property? **A.** Both Link and Button widgets don't differ with respect to 'On Click' property. **B.** Button widgets on click property can be set to external URL but Link widgets cannot. **C.** Link widget's on click property can be set to a client action as the Destination. Button widgets can't. **D.** Button widgets' on click property can be set to an event while Link widgets can't. ## Question 67 When is the OnParametersChange event triggered? **A.** When the parent of the Block changes the value of at least one of the Block's Input Parameters. **B.** If the value of a Block's Input Parameters changes inside a Client Action of the Block. **C.** The On Parameters Changed must be explicitly triggered by the parent of the Block. **D.** When the parent of the Block changes the value of all the block's Input Parameters. ## Question 68 Which of the following is a use case for 'For each' variable? **A.** Generic loop **B.** Traversing over variable of type list. **C.** Bulk insert into a static entity. **D.** None of the above. ## Question 69 Which exception handler would execute when a database exception is thrown in the 'CreateOrUpdate' entity action from the ‘MovieCreateOrUpdate' server action? The diagram shows two flowcharts. - The first flowchart represents the "MovieCreateOrUpdate" action with its decision points and exception-handling blocks. - The second flowchart represents the "CreateOrUpdate" entity action with its decision points and exception-handling blocks. **A.** AllExceptions handler from ‘MovieCreateOrUpdate' will be executed. **B.** DatabaseException handler in the 'SaveOnClick' action. **C.** AllExceptions handler from 'SaveOnClick' will be executed. **D.** AllExceptions handler from 'MovieCreateOrUpdate' will be executed, followed by DatabaseException handler in the 'SaveOnClick' action, AllExceptions handler from 'SaveOnClick'. ## Question 70 Consider the following Action, that calculates the square root (sqrt) of a positive decimal number (N). Knowing that the function was called with N = -1, and the debugger is available at the Start node, what will happen when the developer selects the Continue (F9) option highlighted in the picture? The diagram shows a flowchart with a decision point that checks if the N<0?. If true, it follows the Invalid Number flow, otherwise, it follows a decision point that checks if N=0 or N = 1 which follows the sqrt = N flow. If not, it follows the sqrt = sqrt(N) flow. **A.** The Action will end, with sqrt = 0 and an error message would be shown. **B.** The debugger will stop at Raise 'Invalid Number' exception node. **C.** The debugger will stop in the N < 0 If node. **D.** None of the above. ## Question 71 Which of the following is true about 'On Render' event? **A.** OnRender event is the first to be triggered when we navigate from one screen to another. **B.** OnRender event is triggered before 'OnReady' event. **C.** OnRender event is re-run every time when there is any change in the data of the screen. **D.** OnRender event is triggered only once when the page is ready to be rendered. ## Question 72 What is true about Blocks from the following? **A.** Changes made in the block will be automatically reflected in all its instances. **B.** An event is required in the Parent to catch the notification sent by the block on the change. **C.** An event is required to notify all the other instances about the changes made in the block. **D.** The change has to be done manually on each instance of the block. ## Question 73 Which of the following can't be used on an expression? **A.** Strings concatenated using operators. **B.** Output of server actions. **C.** Output of data action of the screen. **D.** Both B and C. ## Question 74 Which of the following is true with respect to the below screen setting? The form shows a screen with the following properties: - **Name** - **Description** - **Title** - **Public** - **Roles** - Anonymous - Registered - EndUser - OSMDb_React_Admin **A.** No authentication is required. **B.** Only users with username and password can access the screen. **C.** Only users with both ‘End User' and 'OSMDb_React_Admin' role can access the screen. **D.** None of the above. ## Question 75 What is true about 'CreateOrUpdate' entity action? **A.** Returns only the id of the created or updated record. **B.** Throws error when the record already exists. **C.** Updates the record when the record identifier is NullIdentifier(). **D.** Returns the id and the created or updated record. ## Question 76 To ensure that the incorrect data doesn't reach the server, what is to be done? Note: Built-In validation property is set to True. **A.** Nothing. Since the built-in validation is set to true. **B.** Form.valid property has to be checked before adding the data to the database. **C.** Form.valid property has to be set to false in the action flow. **D.** None of the above. ## Question 77 What is the value of 'Output'? The image shows a flowchart with a decision point that checks if the Integervalue = 2?. If true, it follows the Assign flow, otherwise, it follows the End flow. **A.** The value of Output is always 2. **B.** The value of

Use Quizgecko on...
Browser
Browser