Skip to the content

Useful for ISS

On this page
  1. Why this course matters more than any other in the first year
  2. Course objectives (verbatim)
  3. Course outcomes
  4. Units in this Course

Why this course matters more than any other in the first year

Python is the language you will use for the rest of the degree and, most likely, the rest of your career in data science. Data Mining (Sem IV), Python for Data Analysis (Sem IV), Machine Learning, Deep Learning, NLP — all of them assume this course.

Weak Python here means struggling in every later course. Strong Python here makes them comfortable. If you have limited time, spend it on this course.

Course objectives (verbatim)

  1. To introduce the fundamentals of Python programming, including environment setup, syntax and core concepts.

  2. To develop problem-solving skills using control flow, functions and modules.

  3. To provide knowledge of Python data structures, file handling and exception handling for effective programming.

  4. To impart object-oriented programming concepts and GUI development skills for building applications.

Course outcomes

  1. Explain the basic features, syntax, data types and operators of Python.
  2. Apply control flow constructs, functions and modules to develop structured programs.

  3. Demonstrate the use of sequences, sets and dictionaries for data handling.

  4. Implement file handling and exception handling for robust applications.
  5. Develop object-oriented and GUI-based applications.

Units in this Course

UNIT 1

Basics of Python Programming

Features, programming modes, identifiers, literals, built-in types, operators and precedence.

UNIT 2

Control Flow, Functions and Modules

if-elif-else, loops, for…else; functions, argument types, scope, recursion, lambda; modules and namespaces.

UNIT 3

Sequences, Sets and Mapping Types

Strings, lists, tuples, sets and dictionaries; slicing, mutability and comprehensions.

UNIT 4

File Handling, Exception Handling and OOP

Files and CSV; try-except-else-finally; classes, constructors, encapsulation, inheritance and overriding.

UNIT 5

Abstract Data Structures and GUI Programming

Linked lists, stacks, queues, priority queues; Tkinter widgets and event handling.

PRACTICE

Practice

Exam-style questions with fully worked solutions.

LAB

Lab

Every prescribed lab experiment, with code and expected output.

Next course in learning order: Web Technologies Computing foundations