Exam Details

Subject advanced python
Paper
Exam / Course mca
Department
Organization Gujarat Technological University
Position
Exam Date June, 2017
City, State gujarat, ahmedabad


Question Paper

1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- IV• EXAMINATION SUMMER 2017
Subject Code:3640014 Date:08/06/2017
Subject Name: Advanced Python
Time:10:30 am to 1: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
1. Write a regular expression for email matching.
2. Find out the output of: print(re.sub("[yY]es","no", "yes I said yes I will."))
3. Find out the output of: print(re.search("[^jjj]","kirti").group())
4. What is the use of re.compile()?
5. Write a command to create project in django.
6. is a lightweight text-based open standard designed for human- readable data interchange.
7. is very fast and lightweight, and the entire database is stored in a single disk file.
07

Explain search and match method with example.
07
Q.2

What is csv? How to write and read from csv? Explain with example.
07

Explain JSON with example.
07
OR

Explain following methods with example.
1. Split() 2. 3. subn() 4.findall() 5. finditr()
07
Q.3

Explain GIL in brief.
Differentiate: Thread v/s Threading
03
04

Write a python program that create Thread instance and passing in callable class instance.
07
OR
Q.3

Explain sax with example.
07

Explain extension in python with example.
07
Q.4

What is Cookie in CGI? How to set, retrive and remove the cookie? Explain with example.
07

What is WSGI? Explain with example.
07
OR
Q.4

What is HTTP servers? Explain BaseHTTPServer with example.
07

Explain methods of cursor with example.
07
Q.5

create the table of Emp: eid,ename,ecity,salary
1. Insert minimum 5 records
2. Update those records whose salary greater than 30000
4. Delete those records whose salary between 5000 to 10000
Use sqlite for all operations.
07

What is machine learning? How to load and summarize the dataset?
07
OR
Q.5

What is django? Explain with its pros and cons.
07

Explain view in django with example.
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)