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 Summer 8th Sem 2180711 Python Programming Question Paper

Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Summer 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 BE 2020 Summer Question Papers || Gujarat Technological University


FirstRanker.com

Subject Code: 2180711

GUJARAT TECHNOLOGICAL UNIVERSITY

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

BE — SEMESTER-VIII- EXAMINATION- SUMMER 2020

Subject Name: Python Programming

Time: 02.30 PM TO 05.00 PM

Instructions:

  1. Attempt all questions.
  2. --- Content provided by FirstRanker.com ---

  3. Make suitable assumptions wherever necessary.
  4. Figures to the right indicate full marks.
  1. (a) What is the duck typing philosophy of python? [03]
    (b) What is the difference between compiler and Interpreter? Explain How python interpreter works. [04]
    (c) Which are the different types of operators in python language? Explain membership and identity operators with examples. [03]
  2. --- Content provided by FirstRanker.com ---

  3. (a) Explain List comprehension with an example. [04]
    (b) Describe following string functions with syntax: title() , strip(), islower(), isupper(). [07]
  4. (a) Explain different sequences types with example in python. [07]
    OR
    (b) Explain mutable and immutable data types with example in python. [03]

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

    (c) Explain the lambda function with syntax and example. [04]
  5. (a) Explain indexing and slicing operation for string manipulation with example in python. [03]
    (b) What is the difference between error and exception? Explain exception handling in python with example. [04]
    OR
    (c) Explain Method Resolution Order in python. [07]
  6. --- Content provided by FirstRanker.com ---

  7. (a) Explain Indexing and Slicing operation for the list with example in python. [03]
    (b) What is testing? Explain Black box v/s glass box testing. [04]
    (c) Explain match and search methods with the syntax of the regular expression module in python. [07]
  8. (a) Explain object orientation in python with example. [03]
    (b) Differentiate Abstract class and interface with example. [04]

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

    OR
    (c) Explain built-in class attributes in a python class. [07]
  9. (a) Write a program to implement a student class with five-member variables and with at least two methods to get and set values. [03]
    (b) Explain Inheritance in python with example. [04]
    (c) Write a program to create two threads to print the first 100 numbers. [07]
  10. --- Content provided by FirstRanker.com ---

  11. (a) How to create a Socket in python? Explain with example. [03]
    (b) Write a program for a linear search and binary search. [04]
    OR
    (c) Write a GUI program to create two buttons using Tkinter. When one button pressed another button to disappear and when again pressed the other button to appear. [07]
  12. (a) Write a program to implement Caesar Cipher. [03]

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

    (b) Write a program for bubble sort and quicksort. [04]

Date: 27/10/2020

Total Marks: 70

FirstRanker.com


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


This download link is referred from the post: GTU BE 2020 Summer Question Papers || Gujarat Technological University