Associate Web Developer Practice Exam, Exams of Information Technology

A comprehensive set of questions and answers related to the associate web developer practice exam for the outsystems platform. It covers various aspects of web development, including the components of the outsystems platform, such as service studio, integration studio, service center, and lifetime. The document also delves into topics like screen actions, input validations, debugging, ajax, access control, web services, themes, and rich widgets. The detailed explanations and solutions make this document a valuable resource for anyone preparing for the associate web developer certification exam or looking to enhance their understanding of the outsystems platform.

Typology: Exams

2023/2024

Available from 08/05/2024

TUTOR1
TUTOR1 šŸ‡ŗšŸ‡ø

3.5

(21)

5.7K documents

1 / 12

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSOCIATE WEB DEVELOPER PRACTICE
EXAM Questions and Answers with complete
solution Latest Updates 2024 GRADE A+
What does Outsystems provide?
OutSystems Server
Development
Admin & Ops
OutSystems Forge & Community
What is the OutSystems server?
set of servers that compiles, deploys, manages, runs, and monitors applications
the two components of development
integration studio & service studio
two components of admin and ops
service center & lifetime
service studio
low-code visual development environment that enables developers to rapidly create
amazing mobile and web applications
integration studio
dev environment for integrating external resources;
integrate existing data and code as well as create .NET code extensions
service center
platform server management console;
admin console that is accessible via browser;
access to platform server configuration for admin and operations teams
lifetime
web app that manages lifecycle across environments;
extends service center's capabilities to cross environment scenarios;
complete application lifecycle management via browser
outsystems forge
source of downloadable components to help speed app delivery
what are screen actions bound to?
widgets on a screen
where can server actions be called?
in any flow
how many input and output parameters and local variables can server actions
have?
multiple
do screen actions have output parameters
no
do preparations have parameters or variables
no
server actions that are set as a function are...
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Associate Web Developer Practice Exam and more Exams Information Technology in PDF only on Docsity!

ASSOCIATE WEB DEVELOPER PRACTICE

EXAM Questions and Answers with complete

solution Latest Updates 2024 GRADE A+

What does Outsystems provide? OutSystems Server Development Admin & Ops OutSystems Forge & Community What is the OutSystems server? set of servers that compiles, deploys, manages, runs, and monitors applications the two components of development integration studio & service studio two components of admin and ops service center & lifetime service studio low-code visual development environment that enables developers to rapidly create amazing mobile and web applications integration studio dev environment for integrating external resources; integrate existing data and code as well as create .NET code extensions service center platform server management console; admin console that is accessible via browser; access to platform server configuration for admin and operations teams lifetime web app that manages lifecycle across environments; extends service center's capabilities to cross environment scenarios; complete application lifecycle management via browser outsystems forge source of downloadable components to help speed app delivery what are screen actions bound to? widgets on a screen where can server actions be called? in any flow how many input and output parameters and local variables can server actions have? multiple do screen actions have output parameters no do preparations have parameters or variables no server actions that are set as a function are...

  1. restricted to one output parameter
  2. available in expressions what is an action flow where a piece of logic is defined actions flows can have one of what and multiple of what one start node multiple end nodes and raise exceptions what can screen actions and preparations also end with (2 things) besides end and raise exception? destination nodes and download can a flow have multiple exception handlers? yes, but action and exception flows cannot intersect what does that assign statement do? allows setting values to variables or parameters how are values assigned in assign statements? top to bottom and changes occur immediately what are some accelerators that service studio provides regarding assign statements? auto-assign of remaining attributes standard type-matching values suggestion what does an if statement do? creates a conditional branch in an action flow what does a switch statement do? creates conditional branching with multiple branches how does the switch statement operate? conditions are evaluated from first to last only the first branch that evaluates to True is executed or the otherwise branch and the otherwise branch is mandatory what does a for each statement do? allows iterating through a record list how does a for each statement operate? the cycle branch is followed for each record in the list
  • branch must return to the for each so the loop can continue
  • branch can create other conditional/alternative branches the branch is followed after the cycle completes what does RecordList.Current get in a for each statement the current record being iterated within the loop how to implement an ad-hoc loop use the if to evaluate a loop condition
  • follow a cyclic branch when condition is true
  • exit the loop when condition is false in the cyclic branch of an ad hoc loop... branch must return to the if to continue the loop branch can create other conditional/alternative branches when is an exception used in a screen action?

