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 B.Tech 2020 Winter 8th Sem 2180711 Python Programming Question Paper

Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Winter 8th Sem 2180711 Python Programming Previous Question Paper

This post was last modified on 04 March 2021

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


FirstRanker.com

GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER-VIII (NEW) EXAMINATION β€” WINTER 2020

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

Subject Code:2180711 Date:28/01/2021
Subject Name:Python Programming
Time:02:00 PM TO 04:00 PM Total Marks: 56

Instructions:
1. Attempt any FOUR questions out of EIGHT questions.

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

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

Q.1 (a) What is dictionary in Python? Explain any four built-in dictionary 03
methods with example.
(b) What are the key features of Python? 04

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

(c) Consider the list 1st=[9,8,7,6,5,4,3]. Write the Python program which 07
performs the following operation without using built-in methods.
1) Insert element 10 at beginning of the list.
2) Insert element 2 at end of the list.
3) Delete the element at index position 5.

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

4) Print all elements in reverse order.

Q.2 (a) β€œList is mutable.” - Justify with suitable example. 03
(b) Explain all arguments of print() method. 04
(c) Write a Python program to generate list of fibonacci number upto n 07
fibonacci numbers.

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

Q.3 (a) Differentiate List and Tuple in Python. 03
(b) What is negative indexes and how they are used in Python? 04
(c) What is monkey patching in Python explain with suitable example. 07

Q.4 (a) What is map in Python? Explain with example. 03
(b) What is the difference between range and xrange? 04

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

(c) Explain while loop & for loop-with syntax and example in detail. 07

Q.5 (a) Explain usage of continue, break, and pass keyword in python. 03
(b) Explain the exception-handling in Python. 04
(c) Write a program to sort the given list without using built-in methods. 07

Q.6 (a) Explain use of import keyword with suitable example. 03

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

(b) Write a program which demonstrates multiple inheritance. 04
(c) Write a program to search given number from list using binary search. 07

Q.7 (a) Explain inheritance in Python. 03
(b) Explain any four methods for regular expression with proper example. 04
(c) Write a program which draw square and hexagon using turtle. 07

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

Q.8 (a) Explain multi threaded programming in Python. 03
(b) Explain any four method for TCP socket in Python. 04
(c) Write GUI program using Tkinter which handle the button click event. 07

FirstRanker.com


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


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