CSCosmos
Topics
Tracks
About
GitHub
Toggle theme
Loading Python for AI Engineering...
Back to Python AI Curriculum
Certification Arena // Subject 02
Python for AI Engineering Knowledge Check
Verified Score:
0 / 10 (0%)
1
2
3
4
5
6
7
8
9
10
QUESTION 1 OF 10
Medium
Why does a standard Python 64-bit integer take 28 bytes in CPython instead of 8 bytes?
A
Python integers are automatically encrypted in RAM for memory safety.
B
CPython wraps every value in a PyObject header containing an 8-byte reference count, an 8-byte type pointer, and an 8-byte digit array count.
C
The Python garbage collector requires 20 bytes of parity checksums on every variable.
D
Integers in Python are compiled directly into string representations.
Previous
Submit Answer