Q. What is thread ?
A. Thread is light-weight processes and have less memory overhead. Threads can be used just for quick task like calculating results and also running other processes in the background while the main program is running.
Q. Explain multithreading, Python will it supports?
A. It means running several different programs at the same time concurrently by invoking multiple threads. Multiple threads within a process refer the data space with main thread and they can communicate with each other to share information more easily. It will supports Multithreading.
Youtube ChannelTutorial for tech hunters subscribe
Click Here to Subscribe
Q. How many modes for file processing supported by Python?
A. Python allows you to open files in one of the three modes. They are:
read-only mode, write-only mode, read-write mode, and append mode by specifying the flags “r”, “w”, “rw”, “a” respectively.
Will catch you soon updated Interview Questions and Answers on next Series
for Top SQL Server Interview Questions and Answers