Exam Details
Subject | advanced python | |
Paper | ||
Exam / Course | mca | |
Department | ||
Organization | Gujarat Technological University | |
Position | ||
Exam Date | November, 2018 | |
City, State | gujarat, ahmedabad |
Question Paper
1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- IV EXAMINATION WINTER 2018
Subject Code: 3640014 Date: 29/11/ 2018
Subject Name: Advance Python
Time: 10:30 am to 01:30 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
Short Question. Explain in one or two sentence.
In Regular Expression of python, which sign indicates the match of an expression in the start of a string
As per regular expression which expression indicates matching of N or n
If we write print(re.sub("Technosavy","Technological","Gujarat Technosavy University")), what will be the output.
Which of the modules of python allows us to create and manage threads in Python
What is DB-API in Python
What is "urlparse" module in Python
Which is the django project file where we store all the models of django MVC
07
State True or False. Give Justification for FALSE statement.
In Django "views.py", which is used for admin interface.
The default split() character is space.
"numpy" module of python can be used for generating random numbers in different ways using choice(), random(), etc. functions.
After writing "from math import sqrt", we can say math.sqrt(16).
re.compile() slows down the process of compiling regular expressions.
The command to create the project in django can be written as "django-admin startproject gtuproject"
GIL stands for Global Interrupt Lock which is used for Thread handling in Python.
07
Q.2
Briefly explain Java Script Object Notation with any small example.
07
Explain "Thread" object methods.
07
OR
Explain Lock, RLock and Condition module objects with small example.
07
Q.3
Explain special characters which are used in Python Regular Expression.
07
You are supposed to use "view" from MVC in Django. Explain with example
07
OR
Q.3
Explain how the data is processed in JSON Explain with diagram.
07
You are supposed to do administration of a web site. Which MVC patter can be used in Django. Explain with example.
07
Q.4
Explain different cursor objects attributes for database handling in Python.
07
You are exploring "urlparse" module. Explain any 3 functions of this module.
07
2
OR
Q.4
What are Type Objects for database handling Explain any 5 type objects with some example.
07
Explain steps to create a project in Django named "HelloPython". Write any other assumptions if required.
07
Q.5
What is machine learning How to load and summarize the dataset
07
Consider a table called "student" with "rollno", "name", "age", "gender" and "city" columns. Write a python code to accept "search city" and "target city". Replace the city of "search city" with "target city"
07
OR
Q.5
Explain how to set, retrieve and remove the cookie in CGI Give example.
07
Consider a table called "student". Write a python code to accept "rollno" of a student and delete specific student with given rollno. Give appropriate message whether record is deleted or not.
07
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- IV EXAMINATION WINTER 2018
Subject Code: 3640014 Date: 29/11/ 2018
Subject Name: Advance Python
Time: 10:30 am to 01:30 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
Short Question. Explain in one or two sentence.
In Regular Expression of python, which sign indicates the match of an expression in the start of a string
As per regular expression which expression indicates matching of N or n
If we write print(re.sub("Technosavy","Technological","Gujarat Technosavy University")), what will be the output.
Which of the modules of python allows us to create and manage threads in Python
What is DB-API in Python
What is "urlparse" module in Python
Which is the django project file where we store all the models of django MVC
07
State True or False. Give Justification for FALSE statement.
In Django "views.py", which is used for admin interface.
The default split() character is space.
"numpy" module of python can be used for generating random numbers in different ways using choice(), random(), etc. functions.
After writing "from math import sqrt", we can say math.sqrt(16).
re.compile() slows down the process of compiling regular expressions.
The command to create the project in django can be written as "django-admin startproject gtuproject"
GIL stands for Global Interrupt Lock which is used for Thread handling in Python.
07
Q.2
Briefly explain Java Script Object Notation with any small example.
07
Explain "Thread" object methods.
07
OR
Explain Lock, RLock and Condition module objects with small example.
07
Q.3
Explain special characters which are used in Python Regular Expression.
07
You are supposed to use "view" from MVC in Django. Explain with example
07
OR
Q.3
Explain how the data is processed in JSON Explain with diagram.
07
You are supposed to do administration of a web site. Which MVC patter can be used in Django. Explain with example.
07
Q.4
Explain different cursor objects attributes for database handling in Python.
07
You are exploring "urlparse" module. Explain any 3 functions of this module.
07
2
OR
Q.4
What are Type Objects for database handling Explain any 5 type objects with some example.
07
Explain steps to create a project in Django named "HelloPython". Write any other assumptions if required.
07
Q.5
What is machine learning How to load and summarize the dataset
07
Consider a table called "student" with "rollno", "name", "age", "gender" and "city" columns. Write a python code to accept "search city" and "target city". Replace the city of "search city" with "target city"
07
OR
Q.5
Explain how to set, retrieve and remove the cookie in CGI Give example.
07
Consider a table called "student". Write a python code to accept "rollno" of a student and delete specific student with given rollno. Give appropriate message whether record is deleted or not.
07
Other Question Papers
Subjects
- advance database management system
- advanced biopharmaceutics & pharmacokinetics
- advanced medicinal chemistry
- advanced networking (an)
- advanced organic chemistry -i
- advanced pharmaceutical analysis
- advanced pharmacognosy-1
- advanced python
- android programming
- artificial intelligence (ai)
- basic computer science-1(applications of data structures and applications of sql)
- basic computer science-2(applications of operating systems and applications of systems software)
- basic computer science-3(computer networking)
- basic computer science-4(software engineering)
- basic mathematics
- basic statistics
- big data analytics (bda)
- big data tools (bdt)
- chemistry of natural products
- cloud computing (cc)
- communications skills (cs)
- computer aided drug delivery system
- computer graphics (cg)
- computer-oriented numerical methods (conm)
- cyber security & forensics (csf)
- data analytics with r
- data mining
- data structures (ds)
- data visualization (dv)
- data warehousing
- data warehousing & data mining
- database administration
- database management system (dbms)
- design & analysis of algorithms(daa)
- digital technology trends ( dtt)
- discrete mathematics for computer science (dmcs)
- distributed computing (dc1)
- drug delivery system
- dynamic html
- enterprise resource planning (erp)
- food analysis
- function programming with java
- fundamentals of computer organization (fco)
- fundamentals of java programming
- fundamentals of networking
- fundamentals of programming (fop)
- geographical information system
- image processing
- industrial pharmacognostical technology
- information retrieving (ir)
- information security
- java web technologies (jwt)
- language processing (lp)
- machine learning (ml)
- management information systems (mis)
- mobile computing
- molecular pharmaceutics(nano tech and targeted dds)
- network security
- object-oriented programming concepts & programmingoocp)
- object-oriented unified modelling
- operating systems
- operation research
- operations research (or)
- pharmaceutical validation
- phytochemistry
- procedure programming in sql
- programming skills-i (ps-i-fop)
- programming skills-ii (ps-oocp)
- programming with c++
- programming with java
- programming with linux, apache,mysql, and php (lamp)
- programming with python
- search engine techniques (set)
- soft computing
- software development for embedded systems
- software engineering
- software lab (dbms: sql & pl/sql)
- software project in c (sp-c)
- software project in c++ (sp-cpp)
- software quality and assurance (sqa)
- statistical methods
- structured & object oriented analysis& design methodology
- system software
- virtualization and application of cloud
- web commerce (wc)
- web data management (wdm)
- web searching technology and search engine optimization
- web technology & application development
- wireless communication & mobile computing (wcmc)
- wireless sensor network (wsn)