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×

Shell Programming Assessment

Topics Covered

  • Bash Files
  • Commands
  • Bash Scripting
  • SDA and SDB drive

Useful for hiring

  • Unix Shell Script Developer (0-3 years experience)
  • Software Engineer - Shell Scripting

Start hiring job-fit candidates using this assessment

GET A DEMO

"We are impressed by the caliber, depth, and breadth of the assessments provided by Interview Mocha. With Interview Mocha's online proctoring & powerful reports, we are able to hire quality candidates overcoming geographical barriers."

Megan Akhras, J'Excelle,Canada,
Co-founder & director
Question

What is the output of the following program?

b = 
[ -n $b ]
    echo $?
[ -z $b ]
    echo $?

Answer
    • 1
      1

    • 2
      2

    • 0
      0

    • 0
      1

Question

 What is the output of the following program?


Ads by OffersWizardAd Options
[ -n $HOME ]
echo $?
[ -z $HOME ]
echo $?

Answer
    • 0
      1

    • 1
      0

    • 0
      0

    • 1
      1

Question

 What is the output of the following program?

x = 3; y = 5; z = 10;
if [( $x -eq 3 ) -a ( $y -eq 5 -o  $z -eq 10 )]
then
    echo $x
else
    echo $y
fi

Answer
    • 1

    • 3

    • 5

    • error

Test details:

Shell 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. 

The test may contain MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.

Test Duration: 20 minutes

20 Application Questions

The Shell Programming test contains a combination of application and theory questions that help you to evaluate technical as well as practical skills of candidates.

Test description:

A shell script program is designed to be run on Unix Shell which is a command line interpreter. Shell script allows for program commands in chains and is very useful in allowing command substitution functions. It also allows you to use programming functions such as if/then/else statements, for loops, etc.This test is specially designed to check application, practical skills of a Shell Script developer – as per Industry Standards. Our Shell Programming skill test is created and validated by Subject Matter Experts.
 

The Shell Programming test contains questions on following topics: 

  • Bash Files

  • Commands

  • Bash Scripting

  • SDA and SDB drive


 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