Home > Perl > Quizzes > Perl Programming Fundamentals Test
Perl Programming Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 60% Most missed: “All arguments to a subroutine are passed as:”
Perl Programming Fundamentals Test
Time left 00:00
25 Questions

1. What does cdup () do in FTP?
2. Why would I include strict in PERL code?
3. What does shift(ARRAY) do?
4. my $x=join(':' - 'a' - 'b') What will be the output of $x?
5. What can be used in PERL for communicating with an FTP server?
6. How do I check PERL Module's version?
7. Which of the following gets you an array of all numbers matched in a string?
8. What is a hash identified as?
9. What will be the output of variable $firstVar after completion of this code line: $firstVar = substr('0123BBB789' - 4 - 3);
10. What does the pop function do?
11. how would you execute a shell command from within a perl script
12. what is the default separator in split operator
13. What's is DBI and DBD?
14. What is the shebang?
15. How do I call subroutines in Perl?
16. To remove any line-ending characters of each string in a @list - you use the function:
17. What does $! show?
18. How would you remove an element from hash?
19. ?!pattern means regular expression is:
20. Unless it is the final statement in a block - every simple statement must end in:
21. What is the MOST correct answer?
22. To dereference $arrayref and then find the second element of that array - you use:
23. $_ is used by default:
24. What should be the output of @nums = (1..10); splice(@nums - 5 - 5 - 21..25)?
25. What must be done to pass more than one array or hash into or out of a function and have them maintain their integrity?

⚡ Recently practiced quizzes in this topic
Live quiz activity