Coder Social home page Coder Social logo

python-interview-curriculum's Introduction

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

python-interview-curriculum's People

Contributors

ramlaxman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-interview-curriculum's Issues

Format README.md

  • You need to format README
  • For reference use this cheatsheet
  • When sending pull request, mention "hacktoberfest" in Pull request comment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.