Explain the following terms with respect to python: 1) Data Scrubbing 2) Multithreading 3) WSGI 4) fetchall() 5) urlopen() 6) acquire() 7) re.search()
[7 marks]1) Explain the following regular expression methods with suitable examples. re.split(), re.match(), re.sub() (03) 2) Write a program in python to do the following using regular expression (04) a. match string staring with an upper case “S” b. match password that contains at least one alphabet, one number and one special case letter c. account number having 16 digits and starts with 12 or 13 d. any pairs of numbers
[7 marks]What do you mean by virtual machine? How Python virtual machine execute code using multithreading? Explain with example.
[7 marks]Write a python program to read a CSV file having columns student_id, student_name, student_class, student_grade. Split the data using split() and display the content in HTML format.
[7 marks]Write the difference between json.dumps() and json.dump(). Explain indent, skipkeys and sort_key parameters of json.dumps().
[7 marks]How is connect() used to access database? Explain execute( ), executemany( ), fetchone( ), fetchall( ) and fetchmany( ) cursor object methods with example.
[7 marks]What do you mean by web crawlers. Write a python program to crawl any web page and find the most frequent words.
[7 marks]List 3 steps for creating extension in python. Discuss the process of wrapping code in boilerplate.
[7 marks]What do you mean by thread? Explain the usage of thread module in python and explain release() and locked().
[7 marks]What is the role of urlparse? Discuss urlparse( ), urlunparse( ) and urljoin( ) methods of urlparse with example.
[7 marks]What is WSGI? How to create WSGI applications in python.
[7 marks]List the various methods of urllib module. Explain any three functions of urllib with suitable example.
[7 marks]What are the different web components? How you can differentiate BaseHTTPRequestHandler, SimpleHTTPRequestHandler and CGIHTTPRequestHandler.
[7 marks]What is web framework? Discuss the steps to create backend admin application in Django.
[7 marks]What do you mean by predictive modeling in python? Explain n-cross fold validation.
[7 marks]What is the importance of development server in Django? Discuss the basic steps to create “Welcome Page” in Django.
[7 marks]What are the things notice about new dataset and why? Explain the python modules used for data analysis and visualization.
[7 marks]