Outsystem đề 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

A one-to-one relationship from Entity A to Entity B is created by ... A ... changing the Entity B identifier data type to <Entity A> Identifier. B ... changing the id attribute of Entity B to not be an auto-number and assigning a value to it programmatically, when creating a new record. C ... adding a new attribute to the Entity B with data type <Entity A> Identifier. D ... adding a new attribute to the Entity A with data type <Entity B> Identifier.

A

A static Entity is an Entity... A ... whose attribute data types are limited to basic data types or references to other Static Entities. B ... that can only hold basic data type values, excluding references to other Entities. C ... used to define none-modifiable (constant) values with attributes limited to Id, Label, Order and Is_Active. D .. whose attributes must be always mandatory.

A

Before iterating a non-empty List, the List.Current element contains ... A ... the first record of the list. B ... null C ... the last record of the List. D ... an empty record.

A

Consider a Screen containing a Table Record, with an Aggregate as data source. To add the sort functionality to the Table Records, you have to... A Add the List_SortColumn Web Block to each column of the Table Record, set the Column property with {Entity}.[Attribute], and define a Dynamic Sort in the Aggregate. B Add the List_SortColumn Web Block to each column of the Table Record, set the Column property with {Entity}.{Attribute} and the Dynamic Sort is automatically added to the Aggregate. C Add the List_SortColumn Web Block after the Table Records and select the Table Records in the ListWidgetId property of the List_SortColumn. D Simply drop the List_SortColumn Web Block on each column and change the Aggregate to use the Block's Output parameter.

A

Consider the following Screen Action flow, that performs custom validations over data submitted from the ProductForm. Which condition should be set for the highlighted If statement? A ProductForm.Valid = True. B ProductForm.Record.Product.Price > 0 and ProductForm.Record.Product.QuantityInStock... C Product.Price > 0 and Product.QuantityInStock >= 0. D ProductForm.Valid = False

A

If you define a Unique Index over the attributes Name and Email of the Client Entity ... A ... a database exception will be thrown if you try to insert (John, [email protected], 555-33333) and (John, [email protected], 777-99999). B ... a database exception will be thrown if you try to insert (John Smith, [email protected], 555-33333) and (John, john, [email protected], 777-99999). C ... a database exception will be thrown if you try to insert (John, [email protected], 555-33333) and (John, john, [email protected], 777-99999). D ... a database exception will be thrown if you try to insert (John, [email protected], 555-33333) and (John James, [email protected] , 777-99999).

A

In a Web Application, a Screen Action ... A ... can terminate with End, Destination, Download or Raise Exception Statements. B ... cannot have multiple termination statements. C ... can have multiple termination statements, but none of them can be a Destination statement. D ... must always terminate with an End statements.

A

In a Web app, what cannot be referenced from one Module to another Module? A Session Variables. B Web Blocks C Server Actions. D Static Entities.

A

In the image below, the UserMovieRating Entity is dragged into an Aggregate that already has a Movie Entity. Considering this scenario, which of the following statements is correct? A A With or Without type of John will be created between the Movie and UserMovieRating Entities, if UserMovieRaing.MovieId is non mandatory. B A With type of John will be created between the Movie and UserMovieRating Entities, If UserMovieRating.MovieId is mandatory. C A With type of John will be created between the Movie and UserMovieRating Entities, If UserMovieRating.MovieId is non mandatory. D An Only With type of John will be created between the Movie and UserMovieRating Entities, if UserMovieRating.MovieId is non mandatory.

A

Regarding Web Blocks in Outsystems, select to statement that is true A You can instantiate Web Blocks on Web Screens and other Web Blocks. B You can instantiate Web Blocks on Web Screens and external HTML pages, by adding a special html tag. C You can instantiate Web Blocks on Screen Actions. D You can instantiate Web Blocks only on Web Screens.

A

What happens when the user makes a request to access a Screen for the first time? A The Preparation is executed, followed by the page rendering. B The Preparation is only executed if the user has not visited the Screen before. C The Preparation is only executed of the user has not visited the Screen before. D The Screen is rendered and then the Preparation is executed.

A

