Python Flashcards

1
Q

What are key features of Python

A
  • Interpreted
  • supports imperative, object oriented, functional and procedural paradigms
  • clear concise code
  • dynamically typed
  • slower types assumed during runtime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

5 key differences between Java and Python

A

Python - Interpreted
Java - Complied (converted to bytecode - run on platform with jvm)

Python supports imperative, object oriented, functional and procedural paradigms
Java was developed for class based and object oriented paradigms

Python - clear concise code
Java - time effort to keep code readable

Python - dynamically typed
Java - strongly typed

Python - slower types assumed during runtime
Java - faster types assigned during compilation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly