Chemistry Group

BPLCK205B: Introduction to Python Programming syllabus ME Stream Chemistry Group 2022 Scheme (Programming Language Course-II)

Introduction to Python Programming detailed syllabus for ME Stream Chemistry Group for 2022 Scheme curriculum has been taken from the VTUs official website and presented for the ME Stream Chemistry Group students. For course code, course name, duration, number of credits for a course and other scheme related information, do visit full semester subjects post given below.

For ME Stream Chemistry Group 2nd Sem scheme and its subjects, do visit ME Stream Chemistry Group 2nd Sem 2022 Scheme scheme. For Programming Language Course-II scheme and its subjects refer to ME Stream Chemistry Group Programming Language Course-II syllabus scheme. The detailed syllabus of introduction to python programming is as follows.

Introduction to Python Programming

Course Objectives:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Teaching-Learning Process

These are sample Strategies, which teacher can use to accelerate the attainment of the various course outcomes and make Teaching -Learning more effective

  1. Use https://pythontutor.com/visualize.html#mode=edit in order to visualize the python code
  2. Demonstrate and visualize basic data types (list, tuple, dictionary).
  3. Chalk and talk
  4. online and videos

Module 1:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Module 2:

(08 hrs) Lists: The List Data Type, Working with Lists, Augmented Assignment Operators, Methods, Example Program: Magic 8 Ball with a List, List-like Types: Strings and Tuples, References, Dictionaries and Structuring Data: The Dictionary Data Type, Pretty Printing, Using Data Structures to Model Real-World Things, Textbook 1: Chapters 4 – 5

Module 3:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Module 4:

(08 hrs) Organizing Files: The shutil Module, Walking a Directory Tree, Compressing Files with the zipfile Module, Project: Renaming Files with American-Style Dates to European-Style Dates,Project: Backing Up a Folder into a ZIP File, Debugging: Raising Exceptions, Getting the Traceback as a String, Assertions, Logging, IDLE”s Debugger. Textbook 1: Chapters 9-10

Module 5:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Course Outcomes:

(Course Skill Set) At the end of the course the student will be able to:

  1. Demonstrate proficiency in handling loops and creation of functions.
  2. Identify the methods to create and manipulate lists, tuples and dictionaries.
  3. Develop programs for string processing and file organization
  4. Interpret the concepts of Object-Oriented Programming as used in Python.

Programming Exercises:

    1. Develop a program to read the student details like Name, USN, and Marks in three subjects. Display the student details, total marks and percentage with suitable messages.
    2. Develop a program to read the name and year of birth of a person. Display whether the person is a senior citizen or not.
    1. Develop a program to generate Fibonacci sequence of length (N). Read N from the console.
    2. Write a function to calculate factorial of a number. Develop a program to compute binomial coefficient (Given N and R).
  1. Read N numbers from the console and create a list. Develop a program to print mean, variance and standard deviation with suitable messages.
  2. Read a multi-digit number (as chars) from the console. Develop a program to print the frequency of each digit with suitable message.
  3. Develop a program to print 10 most frequently appearing words in a text file. [Hint: Use dictionary with distinct words and their frequency of occurrences. Sort the dictionary in the reverse order of frequency and display dictionary slice of first 10 items]
  4. Develop a program to sort the contents of a text file and write the sorted contents into a separate text file. [Hint: Use string methods strip(), len(), list methods sort(), append(), and file methods open(), readlines(), and write()].
  5. Develop a program to backing Up a given Folder (Folder in a current working directory) into a ZIP File by using relevant modules and suitable methods.
  6. Write a function named DivExp which takes TWO parameters a, b and returns a value c (c=a/b). Write suitable assertion for a>0 in function DivExp and raise an exception for when b=0. Develop a suitable program which reads two values from the console and calls a function DivExp.
  7. Define a function which takes TWO objects representing complex numbers and returns new complex number with a addition of two complex numbers. Define a suitable class ‘Complex’ to represent the complex number. Develop a program to read N (N >=2) complex numbers and to compute the addition of N complex numbers.
  8. Develop a program that uses class Student which prompts the user to enter marks in three subjects and calculates total marks, percentage and displays the score card details. [Hint: Use list to store the marks in three subjects and total marks. Use init__() method to initialize name, USN and the lists to store marks and total, Use getMarks() method to read marks into the list, and display() method to display the score card details.]

Suggested Learning Resources:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Web links and Video Lectures (e-Resources):

  • https://www.learnbyexample.org/python/
  • https://www.learnpython.org/
  • https://pythontutor.com/visualize.html#mode=edit

Activity Based Learning (Suggested Activities in Class) / Practical Based learning

  • Quizzes for list, tuple, string dictionary slicing operations using below link https://github.com/sushantkhara/Data-Structures-And-Algorithms-with-Python/raw/main/Python%203%20%20400%20exercises%20and%20solutions%20for%20beginners.pdf

For detailed syllabus of all the other subjects of ME Stream Chemistry Group 2nd Sem, visit ME Stream Chemistry Group 2nd Sem subject syllabuses for 2022 Scheme.

For all ME Stream Chemistry Group results, visit VTU ME Stream Chemistry Group all semester results direct link.

Leave a Reply

Your email address will not be published. Required fields are marked *

*