NotesM.Sc ITFundamentals of Computer and Programming in Python Laboratory
PGCA1906

Fundamentals of Computer and Programming in Python Laboratory Notes

Program:M.Sc IT
Semester:Semester 1
Credits:2
Units:1 Units

Subject Overview

The practical companion to Fundamentals of Computer and Programming in Python, building Python skills through mathematical and geometric computations, series and pattern generation, string and list/dictionary manipulation, searching, recursive functions, and object-oriented programs including classes for rectangles, circles and string reversal, plus file handling. A 2-credit core lab paper.

Subject at a glance

1

Units

20

Topics

2

Credits

1

Infographics

Unit-wise Syllabus

1 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Arithmetic and geometric shape area/volume computation
  • quadratic equation roots
  • divisibility and triangle classification programs
  • multiplication tables
  • Fibonacci series
  • factorial computation
  • digit counting
  • series evaluation
  • matrix transpose and arithmetic operations
  • vowel counting
  • palindrome checking
  • list operations (insert/delete/sort)
  • sequential search
  • dictionary-based library record keeping
  • range-checking and string-analysis functions
  • recursive Fibonacci and factorial
  • module creation
  • Rectangle and Circle classes with area/perimeter methods
  • word-reversal class
  • text file reading and appending
Key termsLab program patterns in Python
Loop with range
for i in range(1, 11): print(n * i)
Recursion
def fact(n): return 1 if n <= 1 else n * fact(n − 1)
Palindrome
s == s[::-1]
Dictionary record
books["isbn"] = {"title": …}
Class
class Circle: def area(self): …
File append
open("notes.txt", "a")

Study guide

In this lab you write Python programs for areas and volumes, quadratic roots, divisibility and triangle classification, tables, Fibonacci, factorial, digit counting, series, matrices, vowel counting, palindromes, list operations, search, a dictionary-based library record system, range checks and string functions, and recursion. Test with normal and boundary inputs.

Read Unit 1 notes

Why Fundamentals of Computer and Programming in Python Laboratory Matters

These exercises build the fluency that coding tests and later projects depend on.

How to Prepare for Fundamentals of Computer and Programming in Python Laboratory

  • Solve each program yourself before comparing solutions.
  • Add input validation and exception handling.
  • Maintain a GitHub repository of your lab programs.

Fundamentals of Computer and Programming in Python Laboratory: Frequently Asked Questions

What is covered in the Python lab?

Basic programs on logic, loops, strings, lists, dictionaries, matrices and recursion.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Fundamentals of Computer and Programming in Python Laboratory.