Select the correct option regarding Server Actions. A Setting the Function property to Yes requires the Server Action to have only one Output Parameter. B All Server Actions must have at least one Input or Output Parameter. C Setting the Public property to Yes requires the Server Action to have at least one Input or Output Parameter. D It is not possible to set both Public and Function properties to Yes at the same time.

A

Select the correct option regarding Web Blocks. A A Web Block can have its own Preparation. B A Web Block can have Output Parameters. C A Web Block can only be instantiated inside Web Screens. D A Web Block can be nested inside itself

A

The Outsystems debugger can be used to... A ... inspect the variables state and follow the page lifecycle, step by step. B ... inspect the value of the variables, except for Session Variables and Site Properties. C ... inspect the value of primitive types. Composite types, like Lists, cannot be inspected. D ... inspect the logic. It is not possible to inspect the Screen render stage.

A

What is the best method to restrict to a part of a Web Screen for users with a specific MovieAdmin Role? A Enclose that part in an If and use the Condition to check if the user has permission. B Encapsulate that part in Web Block and change the Block's Role properties, to only allow the MovieAdmin role. C Enclose that part in a Container, and use the Enable property to hide the contents. D Unlock all the Roles in the Screen, except for the MovieAdmin Role.

A

When using Server Side validations, to avoid storing invalid data (according to the application specification) in the Database... A ... you should check the Form's Valid property to see if it is set to False, before storing the data. B ... you should add an Exception Handler to handle invalid user input. C ... you just need to ensure the "Save" Button's Validation property is set to "Server". D ... you just need to ensure the Form's Validation property is set to "Server".

A

Select the correct option regarding the output of an Aggregate. A Return -1 if there are no results. B Thrown an Exception when there are no results. C Return Null when there are no results. D Return a List that is empty when there are no results.

D

A Screen Preparation... A ... requires at least one Input Parameter to filter the queries to the database. B ... does not have Output Parameters. C ... cannot execute other Server Actions. D ... is mandatory for every Web Screen.

B

Consider that a user navigates into a Web Screen then clicks on a Button, set with the Submit method and the following Screen Action as Destination. In this scenario, when does the Preparation run? A When the user accesses the Web Screen, but not when clicks on the Button. B When the user accesses the Web Screen and when the user clicks on the Button. C Never. D When user clicks on the Button.

B

If we have multiple Exception Handlers in an Action flow and an Exception is raised ... A The execution is always moved to the Global Exception Handler. B The execution is moved to the Exception Handler that is most specific to the Exception. C The execution is moved to all Exception Handlers of the Action. D A Switch statement is needed to select which Exception Handler will continue the execution.

B

Immediately after creating an Entity and its attributes, what is the expected behavior when using the Bootstrap Data From Excel? A You cannot use the bootstrap data from Excel. You are required to Publish the module first. B The bootstrap will try to automatically map the Entity attributes with the existing headers, in the first row of the Excel file. C The bootstrap only works all attributes match exactly the headers on the first row of the Excel file. Otherwise you get an error... D You cannot use the bootstrap data from Excel, because the structure of the Entity is already defined.

B

In Outsystems the Expression Widget... A ... cannot contain JavaScript code to be embedded in Web Pages. B ... can contain logic that is evaluated when performing server-side rendering. C ... cannot be used inside Link Widgets. D ... can only contain static content to display to users.

B

In Outsystems, the output parameters of a Consumed REST API Method cannot be mapped to... A ... an Entity. B ... an Aggregate. C ... a Structure. D ... a Basic Type.

B

In the Aggregate, we want filter the results to only return contacts that have "John" anywhere in their AccountName. To achieve this result, what is the correct expression to put in the Filter of the Aggregate? A Contact.AccountName = "%john%". B Contact.AccountName like "%john%". C Contact.AccountName = "john". D Contact.AccountName like "john".

B

Inside the Preparation of Web Screen, the Destination statement... A ... cannot be used. B ... allows redirecting the user to a different Web Screen, without rendering the current Screen. C ... renders the Current Screen and afterwards the users is redirected to the Destination Screen. D ... prompts the user before redirecting to the Destination Web Screen.

B

The Delete<Entity> Entity action ... A ... must receive the SQL statement to delete the record as Input Parameter. B ... must receive the Identifier of the record to be deleted as Input Parameter. C ... must receive the Record to be deleted as Input Parameter. D ... asks for confirmation before deleting the record.

