Page 29 - Microsoft Word - B.Tech. Course Structure (R20) WITH 163 CREDITS
P. 29

JNTUA College of Engineering (Autonomous), Ananthapuramu
                                Department of Computer Science & Engineering
                                              PYTHON PROGRAMMING
               Course Code:                 Semester – II (R20)                        L T P C: 3 0 0 3
               Course Objectives:

                   •  To teach the fundamentals of Python
                   •  To elucidate problem-solving using a Python programming language
                   •  To introduce a function-oriented programming paradigm through python
                   •  To train in the development of solutions using modular concepts
                   •  To introduce the programming constructs of python

               Course Outcomes:

                   1.  Explain the features of Python language
                   2.  Select appropriate data structure for solving a problem
                   3.  Design object-oriented programs for solving real-world problems

               UNIT – I:
               Introduction: What is a program, Running python, Arithmetic operators, Value and Types. Variables,
               Assignments and Statements: Assignment statements, Script mode, Order of operations, string
               operations, comments.
               Functions: Function calls, Math functions, Composition, Adding new Functions, Definitions and
               Uses, Flow of Execution, Parameters and Arguments, Variables and Parameters are local, Stack
               diagrams, Fruitful Functions and Void Functions, Why Functions.

               UNIT – II:
               Case study: The turtle module, Simple Repetition, Encapsulation, Generalization, Interface design,
               Refactoring, docstring.
               Conditionals  and Recursion:  floor division  and modulus,  Boolean expressions,  Logical  operators,
               Conditional execution, Alternative execution, Chained conditionals, Nested conditionals, Recursion,
               Infinite Recursion, Keyboard input.
               Fruitful Functions: Return values, Incremental development, Composition, Boolean functions, More
               recursion, Leap of Faith, Checking types.

               UNIT – III:
               Iteration: Reassignment, Updating variables, The while statement, Break, Square roots, Algorithms.
               Strings: A string is a sequence, len, Traversal with a for loop, String slices, Strings are immutable,
               Searching, Looping and Counting, String methods, The in operator, String comparison.
               Case Study: Reading word lists, Search, Looping with indices.
               Lists: List is a sequence, Lists are mutable, Traversing a list, List operations, List slices, List methods,
               Map  filter  and  reduce,  Deleting  elements,  Lists  and  Strings,  Objects  and  values,  Aliasing,  List
               arguments.
               UNIT – IV:
               Dictionaries:  A  dictionary  is  a  mapping,  Dictionary  as  a  collection  of  counters,  Looping  and
               dictionaries, Reverse Lookup, Dictionaries and lists, Memos, Global Variables.





                                                         Mdv
                                                          Mdv
   24   25   26   27   28   29   30   31   32   33   34