PYTHON PROGRAMMING (THEORY AND PRACTICALS)
UNIT I: Introduction to Python : Python Overview Getting Started with Python - Python Identifiers
Reserved Keywords - Variables - Standard Data Types- Operators. Statement and Expression – String
Operations - Boolean Expressions - Control Statements- Iteration - while Statement - Input.
UNIT II: Functions : Introduction - Built-in Functions Composition of Functions - User Defined
Functions Parameters and Arguments - Function Calls – The return Statement - Python Recursive
Function – The Anonymous Functions - Writing Python Scripts.
Unit III: Strings: Strings - Compound data types - len() function - String slices - String traversal – String
formatting operators and functions. Lists: Values and accessing elements - lists are mutable –
Traversing and deleting elements - Built-in operators and methods.
Unit IV: Tuples: Creating tuples-accessing values tuples assignment - tuples as return values –
variable length argument tuples - basic tuple operations built-in tuple functions. Dictionaries:
Creating and accessing a dictionary - updating and deleting properties of dictionary keys - operations
and built-in dictionary methods. Exceptions: Exceptions with Arguments - User-Defined Exceptions.
Unit V: Classes and Objects: Overview of OOP(Object-Oriented Programming)- Class Definitions
Creating Objects-Objects as Arguments - Objects as Return Values - Built-in Class Attributes -
Inheritance Method Overloading.
TEXT BOOKS:
E. Balagurusamy, “Introduction To Computing And Problem Solving Using Python”, McGraw Hill
Education Private Limited, New Delhi.
REFERENCE BOOKS:
Mark Lutz, David Ascher, “Learning Python”, Shroff Publishers & Distributors Private Limited,2009
PROGRAMMING FOR PROBLEM SOLVING SYLLABUS
Course Objectives
• To understand the various steps in Program development.
• To understand the basic concepts in C Programming Language.
• To learn how to write modular and readable C Programs
• To learn to write programs (using structured programming approach) in C to solve problems.
UNIT ‐ I Introduction to Computing – Computer Systems-Hardware and Software, Computer
Languages, Algorithm, Flowchart, Representation of Algorithm and Flowchart with examples.
Introduction to C– History of C, Features of C, Structure of C Program, Character Set, C Tokens-
Keywords, Identifiers, Constants, Variables, Data types, Operators.
UNIT‐II Statements‐Selection statements (Decision Making)- if and switch statements with examples,
Repetition statements (loops)- while, for, do‐while statements with examples, Unconditional
statements- break, continue, goto statements with examples.
UNIT – III Functions‐Designing Structured Programs, Types of Functions-User defined functions,
Standard functions, Categories of functions, Parameter Passing techniques, Storage classes,
Recursion.
UNIT‐IV Arrays- Declaration and Initialization, One dimensional Arrays, Two dimensional Arrays.
Strings- Declaration and Initialization, String Input / Output functions, String manipulation functions.
UNIT-V Pointers- Introduction, Definition and Declaration of pointers, address operator, Pointer
variables, Pointers with Arrays. Structures- Introduction, Declaration and Initialization, Array of
Structures, Unions.
TEXT BOOKS:
1. Computer Programming with C, Special Edition‐MRCET, Mc Graw Hill Publishers 2017.
2. Computer Science: A Structured Programming Approach Using C, B.A.Forouzan and R.F. Gilberg,
Third Edition, Cengage Learning.
REFERENCE BOOKS:
1. The C Programming Language, B.W. Kernighan and Dennis M.Ritchie, PHI.
2. Computer Programming, E.Balagurusamy, First Edition, TMH.
3. C and Data structures – P. Padmanabham, Third Edition, B.S. Publications.
4. Programming in C, Ashok Kamthane. Pearson Education India.
5. Let us C ,Yashwanth Kanethkar, 13th Edition, BPB Publications.
Course Outcomes:
Demonstrate the basic knowledge of computer hardware and software.
To formulate simple algorithms for arithmetic and logical problems.
To translate the algorithms to programs (in C language).
To test and execute the programs and correct syntax and logical errors.
Ability to apply solving and logical skills to programming in C language and also in other languages.