WorksheetsPython Brain Teaser
Total questions: 6
Worksheet time: 3mins
How do you print a statement in python?
What is the difference between lists and tuples in python?
Lists are mutable and tuples immutable
Lists are immutable and tuples are mutable
None of the above
What are the key features of python?
It is easy to code
It's a free and open source
It's an object-oriented language
All of the above
What type of language is python?
It's a high level programming language
It's a secret language
It's used to hack video games
How is python a interpreted language?
It's not interpreted
People understand the code that is interpreted
It goes through an interpreter
Who is memory managed in python?
Python has a brain
The Python memory manager manages chunks of memory called “Blocks”. A collection of blocks of the same size makes up the “Pool”. Pools are created on Arenas, chunks of 256kB memory allocated on heap=64 pools. If the objects get destroyed, the memory manager fills this space with a new object of the same size.
Python has someone/something memorize everything
