Need Help?   +91-638 163 3524 (10AM - 7PM)

Book Details

Problem Solving and Python Programming

Problem Solving and Python Programming

Published by uLektz

Course Code:ULZ0144

Author:uLektz

University: General for All University

Regulation:2017

Categories:General Engineering

Format : ico_bookePUB3 (DRM Protected)

Type :eBook

Rs.142 Rs.78 Rs.45% off

Preview Buy Now

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 operator, 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, 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, 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

loading