Sharp Tutorial
Btech python MDU 3rd Semester Question paper 2019

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

Previous year question papers

  • 12th computer science papers

MDU B.TECH. 3rd Sem (Python) Question Paper 2019

CLASS - B.Tech
Python-2019
Time: 3 hour
Max Marks :75

Python Notes
3033 
B. Tech. 3rd Semester (CSE) 
Examination — December, 2019
PYTHON PROGRAMMING Paper : PCC-CSE-207-G
Time • Three Hours 
Before answering the questions, candidates should ensure that they have bees supplied the correct and complete question paper.
No complaint in this regard, will be entertained after examination.
Note : Attempt five questions in all, selecting one question from each Unit. 
Question Number 1 is compulsory. All questions carry equal marks

                                                                 Questions

1. Describe the following :	15

(a)Explain the rules of precedence used by python to evaluate an expression.
(b)List the rules to declare a variable in python. Demonstrate at least three different types of variable uses with an example program.
(c)Explain string slicing in python. Show with the example.
(d)List and explain two built in string manipulation functions supported by python.
(e)How tuples are created in python ? Explain how to access the tuple with the help of example ?
(f)What is operator overloading ? Briefly explain.

UNIT — I
2. 
(a)Write a python program to find the best of two test average marks out of three test marks accepted from the user. 15
(b)Demonstrate the use of break and continue keywords in looping structure using a snippet code.

3. 
(a)Write a python program that reads a text file and changes the file by capitalizing each character of file. 15
(b)How to create a list in python ? Illustrate the use of negative indexing of list with example. 

UNIT — II
4.
(a)Write the python code to display the last six characters of the string "The breakfast.is,ready" to the console  15
(b)Explain string slicing in python. Show with example?

5.
(a)Write a python program to accept the sentence from the user and display the longest word of that sentence along with its length.    15
(b)How to convert the strings to numbers and vice versa in python ?
 
UNIT - III
6. Describe the following :	    15
(a)Explain Dictionary in Python with example.
(b)Write a python program to search the specific value from a given list of values using linear search method.

7. 
(a)Explain recursive function with the help of example.	15
(b)Describe the Program structure and design of python in detail.

UNIT - IV
8.
(a)Appraise the use of try block and expect block in python with syntax.	15
(b)Create a class Employee with data members name, department and salary. Create suitable methods for reading and printing employee
information.

9.   Write Write a short note on :	15
(a)What are the differences between abstract class and interface ?
(b)How operator overloading can be implemented in Python ? Give an example.
(c)Define Inheritance & Polymorphism with the help of example.
(d)Explain basic list operators used in python.
Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial