HomePython Tests
Python 3 Coding Test (Basic)
Test duration:
30
min
No. of questions:
2
Level of experience:
Entry/Mid/Senior

Python 3 Coding Test (Basic)

iMocha's Python 3 pre-employment test enables recruiters and hiring managers to evaluate candidates' basic python coding skills objectively and quickly. The test helps hire positions such as Junior level Python 3 Programmers and Entry level Python 3 Developers. Our Python 3 pre-employment basic-level programming test can reduce hiring costs by 40%.

A stylized blue and yellow Python logo
Trusted by 500+ Enterprises

Python 3 Pre-employment Test – Basic Level

Python 3 pre-employment test (Basic) is designed to assess a candidate's Python 3 programming skills.

The best way to evaluate a programmer for a job is to give him a coding test. The candidate has to write code that uses the concepts of Python 3 and Error handling to solve real-world problems. A programmer who writes comments for his code is considered a good programmer.

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

Test Summary

Using powerful reporting, you will have a detailed test results analysis to help you make better decisions and predict candidate and employee success.

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

The test may contain AI-LogicBox (pseudo coding platform), Coding Simulators, etc.

Useful for hiring
  • Junior level Python 3 Programmer
  • Entry level Python 3 Developer
Test Duration
30
min
No. of Questions
2
Level of Expertise
Entry/Mid/Senior
Topics Covered
Shuffle

Python

The Python 3 pre-employment test assesses candidates' python coding skills.

Shuffle

Shuffle

Shuffle

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
String Manipulation
Difficulty
Easy

Question:

Write a program to convert the given code to a newer version.

In the current code, the character * is used for pointers. In new code replace * with a ->. 

This replacement should not be done inside the comments.

Note

  • A comment is a string that starts with // and terminates at the end of the line.


Input Format
Maximum 100 lines of code in string format, Each line contains maximum of 50 characters.

Output Format
Print code in string with the new version.

Sample Input

int t; //variable t
t*a=0;  //t*a does something
return 0;


Sample Output

int t; //variable t
t->a=0;  //t*a does something
return 0;


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