Perl |
Level:-Basic
|
Q(1) |
A variable declared with the Local statement is scoped within the current block. |
A | True |
B | False |
Q(2) |
______ statement is used for general iterations performing operations involving a loop. |
A | foreach |
B | for |
C | My |
D | None of the above |
Level:-Intermediate
|
Q(1) |
______ statement used while importing modules. |
A | Use |
B | Require |
C | Both A and B |
D | None of the above |
Q(2) |
The "require" statements are interpreted and executed during the parsing. |
A | True |
B | False |
Level:-Expert
|
Q(1) |
The gmtime() function works same as localtime() function. |
A | True |
B | False |
Q(2) |
______ POSIX function is use to format date and time. |
A | strftime() |
B | strtime() |
C | sfrtime() |
D | timestr() |