3

Let's assume I have a technical interview in Python. What are the question that you are going to ask me?

P.S. Asking this question for everyone. I have seen a lot of websites but still don't know what to read first so I am asking you.

Comments
  • 1
    Random questions from uncle Google and some from my dear brain:

    - Write a function to reverse a string?
    - Write a loop to do print ...?
    - If statements to do ... ?
    - Fix the error of this code?
    - Use arrays to do ...?
    - What’s the output of this code?
    - What is the difference between list and tuples?
    - What are the key features of Python?
    - What does this mean: *args, **kwargs? And why would we use it?
    - What is the difference between range() and xrange() functions in Python?
  • 0
    Why do you want to join ABC company? :-D
  • 0
    @FahadAlt what are the key features of Python
  • 1
    @dev1410 based on the article where I found this article:
    - Python is an interpreted language. That means that, unlike languages like C and its variants, Python does not need to be compiled before it is run. Other interpreted languages include PHP and Ruby.

    - Python is dynamically typed, this means that you don’t need to state the types of variables when you declare them or anything like that. You can do things like x=111 and then x="I'm a string" without error

    - Python is well suited to object orientated programming in that it allows the definition of classes along with composition and inheritance. Python does not have access specifiers (like C++’s public, private), the justification for this point is given as “we are all adults here”

    There are more features can’t list them here

    For more Q&A: https://edureka.co/blog/...
  • 1
    how to list all methods and fields of class or it’s instance?
    how to iterate over dictionary keys and values ?
    how to delete when iterating over list?
    how to get common items from two lists ?
    how to get last letter of string?
    what would happen if you initialize list as one of method arguments ?
    what is generator for?
    what is lambda for?
  • 1
    I think Python is most useful for automation and machine learning/data science projects. Some of the essential questions asked are on Python string, reverse indexing, list & list methods, tuple, for...each loop, exception, and file handling.

    Here is the list of 100 Python questions: https://techbeamers.com/python-inte...
  • 0
    @dasagrivamanu You can find few more updated interview questions from here: https://hackr.io/blog/...
  • 0
  • 0
    Check this recourse - https://interviewbit.com/python-int...

    Also, solve some python interview problems listed on the same page.
Add Comment