Problem Solving And Python Programming

Course Code:GE8151

Author:uLektz

University:

Regulation:2017

Categories:General Engineering

Format : ePUB3 (DRM Protected)

Type :eBook

Rs.189 Rs.28 Rs.85% off

Description :Problem Solving And Python Programming of GE8151 covers the latest syllabus prescribed by Anna University, Tamil Nadu for regulation 2017. Author: uLektz, Published by uLektz Learning Solutions Private Limited.

Note : No printed book. Only ebook. Access eBook using uLektz apps for Android, iOS and Windows Desktop PC.

Topics
UNIT I ALGORITHMIC PROBLEM SOLVING

1.1 Algorithms, Building blocks of algorithms (statements, state, control flow, functions)

1.2 Notation (pseudo code, flow chart, programming language), Algorithmic problem solving, Simple strategies for developing algorithms (iteration, recursion)

1.3 Illustrative problems: find minimum in a list, Insert a card in a list of sorted cards, Guess an integer number in a range, Towers of Hanoi

UNIT II DATA, EXPRESSIONS, STATEMENTS

2.1 Python interpreter and interactive mode

2.2 Values and types: int, float, boolean, string, and list; variables, expressions, statements, tuple assignment, precedence of operators, comments

2.3 Modules and functions, function definition and use, flow of execution, parameters and arguments

2.4 Illustrative programs: exchange the values of two variables, Circulate the values of n variables, Distance between two points

UNIT III CONTROL FLOW, FUNCTIONS

3.1 Conditionals: Boolean values and operators, conditional (if), alternative (if-else), chained conditional (if-elif-else)

3.2 Iteration: state, while, for, break, continue, pass

3.3 Fruitful functions: return values, parameters, local and global scope, function composition, recursion

3.4 Strings: string slices, immutability, string functions and methods, string module

3.5 Lists as arrays

3.6 Illustrative programs: square root, gcd, exponentiation, sum an array of numbers, linear search, binary search

UNIT IV LISTS, TUPLES, DICTIONARIES

4.1 Lists: list operations, list slices, list methods, list loop, mutability, aliasing, cloning lists, list parameters

4.2 Tuples: tuple assignment, tuple as return value

4.3 Dictionaries: operations and methods

4.4 Advanced list processing - list comprehension

4.5 Illustrative programs: selection sort, insertion sort, mergesort, histogram

UNIT V FILES, MODULES, PACKAGES

5.1 Files and exception: text files, reading and writing files, format operator

5.2 Command line arguments, errors and exceptions, handling exceptions, modules, packages

5.3 Illustrative programs: word count, copy file