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 }

kvps.update(newData)

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 mytools.py

    • Create an __init__.py in the home dir

    • Inside the mytools dir create a __init__.py and myparser.py

    • Create a myparser.py 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/person.py
and the program is run as: 
python /usr/lib/python/person.py 

What gets printed?

class Person:
    def __init__(self):
        pass

    def getAge(self):
        print __name__

p = Person()
p.getAge()

    • Person

    • getAge

    • usr.lib.python.person

    • __main__

    • An exception is thrown

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address
Status
















24.00 Out of 40.00
Pass
60%
03
23 Minutes

Java EE

9/10

Hibernate

3/10

Oracle PL/SQL

7/10

Analytical Thinking

5/10

Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.

Strengths

Java EE, Oracle PL/SQL, Analytical Thinking

Weaknesses

Hibernate

Happy

It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Sign up for a free trial today

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

SIGN UP FOR FREE

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.

SIGN UP FOR FREE

Schedule a Demo