Python Programming
Python Programming
()
Paper Title
Paper Code:
Paper Nomenclature:
Level :
Number of Hours Per Week :
Number of Credits: 3
Learning Objectives
UNIT-I
Introduction to Python :Python overview, Python identifiers, keywords, variables, standard data types,
numbers(integers, floating point numbers), operators, statement and expression, string and basic
operations on strings , boolean expression, if statement , If ..else statement ,elif statement , Loops : for ,
while , do ..while , nested loop , random number and its generation.
UNIT-II
Functions: Built-in functions, composition of functions, user defined functions, parameters and
arguments, Function calls, The return statement, Python recursive statement, the anonymous
functions, Built-in Data structures in Python: Strings, Lists, Tuples, Dictionaries, Range ,NumPy.
UNIT-III
Practical
Category (easy)
Hard
10. Python Program to Print all Prime Numbers in an Interval ?
11. Python Program to Find Factorial of Number Using Recursion ?
13. Program to generate Fibonacci series using Recursion ?
14. Program to check a palindrome string ?(without library function).
15.Python program to display the patten given below ?
*
* * *
* * * * *
* * * * * * *
Q16. Write a Python function that takes a list and returns a new list with distinct elements from the list?
Q17. Python program to search a Word location in String ?
Q18. Write a Python program to find repeated items in a tuple ?
Q19. Program to concatenate the two dictionaries and create a new one ?
Q20. Program to check whether specified values are present in NumPy array?
Suggested Readings:
Text Books:
Reference Books:
1. S. Gowrishankar, A. Veena , Introduction to Python
Programming, 1 st Edition,CRC Press/Taylor & Francis, 2018.
2. J. W. Chun, Core Python Programming, Second Edition, Pearson, 2010.
3. M. C. Brown, Python: The Complete Reference, Osborne/McGraw-Hill, 4 th Edition,
2018.