Test Python - Fundamentals

Test Python with answers to assess your knowledge and prepare for job interviews. Assess your technical level in 20 minutes.

Validate and promote your skills
Private results unless you share them
Compare your results to the developers average

My Results

Test details

Beginner
July 2024
11 minutes
3.8/5(33)

This test encompasses a large portion of python 3.10.3 fundamentals. It is destined to junior developers who already had an overview of the language and are comfortable with the basic concepts. Most questions can be brought up in a job interview. Before taking the test, make sure you know each notion. Some questions are about general python culture whereas others are more technical.
Here are the several themes this test encapsulates :

  • control flow structures (loops, keywords, ...)
  • data types (list, dict, set, ...)
  • native python functions (iter, map, all, ...)
  • file manipulation (modes, good practises, ...)
  • native and popular modules (Collections, itertools, ...)
  • classes (attributes, methods, inheritance, ...)
  • errors and exceptions (error types and exception handling...)
    Good luck!
This test consists of 20 questions randomly selected from a database of 45 questions in Python.Discover all our interview questions and answers here
1.
developer avatar
Hoang Son NGUYEN
2597 points
2.
developer avatar
Charlene
2557 points
3.
developer avatar
boumediene
2514 points
5.
developer avatar
Lauranne
2495 points

Test author : Théo

Student at the French Grande École l'Ensimag, computer science has been my passion for 6 years. I gained some experience in programming with Python, C and C++, in web development with Php, SQL and JS, and in software development with Java. Now aged 20, I am heading into jobs in software development or cybersecurity.
I will soon be joining the Information Systems Engineering courses at Ensimag. However, my formation allows for great versatility in the numerical landscape. Apart from enjoying sports in my free time, I devote much effort to perfectioning my skills in cybersecurity, participating in CTF and Hackathons events physically or online.

Contributors9
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar

Sample question

Consider the following Python code. What will be the output of this code?

def func(n):
    if n == 0:
        return 1
    return n * func(n-1)

print(func(3))
See 45 test questions.Participate in test improvement

Developers ratings

developer avatar
09/09/2024
developer avatar
04/09/2024
developer avatar
Lauranne
04/09/2024
Beaucoup de questions sur numpy alors que c'est une librairie qui a un usage spécifique dans le traitement de données, ce n'est pas du tout selon moi dans "les bases" de python. Vous pourriez demander à quoi servent les librairies mais pas plus !
developer avatar
28/08/2024
Assez orienté programmation orienté objet plutôt que data science je trouve
developer avatar
Mathieu
12/08/2024