vai mT I samsaé st
Time: 3 Hours
eles esl) ail
mm), JON 2020-21
PYTHON PROGRAMMING.
"ABER ID-311012
Ton
ny missing data; then
1. Attempt all Sections, If requite
SECTION \
tempt question in bel
‘operators in python.
‘One
De
Write a basie python
ude to add 2
Write simeture of wrelse statement in python,
eo
Describe while loop in python.
Differentiate between global and local variable.
Describe Tuple.
[Pe
Describe Class in pyth
Write a recwisive Torial of a number.
What is sorti i
Describe Diction
Attempt any three of the followit
Explain the concept of 5
programming language wit
b
Variables in Python programy
Explain the Identifiers,
What is List? Explain with
Explain Inheritance with e
[Explain Tower OF Hanoi
Attempt any one part of the follow
Write a Pytlion program to check
number of not.
umber is Armstrong,
Tomas
Describe Arithmetic Operators, Assignment Operators, Comparison
Operators, Logical Operators and Bitwise Operators in detail with
examples. _
‘Attempt any one part of the follow’
What is switch case? Explain with an example,
ees 2
Describe function. How function used in program? Explain.
wo [2
Attempt any one part of the followin;
Explain Sieve of Eratosthenes. Write a program to generate prime numbers.
to 3
What is an abstract data type? Explain,
1Oze| 3)
In|=] |a{ele
Attempt any one part of the follow
Explain File Input and output operations.
10 14
=>
Define indexing and slicing of strings in detail.
10/4
‘Attempt any one part of the following:
Describe Recursion, Write a program to generate Fibonacci series.
1015)
=|
to [5
What is High Order Sorting? Explain selection sort with example