0% found this document useful (0 votes)
46 views5 pages

Syllabus - PROBLEM SOLVING USING PYTHON PROGRAMMING (I Year I Sem)

The document outlines a course on problem solving using Python programming. It includes 5 units that cover topics like introduction to Python, control structures, dictionaries and sets, object-oriented programming, and graphics programming. It also lists learning outcomes, textbooks, reference books, and 34 experiments related to Python programming concepts.

Uploaded by

Hayders
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views5 pages

Syllabus - PROBLEM SOLVING USING PYTHON PROGRAMMING (I Year I Sem)

The document outlines a course on problem solving using Python programming. It includes 5 units that cover topics like introduction to Python, control structures, dictionaries and sets, object-oriented programming, and graphics programming. It also lists learning outcomes, textbooks, reference books, and 34 experiments related to Python programming concepts.

Uploaded by

Hayders
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

PROBLEM SOLVING USING PYTHON PROGRAMMING

Hours/Week Credits
Year Semester
L T P/D
I I 3 0 6 6
Pre-requisite

COURSE OUTCOMES:
At the end of the course the students will be able to

CO1: Implement a given algorithm in Python by using standard programming constructs


such as, repetitions, functions, modules, aggregated data (arrays, lists, etc.), etc.
CO2: Explain the output of a given Python program and identify and correct errors in a given
Python program.
CO3: Write simple programs using the features of object-oriented programming language
such as, encapsulation, polymorphism, inheritance, etc.

UNIT I (9 hours)
Introduction: Introduction to Computer Science; Computer Algorithms; Computer Hardware;
Computer Software; The process of Computational Problem Solving; Introduction to Python
programming language; Data and Expressions: Literals; Variables and Identifiers; Operators;
Expressions and Data Types;

UNIT II (12 hours)


Control Structures: Selection Control; Iterative Control; String Processing; Functions:
Program routes; Calling Value Returning Functions; Calling Non-value Returning Functions;
Parameter Passing; Keyword and Default Arguments in Python; Variable Scope; Lists: List
Structures; Lists in Python; Iterating over Lists in Python; Tuple in Python.

UNIT III (9 hours)


Dictionaries and Sets: Dictionary Type in Python; Set Data Type in Python; Modular design:
Top-Down Design; Python Modules; Packages; File Handling: Opening, Reading and
Writing Text Files; Exception Handling;

UNIT IV (6 hours)
Graphics Programming: Graphics Programming, Using Graphical Objects, Interactive
Graphics Graphics Objects, Entry Objects, Displaying Images, Generating Colours.

UNIT V (6 hours)
Object-Oriented Programming: Introduction to Object Oriented Programming;
Encapsulation; Inheritance; Polymorphism.

TEXT BOOKS
1. C. Dierbach, Introduction to Computer Science Using PYTHON: A Computational
Problem-Solving Focus (1st ed.), Wiley, 2015. ISBN 978-0470555156.

2. Yashavant Kanetkar, Let Us Python (1st ed.), BPB Publishers, 2019. ISBN 978-
9388511568.

REFERENCE BOOKS

1. Allen B. Downey, Think Python: How to Think Like a Computer Scientist (2nd ed.),
O’Reilly, 2015. ISBN 978-9352134755.

2. Martin C. Brown, Python: The Complete Reference (1st ed.), McGraw-Hill, 2001.
ISBN 978-9387572942

Experiments

1. Explain Data types in Python with Program?

2. Explain Operators in Python with Program?

3. Write a python program to demonstrate String Manipulation / String Handling Func-


tions?

4. Write a python program on String Handling Functions and Slicing?

5. Write a python program to demonstrate Types of Type Casting with Example

6. Demonstrate Conditional Statements in python with examples

7. Write a python program to print grade of a student

8. Demonstrate Looping Statements in python with examples

9. Write a python program to print Sum of individual digits between 100 to 1000 using
while Loop

10. Write a python program to check whether the given number is Armstrong or not us-
ing while Loop

11. Write a python program to check whether the given number is Palindrome or not us-
ing while Loop

12. Write a python program to print reverse of a given number using while Loop

13. Write a python program to read and print a Matrix elements

14. write a python program to print Armstrong Numbers between range using for Loop
15. Write a python program to print a Transpose of a Matrix

16. Demonstrate Control Statements: break, continue, pass with Examples

17. Define a function, Demonstrate Types of functions with examples

18. Discuss Types of Arguments in function with Examples

19. fibonacci series using recursion

20. Find the GCD of Two Numbers Using Recursion.

21. Write a python program to read and print list dynamically

22. Write a python program to read list of names from the user, and print the names
which are starting with ‘a’.
Example : names =[‘raju’,’anil’,’mahesh’,’ananya’,’arjun’,’ramesh’] (read the list dy-
namically) Output: [anil, ananya, arjun]'''

23. Write a program to check if a number is present in the list or not. If the number is
present, print the position of the number. Print an appropriate message if the number
is not present in the list.
24. Write a python program to read the list of elements using list. And print the max, min,
avg, sort ascending or descending order based on user choice.
Expected Results :
Enter how many elements you enter: 5
Enter Elements: 1 7 4 8 3
Press 1 for Min element
Press 2 for max elements
Press 3 for avg of elements
Press 4 for sort in ascending
Press 5 for sort in descending
Press 6 for Exit
Select your choice from the following: 4
[1, 3, 4, 7, 8]
25. Write menu driven program read two sets s1 and s2 dymanically
press 1 union
press 2 intersection
press 3 difference
press 4 symmetric difference
press 5 exit

26. write a program to enter names of employees and their salaries as input and store
them in a dictionary. Here n is to input by the user.

27. Write a program to count the number of times a character appears in a given string
Example: Hello : H:1 e:1 l:2 o:1

28. Write a program to convert a number entered by the user into its corresponding num-
ber in words. For example if the input is 876 then the output should be “Eight Seven
Six”

29. Write a python program to print number of lines, number of words and number of
characters from file.

30. Write a menu driven program on files:

press 1. Create a file

press 2. Write content to the file

press 3. add content to the file

press 4. display the content of the file

press 5. delete a file

31. Write a python program to demonstrate Single Inheritance.

32. Write a python program to demonstrate Multilevel Inheritance.

33. Write a python program to develop a GUI Application as shown below.


34. Write a python program to develop a GUI Application as shown below.

You might also like