Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Perl Test Assessment

Topics Covered

  • Unix Shell Command in PERL
  • Nested Arrays
  • Anonymous Subroutine in PERL
  • Arithmetic Expressions in PERL
  • Numeric Literals in PERL

Useful for hiring

  • PERL Developer
  • PHP PERL Developer
  • Senior Software Engineer - Perl Programming

Start hiring job-fit candidates using this assessment

GET A DEMO

"Interview Mocha has provided UNEECOPS with a veritable assessment platform with a comprehensive test library, online test platform, and intelligent reports. This made it easier for us to map different job openings with job-fit candidates and recruit faster."

Nisha Chandila, UNEECOPS,
Talent Acquisition Manager
Question

Which of the following codes reads directory "/var/log" contents into a list?

Answer
    • @files = readdir "/var/log";
       

    • opendir(DIR, "/var/log");
      @files = readdir DIR;
      closedir DIR;
       

    • opendir(DIR, "/var/log");
      @files = listdir DIR;
      closedir DIR;
       

    • None of the mentioned
       

Question

Which of the following functions is used to open a directory handle in Perl?

Answer
    • readdir

    • opendir

    • getidir

    • dir

Question

What is the result of the variable $a in the following expression $a = !(9 % 2) || 3 && 4 % 1;?

Answer
    • 0

    • 1

    • 2

    • 3

Test details:

PERL Skill test enables employers and recruiters to identify potential hires by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge. 

Test Details: 20 minutes 

15 Application Oriented Questions

05 Theory Questions 


The combination on Application and Theory questions helps to evaluate Technical as well as practical Skills of Candidates.  

Test description:

PERL is a family of high level and general purpose programming language. It runs on variety of platforms like Mac OS, Windows and various versions of UNIX. PERL also supports procedural and object oriented programming. This test is specially designed to check application, practical skills of an PERL developer – as per Industry Standards. Our PERL skill test is created and validated by Subject Matter Experts.

Test Topics :

The test contains questions on following topics: 

  • Unix Shell Command in PERL

  • Nested Arrays 

  • Anonymous Subroutine in PERL

  • Arithmetic Expressions in PERL

  • Numeric Literals in PERL


The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False. Using powerful reporting, you will have a detailed analysis of test results to help you make better decisions and predict candidate and employee success. 

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO