FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download GTU BE/B.Tech 2019 Winter 8th Sem New 2180711 Python Programming Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Winter 8th Sem New 2180711 Python Programming Previous Question Paper

This post was last modified on 20 February 2020

This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University


FirstRanker.com

GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER- VIII (New) EXAMINATION — WINTER 2019

--- Content provided by FirstRanker.com ---

Subject Code: 2180711 Date: 29/11/2019
Subject Name: Python Programming
Time: 02:30 PM TO 05:00 PM Total Marks: 70

Instructions:
1. Attempt all questions.

--- Content provided by FirstRanker.com ---

2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.

MARKS

Q.1 (a) Explain Difference between formal and actual parameter with example. 03
(b) What is Interpreter? Explain How python interpreter works. 04

--- Content provided by FirstRanker.com ---

(c) What are the differences between python and C language? 07

Q.2 (a) Explain raw_input() function with example. 03
(b) Write a python program to implement Fibonacci sequence for given input. 04
(c) Write a python program to implement isPalindrome() function to check given string is palindrome or no. 07

OR

--- Content provided by FirstRanker.com ---

(c) Write a python program to implement Student class which has method to calculate CGPA. Assume suitable class variables. 07

Q.3 (a) Explain different types of comments in python. 03
(b) Explain Indexing and Slicing operation for string manipulation with example in python. 04
(c) Explain Lists along with methods associated with lists and explain mutability with respect to Lists. 07

OR

--- Content provided by FirstRanker.com ---

Q.3 (a) Explain lambda function along with map and filter functions. 03
(b) Write a python program to read line by line from a given files file1 & file2 and write into file3. 04
(c) Explain Tuples, Lists and Dictionaries with example and give comment on mutability for each of them. 07

Q.4 (a) Give difference between black-box and glass-box testing. 03
(b) Explain usage of try-except and assert keywords. 04

--- Content provided by FirstRanker.com ---

(c) Write a python program to implement linear search and binary search. 07

OR

Q.4 (a) Explain basic idea behind hash table with suitable example. 03
(b) Write a python program to implement multiple inheritance. 04
(c) Write a python program to implement merge sort. 07

--- Content provided by FirstRanker.com ---

Q.5 (a) Explain regular expression methods match and search with its parameters. 03
(b) Write a python program to create a plotting of years of compounding v/s value of principal using pyplot library. Assume reasonable values for principal, interest rate and years 04
(c) Explain Caesar cipher and Write a python program to implement Caesar cipher. 07

FirstRanker.com

Q.5 (a) What is socket? How to create a socket in python? 03

--- Content provided by FirstRanker.com ---

(b) How to implement threads in python? Explain any one method using suitable example. 04
(c) Write a python GUI program to implement calculator using Tkinter library. 07

FirstRanker.com


--- Content provided by FirstRanker.com ---


This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University