Online Python Technical Quiz

Topics covered

Python Basics, Arithmetic operations, Data Types, Data Structures, List Methods, String Methods, Standard Library & Object-Oriented Programming

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

Python Online Quiz helps Recruiters and Hiring managers in assessing the Python skills of candidates to hire as Python coder. Python is high-level, general purpose and dynamic programming language. It is processed at the run time by the interpreter and it supports multiple programming paradigms. Python has automatic memory management system with the large comprehensive standard library. This Python online quiz test is specially designed to check application, practical skills of Python Coder – as per Industry Standards.
The Python quiz contains questions on following Topics:

  • Python Basics

  • Arithmetic operations

  • Data Types

  • Data Structures

  • List Methods

  • String Methods

  • Standard Library & Object-Oriented Programming 

Online Python quiz test is designed & validated by our experienced subject matter experts (SME)s. Employers can ask the candidate to appear for this Python quiz online. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

This pre-employment test is useful for hiring:
  • Python Developer (0-3 years experience)

  • Python Engineer
  • Python Coder

Test details:

This Python technical test enables employers to identify & hire Python coder by evaluating working skills and job readiness. For this reason, the emphasis is on evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Test Duration: 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

Python Test

Question #1 of 4

What gets printed (with python version 3.X) assuming the user enters the following at the prompt?
#: foo

a = input("#: ")

print a

    • f

    • foo

    • Not a number

    • An exception is thrown

Question #2 of 4

What gets printed?

kvps = { '1' : 1, '2' : 2 , '3' : 3, '4' : 4, '5' : 5}
newData = { '1' : 10, '3' : 30 }


x = sum(kvps.values())

print x

    • 15

    • 51

    • 150

    • An exception is thrown

Question #3 of 4

How do you create a package so that the following reference will work?

p = mytools.myparser.MyParser()

    • Declare the myparser package in

    • Create an in the home dir

    • Inside the mytools dir create a and

    • Create a directory inside the mytools directory

    • This can not be done

Question #4 of 4

Assuming the filename for the code below is /usr/lib/python/
and the program is run as: 
python /usr/lib/python/ 

What gets printed?

class Person:
    def __init__(self):

    def getAge(self):
        print __name__

p = Person()

    • Person

    • getAge

    • usr.lib.python.person

    • __main__

    • An exception is thrown

Candidate Name: David Messi Test Date: 28-May-2014
Test Name: Python Test Test Start Time: 13.30

Score: 18 Out Of 20

Percentage: 90

Result: PASS

passing score image
Section Name FAIL PASS
Score: 18/20
Strength Python
Weakness -
* Note: If score <= 40 then its a Weakness. If score >= 80 then its a Strength.
10 20 30 40 50 60 70 80 90 100%
Tolerable Limit Not acceptable
Window Violation: 0 | Time Violation: 0 secs
Gender : Male Phone Number : +1-541-754-3010
Total Experience (Years) : 3 Total Experience (Months) : 5
Skill Set : Python Current Employer : Interview Mocha
Current Job Title : Solution Architect Current Salary : 600.00
Expected Salary : 1000000.00 Current Location : Chicago

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.


Schedule a Demo

How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • hexaware
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.


Schedule a Demo