1z0-241 | What Downloadable 1z0-241 braindumps Is?


Q41. Which are the two PeopleCode row action events? (Choose two.)

A. RowInsert

B. RowDelete

C. RowInit

D. RowSelect

E. PreBuild

F. PostBuild

Answer: AB

Q42. Select the option that correctly demonstrates a parent/child relationship where the first record definition is the parent and the second record definition is the child.

Answer: A

Q43. Select the two true statements regarding parent/child relationships and page design. (Choose two.)

A. Parent/child relationships on a page can write to the same table.

B. Parent/child relationships on a page are determined by occurs level.

C. Parent/child relationships on a page are determined by occurs count.

D. Parent/child relationships on a page always indicate a one-to-many relationship.

E. Parent/child relationships on a page are automatically configured by the physical layout of the scroll area or grid.

Answer: BD

Q44. Examine this PeopleCode snippet:

Local Rowset &RS_Level0, &RS_Level1; Local Row &Row_Level0, &Row_Level1; Local

Record &Rec_EMPLOYEE;

Local Field &Fld_ROLE;

&RS_LEVEL0 = GetLevel0();

&ROW_LEVEL0 = &RS_Level0.GetRow(1);

&RS_LEVEL1 = &ROW_LEVEL0.GetRowSet(SCROLL.DEPT);

&ROW_LEVEL1 = &RS_LEVEL1(1);

&REC_EMPLOYEE = &ROW_LEVEL1.EMPLOYEE;

&FLD_EMPID = &REC_TASKRSRC.EMPID;

&ID = &FLD_EMPID.Value;

Can the code given above be replaced with the following statement?

&ID = GetField().Value

A. No. The record must be specified.

B. No. The row and record must be specified.

C. Yes, if the code is placed on the current row.

D. Yes, if the code is placed on the EMPID field.

E. Yes, if the code is placed on the EMPLOYEE record.

Answer: D

Q45. You need to comment out a block of PeopleCode that contains nested comments. Which style of comments will you use?

A. REM ;

B. COMMENT ;

C. /* */

D. <* *>

E. !* ;

F. [ ]

Answer: D

Q46. View this PeopleCode snippet: If &MyVar = 0 then &MyVar = 1; End-if;

The &MyVar variable is not declared. What will be the result?

A. The program will fail at run time.

B. The program will not pass the syntax checker.

C. The program will run but will produce undefined results.

D. &MyVar will be automatically declared with a type of Any.

E. &MyVar will be automatically declared as Local Number.

F. &MyVar will be automatically declared with a scope of Global.

Answer: D

Q47. Here is a partial list of events in the Component Processor flow.

1. SQL select

2. Search page

3. Record defaults

4. Add row to buffer

5. Standard system field edits

6. Wait for user interaction What is the correct order?

A. 1, 2, 3, 4, 5, 6

B. 2, 1, 4, 3, 6, 5

C. 6, 2, 1, 4, 3, 5

D. 2, 1, 3, 4, 5, 6

E. 2, 4, 5, 1, 3, 6

Answer: B

Q48. Select the four PeopleCode data buffer classes. (Choose four.)

A. Field

B. Scroll

C. Event

D. Row

E. Page

F. Rowset

G. Record

H. Component

Answer: ADFG

Q49. View the Exhibit.

Select the three types of validation that are being utilized on the page. (Choose three.)

A. Security views

B. Tableset sharing

C. Prompt table validation

D. Translate table validation

E. Effective dating validation

Answer: CDE

Q50. Examine this PeopleCode snippet: Local Rowset &RSCUST, &RSSTUD;

&RSCUST = GetRowset(RECORD.CUST_TBL);

&RSSTUD = CreateRowset(RECORD.STUDENT_TBL);

&RSCUST.CopyTo(&RSSTUD, RECORD.CUST_TBL, RECORD.STUDENT_TBL); Select the correct statement.

A. The CopyTo() function copies like-named fields from &RSCUST to &RSSTUD.

B. The CopyTo() function copies like-named fields from &RSSTUD to &RSCUST.

C. The CopyTo() function is meaningless in this context because &RSCUST is a stand-alone rowset object with no data.

D. The CopyTo() function is meaningless in this context because &RSSTUD is a stand-alone rowset object with no data.

E. The PeopleCode statement:

&RSCUST.CopyTo(&RSSTUD, RECORD.CUST_TBL, RECORD.STUDENT_TBL);

could be replaced with:

&RSSTUD = &RSCUST;

F. The PeopleCode statement:

&RSCUST.CopyTo(&RSSTUD, RECORD.CUST_TBL, RECORD.STUDENT_TBL);

should be replaced with:

&RSCUST.Fill(&RSSTUD, RECORD.CUST_TBL, RECORD.STUDENT_TBL);

Answer: A