Exam Details
Subject | advanced python | |
Paper | ||
Exam / Course | mca(integrated) | |
Department | ||
Organization | Gujarat Technological University | |
Position | ||
Exam Date | November, 2018 | |
City, State | gujarat, ahmedabad |
Question Paper
1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER-VIII- EXAMINATION WINTER 2018
Subject Code: 4480606 Date: 27-11-2018
Subject Name: Advanced Python
Time: 02.30 pm to 5.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Do as Directed.
Write regular pattern/expression which will match Adhar Number format 9999-9999-9999).
ii) Write regular pattern/expression which will match Student Name, which will be in upper case alphabets.
iii) Find out the output of: print(re.subn("[yY]es","no", "yes I said yes I will.")).
iv) List web address components.
Define Terms: Global Interpreter Lock(GIL), Django Shell, WSGI
01
01
01
01
03
Say TRUE or FALSE with justification.
All REST interactions are stateless.
ii) Feed contain a greater proportion of machine-readable information.
iii) Mashups combine data and services provided by other sites.
iv) The quality of SVG graphics are not lose when they are zoomed or resized.
XML is a programming language.
vi) Following Javascript function can be called as add(1) and
function
return a
vii) send() and send(string) methods sends request for GET and POST methods.
07
Q.2
Discuss searching and matching using suitable example.
07
Design a Database handler that outputs the contents of Employee(Empno, Name, Gender, Salary) table as HTML Page for browsers.
07
OR
Discuss processing of CSV file in python using Employee.csv(Empno, Name, Gender, Salary) CSV file.
07
Q.3
List advantages and disadvantages of Python extension. List 3 Steps for creating extensions for Python. Discuss any one in detail.
07
Explain the similarity and dis-similarity between the cursor fetchone(),fetchall() and fetchmany() methods.
07
OR
Q.3
Explain apilevel, threadsafety, paramstyle and connect() DB-API module attributes.
07
Differentiate between
Single and Multithreaded executing in python
ii) thread and threading module
07
Q.4
Define tweets. List some of the limitations of it. Explain the Twitter service in your own words.
07
State in your words how urlparse(), urlunparse() and urljoin() functions are similar and different from each other.
07
OR
Q.4
What is the use of web crawler? Why we need them? How to parse web content?
07
Compare Basic, Simple and CGI web servers of Python
ii) Discuss differences between Twython and Tweepy Python libraries.
03
04
2
Q.5
Discuss basic steps to create "Hello World!" project in Django.
07
Discuss visualization techniques: Q Parallel coordinates plot.
07
OR
Q.5
Explain various ways to install Django framework. Write commands: to verify Django installation, change port and change IP of server.
07
Compare holdout, n-fold and cross-validation methods.
07
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER-VIII- EXAMINATION WINTER 2018
Subject Code: 4480606 Date: 27-11-2018
Subject Name: Advanced Python
Time: 02.30 pm to 5.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Do as Directed.
Write regular pattern/expression which will match Adhar Number format 9999-9999-9999).
ii) Write regular pattern/expression which will match Student Name, which will be in upper case alphabets.
iii) Find out the output of: print(re.subn("[yY]es","no", "yes I said yes I will.")).
iv) List web address components.
Define Terms: Global Interpreter Lock(GIL), Django Shell, WSGI
01
01
01
01
03
Say TRUE or FALSE with justification.
All REST interactions are stateless.
ii) Feed contain a greater proportion of machine-readable information.
iii) Mashups combine data and services provided by other sites.
iv) The quality of SVG graphics are not lose when they are zoomed or resized.
XML is a programming language.
vi) Following Javascript function can be called as add(1) and
function
return a
vii) send() and send(string) methods sends request for GET and POST methods.
07
Q.2
Discuss searching and matching using suitable example.
07
Design a Database handler that outputs the contents of Employee(Empno, Name, Gender, Salary) table as HTML Page for browsers.
07
OR
Discuss processing of CSV file in python using Employee.csv(Empno, Name, Gender, Salary) CSV file.
07
Q.3
List advantages and disadvantages of Python extension. List 3 Steps for creating extensions for Python. Discuss any one in detail.
07
Explain the similarity and dis-similarity between the cursor fetchone(),fetchall() and fetchmany() methods.
07
OR
Q.3
Explain apilevel, threadsafety, paramstyle and connect() DB-API module attributes.
07
Differentiate between
Single and Multithreaded executing in python
ii) thread and threading module
07
Q.4
Define tweets. List some of the limitations of it. Explain the Twitter service in your own words.
07
State in your words how urlparse(), urlunparse() and urljoin() functions are similar and different from each other.
07
OR
Q.4
What is the use of web crawler? Why we need them? How to parse web content?
07
Compare Basic, Simple and CGI web servers of Python
ii) Discuss differences between Twython and Tweepy Python libraries.
03
04
2
Q.5
Discuss basic steps to create "Hello World!" project in Django.
07
Discuss visualization techniques: Q Parallel coordinates plot.
07
OR
Q.5
Explain various ways to install Django framework. Write commands: to verify Django installation, change port and change IP of server.
07
Compare holdout, n-fold and cross-validation methods.
07
Other Question Papers
Subjects
- advanced c programming (adv – c)
- advanced python
- basic mathematics for it
- big data
- c++ with class libraries (cpp)
- communication skills - ii
- communication skills-1
- cyber security and forensics (csf)
- data analytics with r
- data structure
- database management systems
- discrete mathematics for computer science (dmcs)
- environmental studies
- fundamentals of computer
- fundamentals of database management systems
- fundamentals of networking
- fundamentals of programming – i
- fundamentals of web
- information security
- java programming
- machine learning
- management information systems (mis)
- mobile programming
- network security
- operating system
- operations research
- python (py)
- software engineering
- software testing
- statistical methods
- uml & object oriented modeling
- web development tools