ramlaxman / Python-Interview-Curriculum

Answers for timely preparation of Python Interviews.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python-Interview-Curriculum

Note: I've renamed this repo to Python Interview Curriculum from Python Interview Questions.

  • Generally, Python Interviews are not as simple as other OOP interviews like C++, Java.

  • Reason is polymorphic nature of Python Solutions. It means there are many answers to single question.

  • Other problem I came across scope of Python Language. It varies from Person to Person.

  • I have created this repository to help college students and software professionals as well with their interviews.

  • Introduction

  • Data Types

    • Primitive Data Types

      • Int

      • Float

      • Complex

      • Boolean

    • Built in Data Structures / Sequences

      • String

      • List

        • Change, Add, remove
        • organize
      • Tuple

      • Sets

      • Frozenset

      • Dictionary

      • Ordered Dictionary

        • A List of Dictionaries
        • A List in a Dictionary
        • A Dictionary in a Dictionary
      • File

  • Condition Check

    • if

    • if elif

    • if elif else

  • Loops

    • for

    • while

  • Functions

    • Defining a Function [Python Crash Course]

    • Passing Information to a Function

    • Arguments and Parameters

    • Return

    • Yield

    • Pass

    • Passing Arguments

    • Positional Arguments

    • Keyword Arguments

    • Default Values

    • Equivalent Function Calls

    • Avoiding Argument Errors

    • Return Values

    • Returning a Simple Value

    • Making an Argument Optional

    • Returning a Dictionary

    • Using a Function with a while Loop

    • Passing a List

    • Modifying a List in a Function

    • Preventing a Function from Modifying a List

    • Passing an Arbitrary Number of Arguments

    • Mixing Positional and Arbitrary Arguments

    • Using Arbitrary Keyword Arguments

    • Storing Your Functions in Modules

    • Importing an Entire Module

    • Importing Specific Functions

    • Using as to Give a Function an Alias

    • Using as to Give a Module an Alias

    • Importing All Functions in a Module

    • Virtual Function

    • Friend Function

    • Static Function

    • Dynamic Function

    • Nested Function

    • Inline Function

    • Member Function

    • Inner Function

    • Overloading

    • Overriding

    • Call Stack & activation records

    • Empty parameters lists

    • Reference parameters

    • Instantiation

    • Reuse

    • Messages and Method Calls

    • Attributes and Instance Variables

    • Encapsulation and Information Hiding

    • Interfaces

    • Static Methods, static Fields and Class Math

    • Methods with Multiple Parameters

    • Notes on Declaring and Using Methods

    • Argument Promotion and Casting

    • Constructor and Destructors

    • Stream Class

    • Generic Methods and Classes

    • Static Local Arrays and Automatic Local Arrays

    • Passing Arrays to Functions

    • Sorting Arrays

    • Variable length arrays

    • Static vs Dynamic Memory Allocation

    • Monekey patching

    • Data types as Objects

    • Iterators, Comprehension and Generators

    • Split

    • Join

    • Map

    • Reduce

    • Zip

    • unpack

    • filter

    • lambda

    • Factory

    • Overloading

    • Overriding

    • Call Stack & activation records

    • Empty parameters lists

    • reference parameter

  • Classes & Objects

    • Storage class

    • constructor and destructor

    • Compostion: objects as members of class

    • The Case of the Missing Declaration Statements

    • Variables, Objects, and References

    • Types Live with Objects, Not Variables

    • Objects Are Garbage-Collected

    • Shared References

    • Shared References and In-Place Changes

    • Shared References and Equality

    • Dynamic Typing Is Everywhere

    • Static class member

    • Dynamic class member

    • Get Help from Your Parent with super

    • In self Defense

    • Get and Set Attribute Values with Properties

    • Name Mangling for Privacy

    • Method Types

    • Duck Typing

    • Special Methods

    • Composition

    • When to Use Classes and Objects versus Modules

    • Named Tuples

  • Encapsulation & Data Hiding

  • Polymorphism

    • Abstract Classes and Methods

  • Pointers

    • NULL Pointer

    • Dangling Pointer

    • Generic Pointer

    • Wild Pointer

    • Complex Pointer

    • Near Pointer

    • Far Pointer

    • Huge Pointer

    • String Pointer

    • Calloc

    • Malloc

    • Call by reference

    • Call by value

  • Structures

  • Union

  • Inheritance

    • Single

    • Multilevel

    • Multiple

    • Hybrid

  • Exceptions

  • Standard Library

    • os

    • sys

    • re

    • copy

    • collections

  • Concurrent & Multicore Programming

  • Multithreaded Programming

  • File Handling

  • Bitwise Operaters

  • Framework Bases:

    • Django

    • Flask

  • Books

About

Answers for timely preparation of Python Interviews.