Page 16 - BE Mech Curriculum and Syllabus - R2017 - REC
P. 16
Department of MECH | REC
UNIT III FUNCTIONS 9
Function calls – type conversion – math function – composition - definition and use - flow of execution -
parameters and arguments. Fruitful functions: return values – parameters - scope: local and global - recursion.
Strings: string slices – immutability - string functions and methods - string comparison. Illustrative
programs: square root – GCD – exponentiation - sum the array of numbers - linear search - binary search.
UNIT IV COMPOUND DATA: LISTS, TUPLES AND DICTIONARIES 9
Lists - list operations - list slices - list methods - list loop – mutability – aliasing - cloning lists - list
parameters. Tuples – immutable - tuple assignment - tuple as return value. Dictionaries: operations and
methods – dictionaries and tuples – dictionaries and lists. Advanced list processing - list comprehension.
Illustrative programs: Sorting.
UNIT V FILES, MODULES AND PACKAGES 9
Files and exception: file operation - text files - reading and writing files - format operator- command line
arguments - errors and exceptions - handling exceptions – writing modules – packages. Illustrative
programs: word count - copy file – case studies.
OUTCOMES:
Upon completion of the course, students will be able to
Develop algorithmic solutions to simple computational problems.
Structure simple Python programs for solving problems.
Decompose a Python program into functions.
Represent compound data using Python lists, tuples and dictionaries.
Read and write data from/to files in Python programs.
TEXT BOOK:
1. Allen B. Downey, ``Think Python: How to Think Like a Computer Scientist’’, 2 edition, Updated
nd
for Python 3, Shroff/O’Reilly Publishers, 2016 (http://greenteapress.com/wp/think-python/)
REFERENCES:
1. Anita Goel, Ajay Mittal, “Computer Fundamentals and programming in C”, Pearson India Publisher,
First edition, 2013.
2. John V Guttag, “Introduction to Computation and Programming Using Python’’, Revised and
expanded Edition, MIT Press , 2013
3. Robert Sedgewick, Kevin Wayne, Robert Dondero, “Introduction to Programming in Python: An
Inter-disciplinary Approach, Pearson India Education Services Pvt. Ltd., 2016.
4. Timothy A. Budd, “Exploring Python”, Mc-Graw Hill Education (India) Private Ltd. 2015.
5. Kenneth A. Lambert, “Fundamentals of Python: First Programs”, CENGAGE Learning, 2012.
6. Charles Dierbach, “Introduction to Computer Science using Python: A Computational Problem-
Solving Focus, Wiley India Edition, 2013.
7. The Python Tutorial, https://docs.python.org/2.7/tutorial/
GE17152 ENGINEERING GRAPHICS L T P C
Common to all branches of B.E. / B.Tech. programmes 2 0 4 4
OBJECTIVES:
To develop in students, graphic skills for communication of concepts, ideas and design of
Engineering products.
To expose them to existing national standards related to technical drawings.
To study different type of projections and practice him on free hand sketching.
Curriculum and Syllabus | B.E. Mechanical Engineering | R2017 Page 16

