i) Explain Terms (Any THREE) :
[3 marks]Training ii) GIL iii) json.dump iv) Web framework ii) Write a regular expression that will match
[4 marks]Password (size of 8) containing alphabets ( lower and upper) and digits.
[ marks]9 digits Enrollment numbers starting with 20, 21 and 22 with all digits.
[ marks]Strings: bat, cat, hat.
[ marks]Strings starting with “the”.
[ marks]Do as directed.
[7 marks]Why is unique id not used in Machine Learning algorithm? ii) Which file format is better, binary or CSV? iii) Give one reason behind WSGI creation. iv) What is SQLAlchemy?
[ marks]What will be the output of below : str = 'USA Russia India' str1 = re.match(r'(.*) (.*?) (.*)', str) print(str1.group()) vi) Say TRUE or FALSE: Uniform Resource Locators are part of a larger set of Uniform Resource Identifiers. vii) Say TRUE or FALSE: Django is a MVC framework.
[ marks]Discuss similarity and dissimilarity of below methods using suitable example:
[ marks]re.match() and re.search() ii) re.sub() and re.subn()
[3 marks]Write a python program which will read corona_testing.csv ( Patient Name, Gender, Age, Result( Yes or No)) and display into HTML format.
[7 marks]How is connect() function used to access database? Discuss any three connection object methods.
[7 marks]i) What is extension? List advantages and disadvantages of extensions ii) Explain locked(), release() and acquire() of thread module.
[3 marks]Discuss thread management using threading model.
[7 marks]i) List 3 steps for creating extension in python. Discuss any one in brief. ii) How to execute a database query using execute()?
[3 marks]List the various functions of urlparse module used to manipulate URL strings. Explain in brief any two functions using suitable example.
[7 marks]i) Differentiate between CGI and WSGI. iii) What are the various reasons for web crawlers?
[3 marks]What is CGI? How to create a CGI application in Python?
[7 marks]i) What are BaseHTTPRequestHandler, SimpleHTTPRequestHandler, and CGIHTTPRequestHandler? ii) Explain any three web address components.
[3 marks]What are the things to notice about new data set? Why?
[7 marks]i) Discuss steps to create automatic back-end admin application in Django.1 ii) What is the importance of development server in Django?
[3 marks]Discuss content of the directory created on execution of “django-admin.py startproject mysite” command with roles of each files created.
[7 marks]i) How different Types of Attributes and Labels Drive Modeling Choices? ii) How is a data set divided up for training and testing with n-fold cross-validation?
[3 marks]