Python Flashcards
1
Q
What kind of language is python?
A
Both interpretive and compiled:
The python compiler first compiles it into bytecode (.pyc)
It is then executed by the python virtual machine
2
Q
Dynamically or Statically Typed
A
Dynamically Typed
Statically Typed languages run faster
Dynamically Typed language are easier to code
3
Q
Difference between / and //
A
// Is integer division
/ is floating point division
4
Q
Object Pass Methodology
A
Immutable objects are passed by value
Mutable Objects are passed by reference
5
Q
A