Search test library by skills or roles
⌘ K

Technical Aptitude & Python Test

The Technical Aptitude & Python Test uses scenario-based MCQs to evaluate candidates on their proficiency in Python programming and technical aptitude. The test assesses candidates' understanding of topics such as Python basics, object-oriented programming, data structures, algorithms, debugging, and problem-solving. The test also includes a coding question to test for hands-on Python programming skills.

Get started for free
Preview questions

Screen candidates with a 40 mins test

Test duration:  40 mins
Difficulty level:  Moderate
Availability:  Ready to use
Questions:
  • 5 Technical Aptitude MCQs
  • 5 Python MCQs
  • 1 Python Coding Question
Covered skills:
Python Basics
Data Types
Conditional Statements
Loops
Functions
Lists
Dictionaries
File Handling
Object-Oriented Programming
Exception Handling
Get started for free
Preview questions

Use Adaface tests trusted by recruitment teams globally

Adaface is used by 1500+ businesses in 80 countries.

Adaface skill assessments measure on-the-job skills of candidates, providing employers with an accurate tool for screening potential hires.

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte NCS Sokrati J&T Express Capegemini

Use the Technical Aptitude & Python Assessment Test to shortlist qualified candidates

The Technical Aptitude & Python Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Quality understanding of Python Basics
  • Proficient in working with Data Types in Python
  • Ability to use Conditional Statements effectively
  • Skilled in implementing Loops in Python
  • Able to write efficient and reusable Functions in Python
  • Proficient in working with Lists in Python
  • Ability to manipulate and utilize Dictionaries in Python
  • Experience in File Handling operations in Python
  • Understanding of Object-Oriented Programming concepts in Python
  • Able to handle Exceptions and handle errors effectively
Get started for free
Preview questions

Screen candidates with the highest quality questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

These are just a small sample from our library of 15,000+ questions. The actual questions on this Technical Aptitude & Python Test will be non-googleable.

🧐 Question

Medium

Decryptor
Strings
Solve
What does the following pseudo code print?
 image

Hard

Fibonacci codes
Time Complexity
Pseudo Code
Solve
Here are three pseudocodes for calculating the Nth Fibonacci number. Which of the following statements about these codes are true?
 image
A: Time complexity/efficiency of CODE 1, CODE 2, CODE 3 is the same.
B: CODE 2 is more space-efficient than CODE 3.
C: CODE 3 is more space-efficient than CODE 2.
D: CODE 2 is more time-efficient than CODE 1.
E: CODE 3 is more time-efficient than CODE 1.

Hard

Palindrome Test cases
Strings
Solve
Go through the following faulty palindrome detection pseudocode and test cases. For which of the test cases would the code return true?
 image
Testcases
A: a
B: aba
C: aaa
D: aac

Medium

Rewards Activities Order
Database Connection
Solve
A new popular app tracks the activities performed by its users and grants them rewards based on each individual's total activities performed in a year. This data is maintained in a database table (activitesinfo), with the following columns: userid, totalactivities, reward. This year, due to fundraising activity, the company has decided to further reward its users by enhancing the reward as per the following formula: If reward < = 4000, increase it by 2%, If 4000 < reward <= 8000, increase it by 4%, If reward > 8000, increase it by 6%.
The tech team has written three different scripts to calculate increment for each slab, each script is to run as a separate transaction. Here are the three scripts:
Script 1:
For users with reward <= 4000, set reward = reward * 1.02

Script 2:
For users with reward > 4000 and reward <= 8000, set reward = reward * 1.04

Script 3:
For users with reward > 8000, set reward = reward * 1.06
Each script is to be executed separately. Which of the following options will update the rewards as expected:
A: Execute Script 1 followed by Script 2 followed by Script 3
B: Execute Script 2 followed by Script 3; Script 1 running concurrently throughout
C: Execute Script 3 followed by Script 2; Script 1 running concurrently throughout
D: Execute Script 3 followed by Script 2 followed by Script 1
E: Execute Script 2 followed by Script 3 followed by Script 1

Medium

ZeroDivisionError and IndexError
Exceptions
Solve
What will the following Python code output?
 image

Medium

Session
File Handling
Dictionary
Solve
 image
The function high_sess should compute the highest number of events per session of each user in the database by reading a comma-separated value input file of session data. The result should be returned from the function as a dictionary. The first column of each line in the input file is expected to contain the user’s name represented as a string. The second column is expected to contain an integer representing the events in a session. Here is an example input file:
Tony,10
Stark,12
Black,25
Your program should ignore a non-conforming line like this one.
Stark,3
Widow,6
Widow,14
The resulting return value for this file should be the following dictionary: { 'Stark':12, 'Black':25, 'Tony':10, 'Widow':14 }
What should replace the CODE TO FILL line to complete the function?
 image

Medium

Max Code
Arrays
Solve
Below are code lines to create a Python function. Ignoring indentation, what lines should be used and in what order for the following function to be complete:
 image

