Do as directed.
[7 marks]Write a regular expression for Phone Number matching (Format: 123-456- 7890). ii) What is the importance of re.compile()? iii) What is WSGI? iv) Say TRUE or FALSE: CGI is a programming language.
[ marks]Why threading is more appropriate for I/O-bound applications than for CPU- bound applications? vi) What is the impact of number of rows and columns found in data sets? vii) What is the difference between sub() and subn() method?
[ marks]i) Give one similarity and difference between Twython and Tweepy Python libraries. ii) What is wrapper? List 3 steps to create extension in python. iii) Explain GIL with its working.
[3 marks]What is the difference between the search() and match() functions in the Python "re" module.
[7 marks]Compare CSV and JSON file formats. Which one is good for data management? Why?
[7 marks]Write a python HTML generator program which will read CSV file (format: ID,Name, Gender, Salary) using CSV module and create tabular output.
[7 marks]Discuss various visualization techniques used to get insight into data.
[7 marks]Explain execute( ), executemany( ), fetchone( ), fetchall( ) and fetchmany( ) cursor object methods.
[7 marks]Discuss two approaches used to measure performance of Predictive Models.
[7 marks]What is database adapter? Write a python program to perform basic CRUD operations (Format: LICNo, Name, Amount, PaymentMode).
[7 marks]Explain urlparse(), urlunparse() and urljoin() functions of urlparse module.
[7 marks]Discuss various web address components with suitable example.
[7 marks]Explain urlopen() , urlretrieve(), quote() and quote_plus() functions of urllib.
[7 marks]What is CGI? How CGI works? What are the differences between CGI and typical application? List limitations of CGI .
[7 marks]List and explain directory structure and files of Django project.
[7 marks]Discuss Queue module with its classes, exceptions and function.
[7 marks]Discuss `basic steps to create a simple Django Project.
[7 marks]Explain in brief any 3 objects and 3 methods of threading module.
[7 marks]