Problem Solving and Python Programming: UNIT III: Control Flow, Functions, Strings

Control Flow, Functions, Strings

Engineering Python Programming

Engineering Python : UNIT III : Control Flow, Functions, Strings : Syllabus, Contents

UNIT – III

Chapter - 3

Control Flow, Functions, Strings

 

Syllabus

Conditionals : Boolean values and operators, conditional (if), alternative (if-else),chained conditional (if-elif-else); Iteration : state, while, for, break, continue, pass, Fruitful functions: return values, parameters, local and global scope, function composition, recursion; Strings: string slices, immutability, string functions and methods, string module; Lists as arrays.

Illustrative programs : Square root, ged, exponentiation, sum an array of numbers, linear search, binary search.


Contents

3.1 Boolean Values   

3.2 Operators …… Jan.-18, May-19, Dec.-19, ..... Marks 12

3.3 Input and Output

3.4 Conditional Statements …… Dec 19, ..... Marks 16

3.5 Iteration ….. Dec.-19, May-19, ............ .Marks 16 .

3.6 Fruitful Functions  …….. Jan.-18, ..... .Marks 6

3.7 Recursion Jan-18, Dec.-19, ........... Marks 10

3.8 Strings May-19, Dec.-19, ...... Marks 8

3.9 Lists as arrays

3.10 Illustrative Programs .Dec.-19, ... Marks 8

3.11 Two Marks Questions with Answers. May-19, Dec.-19, .Marks 2

3.12 Multiple Choice Questions

 

Problem Solving and Python Programming: UNIT III: Control Flow, Functions, Strings : Tag: Engineering Python : Engineering Python Programming - Control Flow, Functions, Strings