Medium

Recursive Function
Recursion
Dictionary
Lists
Solve
Consider the following Python code:
 image
In the above code, recursive_search is a function that takes a dictionary (data) and a target key (target) as arguments. It searches for the target key within the dictionary, which could potentially have nested dictionaries and lists as values, and returns the value associated with the target key. If the target key is not found, it returns None.

nested_dict is a dictionary that contains multiple levels of nested dictionaries and lists. The recursive_search function is then called with nested_dict as the data and 'target_key' as the target.

What will the output be after executing the above code?

Medium

Stacking problem
Stack
Linkedlist
Solve
What does the below function ‘fun’ does?
 image
A: Sum of digits of the number passed to fun.
B: Number of digits of the number passed to fun.
C: 0 if the number passed to fun is divisible by 10. 1 otherwise.
D: Sum of all digits number passed to fun except for the last digit.

Easy

Registration Queue
Logic
Queues
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Visitors Count
Strings
Logic
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 Question🔧 Skill

Medium

Decryptor
Strings

2 mins

Technical Aptitude
Solve

Hard

Fibonacci codes
Time Complexity
Pseudo Code

2 mins

Technical Aptitude
Solve

Hard

Palindrome Test cases
Strings

2 mins

Technical Aptitude
Solve

Medium

Rewards Activities Order
Database Connection

3 mins

Technical Aptitude
Solve

Medium

ZeroDivisionError and IndexError
Exceptions

2 mins

Python
Solve

Medium

Session
File Handling
Dictionary

2 mins

Python
Solve

Medium

Max Code
Arrays

2 mins

Python
Solve

Medium

Recursive Function
Recursion
Dictionary
Lists

3 mins

Python
Solve

Medium

Stacking problem
Stack
Linkedlist

4 mins

Python
Solve

Easy

Registration Queue
Logic
Queues

30 mins

Coding
Solve

Medium

Visitors Count
Strings
Logic

30 mins

Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Decryptor
Strings
Technical Aptitude
Medium2 mins
Solve
Fibonacci codes
Time Complexity
Pseudo Code
Technical Aptitude
Hard2 mins
Solve
Palindrome Test cases
Strings
Technical Aptitude
Hard2 mins
Solve
Rewards Activities Order
Database Connection
Technical Aptitude
Medium3 mins
Solve
ZeroDivisionError and IndexError
Exceptions
Python
Medium2 mins
Solve
Session
File Handling
Dictionary
Python
Medium2 mins
Solve
Max Code
Arrays
Python
Medium2 mins
Solve
Recursive Function
Recursion
Dictionary
Lists
Python
Medium3 mins
Solve
Stacking problem
Stack
Linkedlist
Python
Medium4 mins
Solve
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve

Test candidates on core Technical Aptitude & Python Hiring Test topics

Python Basics: Python Basics refers to the fundamental concepts and syntax used in the Python programming language. This includes knowledge of variables, data types, operators, and basic input/output operations. Assessing this skill provides insight into a candidate's understanding of the foundational elements of Python, which is crucial for creating efficient and correct programs.

Data Types: Data Types in Python refer to the different categories of variables that store specific types of values. This includes numerical data types, such as integers and floats, as well as string, boolean, and more complex data types. Evaluating a candidate's knowledge of data types ensures they can work with different kinds of data effectively, enabling them to write versatile and accurate code.

Conditional Statements: Conditional Statements in Python allow the program to make decisions based on certain conditions. This includes the use of if, elif, and else statements to control the flow of the program. Measuring this skill helps gauge a candidate's ability to write code that can adapt and respond to different scenarios, ensuring robust and versatile program execution.

Loops: Loops in Python enable repetitive execution of code blocks. This includes the for and while loops, which allow the program to iterate over a sequence of elements or continue execution until a specific condition is met. Testing this skill helps determine a candidate's proficiency in implementing efficient and accurate looping logic, which is essential for tasks such as processing large amounts of data or performing iterative calculations.

Functions: Functions in Python are reusable blocks of code that perform specific tasks. They allow for modular programming and facilitate code organization and reusability. Evaluating a candidate's understanding of functions helps assess their ability to write clean and maintainable code, as well as their knowledge of concepts such as function parameters, return values, and scope.

Lists: Lists in Python are ordered collections of elements. They can store different data types and support operations such as element manipulation, indexing, and slicing. Assessing this skill ensures a candidate can work with lists effectively, enabling them to manage and manipulate data in a structured and organized manner.

Dictionaries: Dictionaries in Python are key-value pairs that allow efficient retrieval and storage of data. They provide a way to associate data with unique keys and are useful for tasks such as mapping and indexing. Measuring this skill helps evaluate a candidate's ability to work with dictionaries and utilize their advantages in solving real-world programming problems.

File Handling: File Handling in Python involves reading from and writing to files. It includes operations such as opening, reading, writing, and closing files, as well as handling exceptions that may occur during file operations. Testing this skill gauges a candidate's ability to work with file input/output operations, ensuring they can effectively interact with external data sources.

