11# Python-Interview-Questions
22
3- - ### Introduction
4- - #### Print
5- - #### Return
6- - #### Yield
7-
8- - ### Data Types
9- - #### Number
10- - ##### Int
11- - ##### Float
12- - ##### Complex
13- - ##### Boolean
14- - #### Built in Data Structures
15- - ##### String
16- - ##### List
17- - ##### Tuple
18- - ##### Sets
19- - ##### Frozenset
20- - ##### Dictionary
21- - ##### Ordered Dictionary
22- - ##### File
23- - ### Loops
24- - #### if
25- - #### if else
26- - #### for
27- - #### while
28- - ### Classes
29- - #### Storage class
30- - #### Constructor and Destructor
31- - #### Compostion: objects as members of class
32- - #### Static class member
33-
34- - ### Functions
35- - #### Virtual Function
36- - #### Friend Function
37- - #### Static Function
38- - #### Dynamic Function
39- - #### Nested Function
40- - #### Inline Function
41- - #### Member Function
42- - #### Overloading
43- - #### Overriding
44- - #### Call Stack & activation records
45- - #### Empty parameters lists
46- - #### reference parameters
47- - #### Instantiation
48- - #### Reuse
49- - #### Messages and Method Calls
50- - #### Attributes and Instance Variables
51- - #### Encapsulation and Information Hiding
52- - #### Interfaces
53- - #### static Methods, static Fields and Class Math
54- - #### Methods with Multiple Parameters
55- - #### Notes on Declaring and Using Methods
56- - #### Argument Promotion and Casting
57- - #### Constructor and Destructors
58- - #### Abstract Classes and Methods
59- - #### Stream
60- - #### Generic Methods and Classes
61- - #### Static Local Arrays and Automatic Local Arrays
62- - #### Passing Arrays to Functions
63- - #### Sorting Arrays
64- - #### variable length arrays
65- - #### Static vs Dynamic Memory Allocation
66- - #### Monekey patching
67- - #### Data types as Objects
68- - #### Iterators, Comprehension and Generators
69- - #### Split
70- - #### Join
71- - #### Map
72- - #### Reduce
73- - #### zip
74- - #### unzip
75- - #### filter
76- - #### lambda
77- - #### Factory
78- - #### Overloading
79- - #### Overriding
80- - #### Call Stack & activation records
81- - #### Empty parameters lists
82- - #### Inline
83- - #### reference parameters
84-
3+ - ## Introduction
4+ - ### Print
5+
6+ - ## Data Types
7+ - ### Number
8+ - #### Int
9+ - #### Float
10+ - #### Complex
11+ - #### Boolean
12+ - ### Built in Data Structures
13+ - #### String
14+ - #### List
15+ - ##### Change, Add, remove
16+ - ##### organize
17+ - #### Tuple
18+ - #### Sets
19+ - #### Frozenset
20+ - #### Dictionary
21+ - #### Ordered Dictionary
22+ - ##### A List of Dictionaries
23+ - ##### A List in a Dictionary
24+ - ##### A Dictionary in a Dictionary
25+ - #### File
26+ - ## Loops
27+ - ### if
28+ - ### if else
29+ - ### for
30+ - ### while
31+
32+ - ## Functions
33+ - ### Defining a Function [ Python Crash Course]
34+ - ### Passing Information to a Function
35+ - ### Arguments and Parameters
36+ - ### Return
37+ - ### Yield
38+ - ### Pass
39+ - ### Passing Arguments
40+ - ### Positional Arguments
41+ - ### Keyword Arguments
42+ - ### Default Values
43+ - ### Equivalent Function Calls
44+ - ### Avoiding Argument Errors
45+ - ### Return Values
46+ - ### Returning a Simple Value
47+ - ### Making an Argument Optional
48+ - ### Returning a Dictionary
49+ - ### Using a Function with a while Loop
50+ - ### Passing a List
51+ - ### Modifying a List in a Function
52+ - ### Preventing a Function from Modifying a List
53+ - ### Passing an Arbitrary Number of Arguments
54+ - ### Mixing Positional and Arbitrary Arguments
55+ - ### Using Arbitrary Keyword Arguments
56+ - ### Storing Your Functions in Modules
57+ - ### Importing an Entire Module
58+ - ### Importing Specific Functions
59+ - ### Using as to Give a Function an Alias
60+ - ### Using as to Give a Module an Alias
61+ - ### Importing All Functions in a Module
62+ - ### Styling Functions
63+ - ### Virtual Function
64+ - ### Friend Function
65+ - ### Static Function
66+ - ### Dynamic Function
67+ - ### Nested Function
68+ - ### Inline Function
69+ - ### Member Function
70+ - ### Inner Function
71+ - ### Overloading
72+ - ### Overriding
73+ - ### Call Stack & activation records
74+ - ### Empty parameters lists
75+ - ### Reference parameters
76+ - ### Instantiation
77+ - ### Reuse
78+ - ### Messages and Method Calls
79+ - ### Attributes and Instance Variables
80+ - ### Encapsulation and Information Hiding
81+ - ### Interfaces
82+ - ### Static Methods, static Fields and Class Math
83+ - ### Methods with Multiple Parameters
84+ - ### Notes on Declaring and Using Methods
85+ - ### Argument Promotion and Casting
86+ - ### Constructor and Destructors
87+ - ### Stream Class
88+ - ### Generic Methods and Classes
89+ - ### Static Local Arrays and Automatic Local Arrays
90+ - ### Passing Arrays to Functions
91+ - ### Sorting Arrays
92+ - ### Variable length arrays
93+ - ### Static vs Dynamic Memory Allocation
94+ - ### Monekey patching
95+ - ### Data types as Objects
96+ - ### Iterators, Comprehension and Generators
97+ - ### Split
98+ - ### Join
99+ - ### Map
100+ - ### Reduce
101+ - ### Zip
102+ - ### unpack
103+ - ### filter
104+ - ### lambda
105+ - ### Factory
106+ - ### Overloading
107+ - ### Overriding
108+ - ### Call Stack & activation records
109+ - ### Empty parameters lists
110+ - ### reference parameters
111+
85112The Case of the Missing Declaration Statements
86113Variables, Objects, and References
87114Types Live with Objects, Not Variables
@@ -91,44 +118,60 @@ Shared References and In-Place Changes
91118Shared References and Equality
92119Dynamic Typing Is Everywhere
93120
94- - ### Classes & Objects
95- - #### Storage class
96- - #### constructor and destructor
97- - #### Compostion: objects as members of class
98- - #### static class member
99- - ### Encapsulation
100- - ### Polymorphism
101- - ### Pointers
102- - #### NULL Pointer
103- - #### Dangling Pointer
104- - #### Generic Pointers
105- - #### Wild Pointer
106- - #### Complex Pointers
107- - #### Near Pointer
108- - #### Far Pointer
109- - #### Huge Pointers
110- - #### String pointer
111- - #### Calloc
112- - #### Malloc
113- - #### Call by reference
114- - #### Call by value
121+ - ## Classes & Objects
122+ - ### Storage class
123+ - ### constructor and destructor
124+ - ### Compostion: objects as members of class
125+ - ### Static class member
126+ - ### Dynamic class member
127+ - ### Get Help from Your Parent with super
128+ - ### In self Defense
129+ - ### Get and Set Attribute Values with Properties
130+ - ### Name Mangling for Privacy
131+ - ### Method Types
132+ - ### Duck Typing
133+ - ### Special Methods
134+ - ### Composition
135+ - ### When to Use Classes and Objects versus Modules
136+ - ### Named Tuples
115137
116- - ### Structures
117- - ### Union
118- - ### Inheritance
119- - ### Exceptions
120- - ### File Handling
121- - ### Bitwise Operaters
122- - ### Standard Library
123- - #### os
124- - #### sys
125- - #### re
126- - #### copy
127- - #### collections
128- - ### Concurrent & Multicore Programming
129- - ### Multithreaded Programming
138+ - ## Encapsulation & Data Hiding
139+ - ## Polymorphism
140+ - ### Abstract Classes and Methods
141+ - ## Pointers
142+ - ### NULL Pointer
143+ - ### Dangling Pointer
144+ - ### Generic Pointer
145+ - ### Wild Pointer
146+ - ### Complex Pointer
147+ - ### Near Pointer
148+ - ### Far Pointer
149+ - ### Huge Pointer
150+ - ### String Pointer
151+ - ### Calloc
152+ - ### Malloc
153+ - ### Call by reference
154+ - ### Call by value
155+ - ## Structures
156+ - ## Union
157+ - ## Inheritance
158+ - ### Single
159+ - ### Multilevel
160+ - ### Multiple
161+ - ### Hybrid
162+ - ## Exceptions
163+ - ## Standard Library
164+ - ### os
165+ - ### sys
166+ - ### re
167+ - ### copy
168+ - ### collections
169+ - ## Concurrent & Multicore Programming
170+ - ## Multithreaded Programming
171+ - ## File Handling
172+ - ## Bitwise Operaters
173+
130174
131-
132175- Capgemini
133176#### What is a method?
134177
0 commit comments