B

To use a Table Records, you are absolutely required to: A Have a Preparation on the Screen or Web Block containing the Table Records. B Specify a Source Record List with the data to be displayed to the user in the Table Record. C Specify a Source Record to be displayed to the user in the Table Records. D Enclose the Table Records in a named Container.

B

When a Form is submitted, what are the built-in validations that Outsystems performs? A If the data submitted by the user matches the data type of the variables associated with the respective Inputs. B If the Mandatory fields are filled in and if the data submitted by the user matches the data type of the variables associated Inputs. C If the Mandatory fields are filled in. D If the data submitted by the user matches the data type of the Source Record of the Form.

B

When deleting a record from an Entity, it deletes all records of an Entity with foreign key references. In this case, what the Delete Rule in use? A Protect B Delete C Ignore

B

When using a Popup_Editor, consider that you implement a Screen Action in the Popup Screen that requires Source Screen to be refreshed. How would you implement that Screen Action? A You use the Popup_Editor_Close to close the Popup, followed by the Ajax Refresh to refresh the Source Screen. B You use the Popup_Editor_Notify for the Popup Screen to notify the Source Screen, followed by the Popup_Editor_ ... the Popup C You use the Popup_Editor_Notify for the Popup Screen to notify the Source Screen and close the Popup. D You use the Popup_Editor_Notify for the Popup Screen to notify the Source Screen, followed by the Popup_Editor__... the Popup and an Ajax Refresh to refresh the Source Screen.

B

Consider the following Server Action, containing a Switch where the conditions are detailed on the connector. A The Gender output value will be either "Female" or "Male". B The Gender output value is always "Unknown". C If the value of the GenderLetter is "M", the Gender output value will be "Male". D If the value of GenderLetter is "Female", the Gender output value will be "Female".

C

Consider a Web Screen with a Button that is associated to a Screen Action. An Ajax Refresh statement in that Screen Action allows to refresh part of that Web Screen, ... A ... if the button has Method Navigate. B ... regardless of the Button's Method. C ... if the Button has Method Ajax Submit. D ... if the Button has Method Submit.C

C

Considering Aggregates and SQL Queries, which of the following statements is true? A All SQL Queries can be replaced by an Aggregate. B Aggregates and SQL Queries have different output types. C Everything that can be define in Aggregate can also be written in a SQL Query. D Both SQL Queries and Aggregates are automatically optimized by the platform.

C

Consider that you want to change your application Header, with new fonts, colors and an icon. What is the best approach to accomplish that in Outsystems? A Change the Common/Header Web Block, by adding a Container with the new icon. Add the new CSS to the Module Theme's Style Sheet. B Add the new CSS to the Style Sheet of every Web Screens in the application, overriding the Style Sheet of the Common/Header Web Block Replace the Header_Logo with the new icon. C Change the Style Sheet of the Common/Header Web Block, with the new CSS implemented and replace the Header_Logo with the new icon. D Replace the Common/Header Web Block on every Web Screen with a new Web Block containing the new icon and CSS in its Style Sheet.

C

In Outsystems, the email and Phone Number ... A ... cannot be used as Session Variables data type. B ... can be used as an attribute data type, but not as a Screen input Parameter's data type. C ... are basic data type. D ... cannot be used as a Static Entity attribute data type.

C

The Countdown Web Block has a StartScreen Action, as defined below. What is expected when you add this Web Block to a Web Screen? A You only need to specify a Screen Action, to run when the Notify event occurs, if the Notify Action is set as mandatory. B You only need to specify a Screen Action, to run when the Notify event occurs, if the Notify Action contains a message. C You must specify a Screen Action to run when the Notify event occurs. D You can optionally specify a Screen Action to run when the Notify event occurs.

C

What do you need to do to ensure that only authenticated users (with a username and password) can access your application? A Create a new Role in the Users application, change, its name to "Authenticated Users", and check it on all Screens. B Create a new Role in your application, change its name to "Authenticated Users", and check it on all Screens. C Uncheck the Anonymous role on all Screens. D Check the Anonymous role on all Screens.

C