Object-Oriented Programming: Object-Oriented Programming (OOP) in Python allows the creation and interaction of objects, which encapsulate data and behavior. This includes concepts such as classes, objects, inheritance, and polymorphism. Assessing this skill provides insights into a candidate's understanding of OOP principles and their ability to design and implement modular and maintainable code.

Exception Handling: Exception Handling in Python involves managing and responding to runtime errors and exceptional situations gracefully. This includes using try, except, and finally blocks to handle exceptions, as well as raising and customizing exception classes. Evaluating a candidate's knowledge of exception handling ensures they can write resilient code that gracefully handles errors and prevents program crashes.

Get started for free
Preview questions

Make informed decisions with actionable reports and benchmarks

View sample scorecard

Screen candidates in 3 easy steps

Pick a test from over 500+ tests

The Adaface test library features 500+ tests to enable you to test candidates on all popular skills- everything from programming languages, software frameworks, devops, logical reasoning, abstract reasoning, critical thinking, fluid intelligence, content marketing, talent acquisition, customer service, accounting, product management, sales and more.

Invite your candidates with 2-clicks

Make informed hiring decisions

Get started for free
Preview questions

Try the most advanced candidate assessment platform

ChatGPT Protection

Non-googleable Questions

Web Proctoring

IP Proctoring

Webcam Proctoring

MCQ Questions

Coding Questions

Typing Questions

Personality Questions

Custom Questions

Ready-to-use Tests

Custom Tests

Custom Branding

Bulk Invites

Public Links

ATS Integrations

Multiple Question Sets

Custom API integrations

Role-based Access

Priority Support

GDPR Compliance


Pick a plan based on your hiring needs

The most advanced candidate screening platform.
14-day free trial. No credit card required.

From
$15
per month (paid annually)
love bonito

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!

Brandon Lee, Head of People, Love, Bonito

Brandon
love bonito

It's very easy to share assessments with candidates and for candidates to use. We get good feedback from candidates about completing the tests. Adaface are very responsive and friendly to deal with.

Kirsty Wood, Human Resources, WillyWeather

Brandon
love bonito

We were able to close 106 positions in a record time of 45 days! Adaface enables us to conduct aptitude and psychometric assessments seamlessly. My hiring managers have never been happier with the quality of candidates shortlisted.

Amit Kataria, CHRO, Hanu

Brandon
love bonito

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.

Swayam Narain, CTO, Affable

Brandon

Have questions about the Technical Aptitude & Python Hiring Test?

What roles can I use the Technical Aptitude & Python Assessment Test for?

Here are few roles for which we recommend this test:

  • Python Software Engineer
  • Python Developer
  • Junior Python Developer
  • Core Python Programmer
Can I combine the Technical Aptitude & Python Test with Java questions?

Yes, recruiters can request a custom test that includes both Python and Java questions. For details, you can refer to our Java Online Test.

How to use the Technical Aptitude & Python Test in my hiring process?

Use the assessment software as a pre-screening tool. Include a link in your job post or invite candidates by email. This replaces traditional resume screening.

Do you have any anti-cheating or proctoring features in place?

We have the following anti-cheating features in place:

  • Non-googleable questions
  • IP proctoring
  • Screen proctoring
  • Web proctoring
  • Webcam proctoring
  • Plagiarism detection
  • Secure browser
  • Copy paste protection

Read more about the proctoring features.

What experience level can I use this test for?

Each Adaface assessment is customized to your job description/ ideal candidate persona (our subject matter experts will pick the right questions for your assessment from our library of 10000+ questions). This assessment can be customized for any experience level.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

Can I get a free trial?

Yes, you can sign up for free and preview this test.

What is Technical Aptitude & Python Test?

The Technical Aptitude & Python Test evaluates a candidate's proficiency in Python programming and technical aptitude. It's primarily used by recruiters to screen candidates for software development roles.

What skills are assessed for senior roles in this test?

Senior roles are assessed on skills such as using Regular Expressions in Python, applying Python libraries, data structures, data manipulation, algorithms, multithreading, network programming, and web scraping in Python.

Can I test Python and SQL together in a test?

Yes, you can. For a combined assessment, please refer to our Python & SQL Test.

Can I combine multiple skills into one custom assessment?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

Does every candidate get the same questions?

Yes, it makes it much easier for you to compare candidates. Options for MCQ questions and the order of questions are randomized. We have anti-cheating/ proctoring features in place. In our enterprise plan, we also have the option to create multiple versions of the same assessment with questions of similar difficulty levels.

What is the cost of using this test?

You can check out our pricing plans.

I just moved to a paid plan. How can I request a custom assessment?

Here is a quick guide on how to request a custom assessment on Adaface.

customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to use the Adaface Technical Aptitude & Python Test?
Ready to use the Adaface Technical Aptitude & Python Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide
ada
Ada
● Online
Previous
Score: NA
Next
✖️