2025/2026 (Questions With 100% Correct
Answers) A+ Graded Verified
Dynamic Widget Properties - ANSWER -Label, Available, Editable, Required,
Visible
Modes - ANSWER -Set of PCF files, one is selected based on some conditional.
Default is selected if no conditionals evaluate to true.
Field-Level Validation Parts - ANSWER -Regular Expression (regex): defines the
pattern the input must follow
Input Mask (optional): displays watermark and guides user input
Validation Expression - ANSWER -Logical Gosu expression associated with an
atomic widget, if expression returns null (no error) field is saved
Request Validation Expression - ANSWER -Like validation expression, but only
updates on request to server (usually submission)
Field-Level Validation: Implementation in UI vs Database - ANSWER -UI: Can
change between PCFs, does not require round trip to DB to validate
DB: Allows for custom error message, avoids retyping the same code
Gosu Variable Declaration - ANSWER -var name : type = expression
Gosu Array Declaration - ANSWER -var arr = new int[3], var arr = new int[]
{1,2,3}
hasMatch(condition) - ANSWER -determines if any element in the array matches
condition
countWhere(condition) - ANSWER -returns the number of elements that match
the given condition
, firstWhere(condition) - ANSWER -retrieves the first element which matches
condition
where(condition) - ANSWER -returns an array which consists of all members that
match the given condition
Entity Enhancement - ANSWER -Add additional method onto Guidewire entity
Gosu Rule - ANSWER -Gosu class with file extension .gr, executes an action if
the condition evaluates to true.
Rule Set - ANSWER -Logical grouping of rules specific to one business function,
has one root entity
Rule Set Category - ANSWER -Collection of rule sets, defines the type of event
that will cause rule sets to be executed
Child Rules - ANSWER -Rules can have child rules, which execute (evaluate
condition) if the parent rule evaluates to true
Ruleset Types - ANSWER -Validation: "execute all", all rules executed to ensure
full validation of data
Assignment: "exit after first action", rules evaluated until one successfully assigns
a task
Preupdate Rules - ANSWER -Perform logic before entity is committed to DB,
execute before validation rules
Logging Components - ANSWER -Logger: logical file name that represents
logging category
Appender: Destination for the logger
Layout: defines the log entry formatting instructions
Logging levels - ANSWER -Trace: for method entry and exit
Debug: detailed info events for debugging
Info: less detailed events, used for logging results of important event
Warn: potential problem that does not affect user experience
Error: definite problem, affects user experience
Typical Events to Log - ANSWER -Success, failure, recovery, identification