Model 204 and Perl Programming Quiz
Quiz covering basic Perl operations and Model 204 database language functions, statements, and subsystems
Questions
$LEN(RICHARD SMITH) equals
- 13
- 12
- 11
- 14
$MOD(5,3) equals
- 3
- 2
- 1
- 4
$PAD('54345','0','6) equals
- '054345''
- '0054345''
- 54345'0'
- d'54345'00'
Which are valid user language working Areas:
- FSCB
- TTBL
- GTBL
- All the Above
The Maximum number of screens and menus combined per request is :
- 234
- 256
- 264
- 512
What is file group ?
- A file group is a collection of physically distinct files that appear to the end user as multiple logical entity.
- A file group is a collection of logically distinct files that appear to the end user as single logical entity.
- A file group is a collection of physically distinct files that appear to the end user as single logical entity.
- A file group is a collection of logically distinct files that appear to the end user as multiple logical entity.
What is the logical name of the file PNF.M204PRD2.NFPRO FILE ?
- PNFPROD
- PROD
- NFPROD
- PRD2PROD
What is APSP ?
- APSP is a subsystem that gives the management details of any other subsystem in Model 204 environment.
- APSP is a subsystem that gives the configuration details of any other subsystem in Model 204 environment.
- APSP is a system that gives the configuration details of any other subsystem in Model 204 environment.
- APSP is a system that gives the management details of any other subsystem in Model 204 environment.
What happens if a series of UPDATE statements are issued?
- Each one requires a separate network call.
- Each one is executed in the order in which they are mentioned in the code.
- All the update statements together require a separate network call
- None of the above.
Which statement is used to remove the found set of records from a list?
- REMOVE RECORDS IN label FROM [LIST] listname
- REMOVE RECORDS FROM [LIST] listname
- DELETE RECORDS IN label FROM [LIST] listname
- DELETE RECORDS FROM [LIST] listname
For the FLOAT %variables, the assigned value is rounded to how many digits ?
- 10
- 18
- 15
- 20
Which condition is used to restrict the results of a group context FIND statement to a particular node or nodes?
- Order by
- In clause
- Location
- pai into
What could be the date displayed after executing this statement PRINT $DATECHG('MON. DD, YYYY' , ' JAN. 10, 2009', 5)
- 15/01/2009
- JAN.15,2009
- JAN.20,2009
- JAN.25,2009
Which function is used to display the name of the day in a week
- $DAY()
- $DAYNM()
- $DAYS()
- $DAYNAME()
What is APSI ?
- APSI is a subsystem that can be used to check the previous state of any other subsystem in Model 204 environment.
- APSI is a subsystem that can be used to check the next state of any other subsystem in Model 204 environment.
- APSI is a subsystem that can be used to check the current state of any other subsystem in Model 204 environment.
- APSI is a system that can be used to check the current state of any other subsystem in Model 204 environment.
The ADD statement is used to add the new field value to the record only inside the FOR EACH RECORD loop statement.
- True
- False
Which operator can be used to access the first item in an array?
- shift
- start
- right$
- left$
Assume that $var has the value hello . What is the value of the following sting?qq(It’s time to say $var);
- It’s time to say $var
- It’s time to say hello
- None
- Both
Which modifier can be used when matching in Perl to match any character?
- S
- V
- I
- C
Which of the following operators work most like substitution?
- /f
- /g
- s///
- m//