When the user submits data in a Form to the server... A ... a Screen Action runs with the data from the Form as Input parameter. B ... the Preparation runs then the Screen Action runs. C ... the data is stored in the Form's Record implicit variable. D ... the data in the Form is only available in the Preparation.

C

When you create a new Web Screen, it has a Header, Menu and Footer by default because... A .. all Screens are created that way even in Blank modules. B ... all Screens must have a Header, Menu and Footer, C ... it is built with a layout Web Block, that has placeholders for those Web Blocks. D ... all Screen have three Containers for those Web Blocks

C

Which of the following statement about Exception Handlers is true? A An Action flow can only raise exceptions if it has at least one Exception Handlers. B The Preparation cannot have Exception Handlers. C In each Action flow, the most specific Exception Handler will be used to handle the Exception. D It is not possible to have more than one Exception Handler per Action flow

C

Select the correct option regarding Server Action. A A Server Action can only have one Output Parameter. When more than one value needs to be returned, a Structure must be used ... B A Server Action can return multiple values in different Output Parameters, but limited to the OutSystems basic types. C A Server Action can only have one Output Parameter. To indicate if the action worked as expected or not, you should use an Exception. D A Server Action can return multiple values in different Output Parameters, of any Outsystems data type

D

Select the correct option regarding the Input Widget. A All input widgets must be inside a Form widget. B You don't need to have a variable. The data typed by the user is saved in the Input widget itself. C It can only be associated to variables of Text data type. D You always need to have a variable to store the value typed by the user.

D

Consider that you need to change the database of your application, with the respective Data Model in the following image, to include the types of Products. A Product can only have one type. Example of types are books, music, movies, electronics. You are told by the project manager that the Product types don't change since last year. What is the best way to implement this change? A Add an integer attribute, ProductType, to the Product Entity and set 1 for books, 2 for music, 3 for movies, 4 for electronics. B Add a new Static Entity, ProductType, with 4 record, one of each type of Product. In addition, add an attribute to it of type Product Identifier. C Add a Text attribute Product Type, to Product and set its values to "Books", "Music", "Movies", "Electronics". D Add a new Static Entity, ProductType, with 4 records, one of each type of Product. In addition, add an attribute to Product of type ... ProductType Identifier.

D

Considering an Entry Point of a module, which option is correct? A You can only have one Entry Pont in each UI Flow. B You can have several Entry Points in the same UI Flow, with the Is Default property set to "Yes". C You can have several Entry Points in the same UI Flow, as long as each one is connected to a Web Screen, or a Web Block... D You can have several Entry Points in the same UI Flow, as long as each one is connected to a Web Screen.

D

In OutSystems, User Groups allow you to ... A ... create new user Sessions for multiple users at the same time. B ... assign the same password to multiple users at the same time. C ... grant the access to the same Screens to multiple users at the same time. D ... assign and revoke a Role to multiple users at the same time.

D

In a Switch statement, which comment is NOT CORRECT? A The first branch that the condition evaluates to True is executed. B If no branch evaluates to True, the Otherwise branch is executed. C The Otherwise branch must exist. D Every branch that evaluates to True is executed.

D

What is wrong with this SQL Query? A The output structure should have the Product, but not the Product Sales B The syntax for referencing Database Entity attributes should be [EntityName].{AttributeName}. C An Input Parameter is missing. D The Output Structure should have the Product Sales, but not the Product.

D

When you use a ComboBox widget... A ... you only need to either define the Variable or the Special Variable property. B ... you always need to specify a value in the Special List. C ... you must define the Special Variable property, if at least one value is defined in the Special List. D ... you always need to set the Variable property, if the Source Entity is specified.

D

Which of the following options is correct, regarding Session Variables in Outsystems? A Session Variables value never expire and are kept in all requests from the same user. B Session Variables can only be used after the user authenticates. C Session Variables allow sharing data between different users. D Session Variables values expire after the session timeout.

D

Which of the following should be implemented using a Site Property? A The number of registered users. B The search filter of a list Screen. C The list of logged in users. D The minimum password length.

D


Conjuntos de estudio relacionados

3.2 Independent and Mutually Exclusive Events & 3.3 Two Basic Rules of Probability

View Set

fina4329: ch 5 The Market for Foreign Exchange

View Set