First Year Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

First Year Engineering

Programming in Python

Data types, control flow, functions, strings, files, classes and objects.

Interview questions
Your progress in this subject0 of 11 · 0%
  1. 1Problem solving concepts and top-down designProblem solving concepts and top-down design: definitions, stepwise refinement, decomposition, abstractions, specifications, and implementing solutions in Python with examples.
  2. 2Python basics: features, data types and operatorsPython basics: features, data types, literals, variables, type conversion, and all core operators (arithmetic, comparison, assignment, logical, bitwise, membership, identity) with precedence and examples.
  3. 3Lists and tuplesLists and tuples in Python: sequence types, indexing, slicing, mutability vs immutability, methods, packing/unpacking, comprehensions, sorting, copying, and common exam-program patterns.
  4. 4Sets and dictionariesSets and dictionaries: hash-based collections for uniqueness, fast lookup, mapping keys to values, with syntax, operations, and exam-ready examples.
  5. 5Decision control statementsDecision control statements in Python: if, if–else, if–elif–else, nested if, conditional expressions, truthiness, comparisons, logical operators, short-circuiting, and basic flowcharting.
  6. 6Loops: while, for, break, continue and passPython loop control: while, for over iterables/range, and the control statements break, continue, pass, including loop-else, syntax, flow, and pitfalls.
  7. 7Functions, scope and lambdaFunctions in Python: definitions, parameters vs arguments, return values, scope (LEGB), local/global/nonlocal, first-class and higher-order functions, lambdas and closures, default/variable arguments, annotations, and common pitfalls.
  8. 8Modules, packages and the standard libraryModules, packages, and the Python Standard Library: definitions, import system, package structure, common import syntaxes, and practical use with running examples.
  9. 9Object-oriented programming conceptsObject-oriented programming concepts: real-world modeling with classes/objects, encapsulation, abstraction, relationships (association/aggregation/composition), interfaces/duck typing, methods (instance/class/static), attributes, constructors, message passing, cohesion/coupling, and basic design not
  10. 10Classes and objects in PythonClasses, objects, attributes, methods, constructors, self, class vs instance variables, method types, properties, object identity, copying, and basic object design in Python.
  11. 11Inheritance and polymorphism in PythonClear, exam-oriented notes on Python inheritance and polymorphism with definitions, syntax, MRO, super(), multiple inheritance, ABCs, duck typing, operator overloading, examples, and pitfalls.

Coming next in Programming in Python

  1. Strings and string methods· notes coming
  2. File handling in Python· notes coming