Top 100 Python Interview Questions You Must Prepare In 2019


Q51. What is the process of compilation and linking in python?



Download 163,96 Kb.
Pdf ko'rish
bet14/20
Sana02.06.2023
Hajmi163,96 Kb.
#948348
1   ...   10   11   12   13   14   15   16   17   ...   20
Bog'liq
Top 100 Python Interview Questions

Q51. What is the process of compilation and linking in python?
Ans: The compiling and linking allows the new extensions to be compiled properly without any error and the linking can be done
only when it passes the compiled procedure. If the dynamic loading is used then it depends on the style that is being provided
with the system. The python interpreter can be used to provide the dynamic loading of the con guration setup les and will
rebuild the interpreter.
The steps that are required in this as:
1. Create a le with any name and in any language that is supported by the compiler of your system. For example le.c or
le.cpp
2. Place this le in the Modules/ directory of the distribution which is getting used.
3. Add a line in the le Setup.local that is present in the Modules/ directory.
4. Run the le using spam le.o
5. After a successful run of this rebuild the interpreter by using the make command on the top-level directory.
6. If the le is changed then run rebuildMake le by using the command as ‘make Make le’.
Q52. What are Python libraries? Name a few of them.
Python libraries are a collection of Python packages. Some of the majorly used python libraries are – 
Numpy

Pandas

Matplotlib
,
Scikit-learn
and many more.
Q53. What is split used for?
The split() method is used to separate a given string in Python.
Example:
a="edureka python" 
print(a.split()) 
Output: [‘edureka’, ‘python’]
Q54. How to import modules in python?
Modules can be imported using the import keyword. You can import modules in three ways-
Example:
import array #importing using the original module name 
import array as arr # importing using an alias name 
from array import * #imports everything present in the array module 
OOPS Interview Questions

Download 163,96 Kb.

Do'stlaringiz bilan baham:
1   ...   10   11   12   13   14   15   16   17   ...   20




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish