0% found this document useful (0 votes)
148 views

Python Programming

Uploaded by

new born
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
148 views

Python Programming

Uploaded by

new born
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

[Python Programming ]

()

Paper Title
Paper Code:
Paper Nomenclature:
Level :
Number of Hours Per Week :
Number of Credits: 3

Learning Objectives

The course is designed to introduce students to the fundamentals of python


programming

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)

1. Write a ‘Hello World’ python program ?


2. Write a program to input a welcome message and display it ?
3. Program to swap two numbers with and without third variable?
4. Write a program to convert Celsius to Fahrenheit temperature?
3. Write a program to input 3 numbers and find the largest ?
4. Program to generate random numbers in a given range ?
5. Write a program to check if a number is even or odd ?
6. Write a program to check leap year ?
7. Program to sum up all the digits of a number ?
8. Write a program to reverse a number ?
9. Write a program to print factorial of a number?
10.Program to check if a number is prime or not prime?

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:

1. R.Thareja, Python Programming: Using Problem Solving Approach, First Edition,


Oxford University Press, 2019.
2. E. Balaguruswamy , Introduction to Computing And Problem Solving Using Python, 1st
Edition, McGraw Hill, 2016.

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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy