Test duration:
30
min
No. of questions:
2
Level of experience:
Entry

Perl Coding Test

A black and white logo of a camel head in a circle with the words Programming Republic of Perl around it

Perl Coding Test

Perl was developed as a general-purpose Unix scripting language. Perl is a family of two high-level, general-purpose, and dynamic programming languages. This technology is used for rapid prototyping as well as large scale development projects. Perl coding test helps tech recruiters and hiring managers to quantify developer's Perl programming skills. Perl programming test is designed by experienced subject matter experts (SMEs) to evaluate and hire Perl developer as per industry standards.

Perl coding test helps to screen the candidates who possess skills as follows:  

1. Knowledge of custom system programming, interaction with nodes, regular expressions, security, and cryptography

2. Excellent knowledge of custom and advanced algorithms that can automate a set of processes

3. Know-how of systems and applications that use Perl related programming capabilities like CGI scripting, regular expression, text, and string parsing abilities

How our coding simulator will help you to evaluate the programming skills of a Perl developer:

1. Automatically evaluate and provide a score for the candidate’s written codes by compiling multiple test cases that generate discrete output

2. You will also get a detailed report for each test case execution along with execution-time and execution memory usage for the candidate written program  

3. The Code-Replay feature provides real-life like simulation of keystrokes allowing the code reviewer to understand the typing and thinking pattern of the coder.

This test may contain coding questions and innovative AI-LogicBox (an AI-based pseudo coding platform) questions to assess  candidate's coding skills in a fun and interactive way.

Wondering what other skills we have in our World’s Largest Skills Assessment library?
Visit here
How it works

Test Summary

Useful for hiring
  • Perl Developer
  • Perl Architect
  • Perl Lead
  • Software Automation Expert - Perl
Test Duration
30
min
No. of Questions
2
Level of Expertise
Entry
Topics Covered
Shuffle

Scripting

Automation

Shuffle

CGI Scripting

Shuffle

String parsing

Shuffle

Regular Expressions

Shuffle

Sample Question
Choose from our 100,000+ questions library or add your own questions to make powerful custom tests.
Question type
Coding
Topics covered
Security
Difficulty
Easy

Question:

Cryptography: SHA - 1

You are given string s of length n.
Write a Perl script to compute SHA-1 message digests for user input and display it.

 
Note
SHA-1 or Secure Hash Algorithm 1 is a cryptographic hash function which takes an input and produces a 160-bit (20-byte) hash value. This hash value is known as a message digest. This message digest is usually then rendered as a hexadecimal number which is 40 digits long.

Input Format
The first line contains an integer, n, denoting the length of the string.
The next line contains a string, m, of length.
 
Output FormatOutput an integer that denotes the Hash code generated by SHA-1
Sample Input

5
Gipsy

 
Sample Output

b1d761c7b19dc4eb9353fc93a8969befab39bd45


Explanation
The output (hash value (hexadecimal number)) is produced using the Secure Hash Algorithm 1.


A helicopter view of the employee's progress
Test Report
You can customize this test by

Setting the difficulty level of the test

Choose easy, medium, or tricky questions from our skill libraries to assess candidates of different experience levels.

Combining multiple skills into one test

Add multiple skills in a single test to create an effective assessment and assess multiple skills together.

Adding your own
questions to the test

Add, edit, or bulk upload your coding, MCQ, and whiteboard questions.

Requesting a tailor-made test

Receive a tailored assessment created by our subject matter experts to ensure adequate screening.
FAQ