valid: boolean property validationMessage: text property

  • displayed in the case that input is not valid when built-in validations are performed automatically.... valid property is auto set to false but it still needs to be explicitly checked in the action flow what is a custom server-side validation? when a developer writes their own validations
  • must be perform in the action flow if the form input fields are invalid... you should set the valid property to false and set the ValidationMessage accordingly when should the form valid property be checked? after all custom validations what if one input is invalid? the form is automatically not valid can the form valid property be explicitly assigned? No are built-in validations checked on the server or client side? client if client side validations are valid then what happens? Invalid? inputs are submitted to the server user gets error message immediately how do server side validations work? as the server validation method custom server-side validations can be defined how does the none validation work? inputs are submitted to the server no built-in validations are performed on client or server side custom server-side validations can be defined when is the valid property of the input widget checked? when rendering if the valid property is set to false... regular widget is displayed specific styling is applied (red border) displays the validation message when the input gains focus troubleshooting is generally a combination of 2 things debugging and monitoring what does debugging do? suspends code execution at given points analyzes the value of variables developer can execute code step by step what is monitoring? analyzing and correlating system logs outsystems records events in logs like errors, slow queries, etc. how does debugging work in service studio?

allows you to place breakpoints on elements that generate code such as action/preparation statements and screen widgets when should you start the debugger? before opening the app in the browser what does service studio do when debugging? registers the breakpoints and connects to server to stop execution where are breakpoints listed? in the debug panel *note that they can be temporarily disabled or removed what commands are available once code execution stops at a breakpoint?

  • stop, continue, suspend, abort
  • step over, step into, step out what does the break on all exceptions button do? forces the debugger to suspend the execution of threads when exceptions occur handled or unhandled when do you inspect the values of variables in debugging? when code execution is stopped T/F watches are always displayed, even if out of scope T what do breakpoints do? stop execution of requests made to that module directly why debug in the personal area? no impact to the main version of the application faster re-publication after changes does not create a new version of the module with every publish what is monitoring act of analyzing and correlating logs what does ajax do allows web pages to change content dynamically aka no need to refresh the whole page how does ajax work? sends small asynchronous requests to the server the end user can still continue to interact with the screen what is the 1 main reason to use ajax end-user experience is greatly improved how to get ajax in a screen action to work set the link or buttons method to ajax submit and set the destination to a screen action what does the response of ajax refresh contain only the refreshed screen content this is available for named widgets only what happens when multiple ajax refreshes are called in the same screen action they will be executed in order what if an ajax refresh is called in a screen action but the method calling the action isn't ajax submit? the ajax refresh is ignored what does "refresh data" do?

using events

  • web block triggers an event
  • parents handles or reacts to the event from the block when can events be defined? in the scope of web blocks why can events have input parameters? to send data to the parent what are event handlers? screen actions defined in the scope of the parent you have to specify the logic to handle an event they have access to the event input parameters what happens when a web block triggers an event the event handler action is executed what happens when you have different event handlers? each handler can use a different screen action the same screen action can be used in multiple handlers T/F: OutSystems can determine your access control requirements False what does access control determine and enforce who can do what who: business users and roles what: access screens, trigger actions, etc. what 2 things does access control comprise? authentication and authorization what is authentication identify who is accessing the application validate user credentials authorization check if a user can execute a task validate if user was granted the required permissions where are end-users created and managed? in the users application; default outsystems end-user provider what is the core information of a user username, password, and name t/f: users can be created programmatically true how is authorization granted via roles what are the two built in roles? anonymous and registered what role do all end-users have registered role what 3 actions does each role have? check, grant, and revoke where can roles be checked? in screens and actions

What does a screen's role property do? enforces a user to have one of the roles to access the screen what does CheckRole(UserId) action do? checks if a user has the RoleName Role can be used in any boolean condition in widgets enable/display/visible property if widget on screens if statement on logic flows what are groups groups of users can be granted a role what happens when a group is granted a role that role is given to all users in that group how can groups be created and managed manually in the users application or programmatically with actions from users module what does "web requests are stateless" mean each request to the server is not aware of the previous ones what are sessions mechanism that can be used to store state between requests what does a session keep? the context of the end-user interactions with the application session data is stored in the database when is a session created? on the first end-user request to the server session data is retrieved by the server in every browser request times out after a period of inactivity-->session data is discarded what 2 types of cross-request data does outsystems support? session variables and site properties what are user session variables? available while a user is using the application values are stored per user values expire when session times out what are cross-session site properties always available to all users values are shared between all user sessions values never time out what data types can session variables be? basic, entity identifiers, others should be avoided what does the value of a session variable do? can be assigned in any action persists across requests is reset to its default value when the session ends or the user logs out when does a user session start? automatically on first access when does a session end automatically after a timeout which is usually 20 min

default values of input parameters name and description of elements how to expose a SOAP web service in outsystems create the service create each method implement them as any action where is the endpoint information of exposed web services found? service center in the module's integration tab what does the endpoint and WSDL URLs use host name and module name how to consume a single REST method provide the method's URL test to get a sample response copy the response to the body what is it possible to change with REST that you can't with SOAP? data types of attributes and parameters can also add and remove them REST services provide what 2 callbacks? OnBeforeRequest OnAfterResponse when are actions automatically called? before the request or after getting the response what are REST callbacks useful for? debug and customize requests how to consume all REST methods provide the API URL REST API must be compliant with swagger specification to expose a service in outsystems create the service create each method implement them as any action what can you do in service center regarding consumed and exposed web services configure them

  • effecting endpoint URL
  • security
  • log verbosity T/F: configuration is done per module true what do themes do define the look and feel of your application screens what 2 things can themes be applied to? modules and UI flows T/F: each module has a default theme true; new screens are created based on that theme by default what is a theme

defines the common styling properties for UI elements what are the 4 common styling properties for UI elements? base theme, style sheet (style can override base theme styles), grid type (fixed, fluid, or none), common building blocks (web blocks) where can a theme be defines in any module, including a blank module; can be shared between modules; modules can have multiple themes for different UI flows what are style sheets they define CSS style classes for various types of visual elements that are attached to specific elements like themes, web screens and emails, web blocks what does the style sheet editor in service studio provide? syntax highlight, auto-complete, visual styles editor it is possible to edit existing CSS classes except which one the Base Theme T/F: when editing CSS, changes are immediately available in service studio True why are CSS variables used to accelerate customization in what order are style sheets loaded in screen? web block, theme, screens and emails T/F: style classes can be overridden true when applying styles, what do the extended properties do? define inline styles or classes based on runtime conditions what can you do in theme web blocks? define common layouts changing the theme's web block properties only affects new elements; screens already created with the previous layout are not modified what does the layout web block do? defines the base structure of new screens that are created what is a menu block? support for two-levels of menu items; menuItem and menuSubItem are static entities that hold the caption or name of menu items what happens when you drag and drop a screen to the menu it adds a record to the static entity adds a dropdownmenu to the menu block adds the link containing an expression what are used to highlight active menu and submenu options input parameters what is OutSystems UI UI framework for web and mobile apps 100+ UI patterns and screens what are rich widgets groups of widgets, themes, and actions where are widgets present? in the service studio toolbar