Back close

Course Detail

Course Name Problem Solving and Computer Programming
Course Code 26CSC101
Program 5 Year Integrated M.Sc in Data Science
Semester 1
Credits 3
Campus Coimbatore

Syllabus

Unit 1

Algorithms, Flowcharts, Variables, Data Types, Type Casting, Assignment, Keywords, Input-Output, Indentation, Operators and Expressions: Types – Integers, Strings, Booleans, Operators: Arithmetic Operators, Comparison (Relational) Operators, Assignment Operators, Logical Operators, Bitwise Operators, Membership Operators, Identity Operators, Expressions and Order of Precedence.

Unit 2

Control Flow, Selection: if, if-else, Multi-way Selection and Nested Structures. Repetition: While Loops and Counters, For Loops, Nested Loops, Ranges.

Unit 3

Sequence Types: List Operations, Tuples, Slicing, Concatenation and Repetition Operators, Non-Sequence Types: Set, Frozen Set, Mapping Types: Dictionary, Comprehensions, Text Sequence Type: String Operations.

Unit 4

Functions: Defining Functions, Calling Functions, Passing Arguments, Keyword Arguments, Default Arguments, Variable-length arguments, Anonymous Functions, Fruitful Functions, Scope of the Variables in a Function – Global and Local Variables, Module Creation, Import Statements, Name Spacing, Exception handling.

Unit 5

Text Files: Text Files and Their Format, Writing Text to a File, Writing Numbers to a File, Reading Text from a File, Reading Numbers from a File, Accessing and Manipulating Files on Disk. Regular Expressions: Character Matching in Regular Expressions, Extracting Data using Regular Expression.

Text Books / References

Text Books:

  1. Guttag, John. Introduction to Computation and Programming Using Python: With Application to Understanding Data Second Edition. MIT Press, 2016. ISBN: 9780262529624.

References:

  1. VanderPlas, J. (2023). Python data science handbook: Essential tools for working with data (2nd ed.). O’Reilly Media, Inc.
  2. Vamsi Kurama (2017), Python Programming: A Modern Approach, Pearson.

Introduction

This courseprovides a comprehensive introduction to programming using Python, covering essential syntax, data types, variables, control flow, and functions. Designed for beginners, it emphasizes hands-on coding through exercises, often using IDLE or Jupyter Notebooks, to teach problem-solving, and script development.

Objectives and Outcomes

Course Outcomes: After successful completion of the course, students will be able to

  • CO1: Understand Python basics and learn to write algorithms
  • CO2: Understand the logic and able to write control and looping statement
  • CO3: Work on sequence and non-sequence types
  • CO4: Create functions and modules and able to handle the errors and exceptions
  • CO5: Able to store, retrieve, and manipulate data in text files

CO-PO Mapping:

CO’s PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 3 3 3   2 2         2  
CO2 2 2 3   2 2         2  
CO3 3 2 3   2 2         2  
CO4 3 2 3   2 2         2  
CO5 3 2 2   2 2         2  

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now