Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fd68115

Browse files
author
Amogh Singhal
authored
Update Python_Programming_Quiz.md
1 parent 515e0f7 commit fd68115

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎Python_Programming_Quiz.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,18 @@ print(cap_count)
372372
for word in
373373
```
374374

375+
#### 21. If you installed a module with pip but it doesn’t import in your IDLE, what could it possibly be?
376+
377+
#### 22. If while installing a package with pip, you get the error No matching installation found, what can you do?
378+
379+
#### 23. What is the difference between a Python module and a Python library?
380+
381+
#### 24. Explain memory management in Python. (Optional: for CS Students)
382+
Python manages objects by using __reference counting__. <br>
383+
This means that the memory manager keeps track of the number of references to each object in the program.<br>
384+
When an object's reference count drops to __zero__, which means the object is no longer being used, __the garbage collector (part of the memory manager) automatically frees the memory from that particular object.__
385+
386+
The user need not to worry about memory management as __the process of allocation and de-allocation of memory is fully automatic__. The reclaimed memory can be used by other objects.
387+
388+
389+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /