RTMNU SY Civil syllabus

RTMNU · Second Year B.Tech Civil Engineering · NEP 2020

Computer Programming by Python

BMD3T11 · Semester III · 2 credits · College 30 + university 70

A multidisciplinary-minor (MDM) course for Civil Engineering students.

All notes for this subject
  1. Unit 1: Introduction, Data Types and Operators

    6 hours

    Installing and working with Python, variables and data types, arithmetic, assignment, comparison, logical, membership, identity and bitwise operators, and list, tuple and string operations.

    Examined in the 70-mark end-semester paper

  2. Unit 2: Decision Making and Loops

    6 hours

    If, if–else and elif statements with Boolean expressions; while, for, nested and infinite loops with break, continue and pass; iterating over and manipulating lists, sets and dictionaries with built-in functions, and simple plots.

    Examined in the 70-mark end-semester paper

  3. Unit 3: Functions and Modules

    6 hours

    Defining functions, organising code with them and variable scope; lists, tuples and dictionaries in functions, working with dates and times, and importing your own and external modules and packages.

    Examined in the 70-mark end-semester paper

  4. Unit 4: File Operations and Graphics

    4 hours

    File input and output with text, CSV and binary files, and plotting with matplotlib.pyplot: text, values, lines, markers, axes, circles, polygons and arrows.

    Examined in the 70-mark end-semester paper

    • File handling in Python
    • Reading and writing CSV files
    • Binary files in Python
    • Line plots with matplotlib.pyplot
    • Markers, axes and labels in matplotlib
    • Drawing shapes and arrows with matplotlib

Unit contents are summarised from the official RTMNU syllabus . AiCanCode.org is not affiliated with Rashtrasant Tukadoji Maharaj Nagpur University (RTMNU).