Python Programming Lab (B.Sc Computer Science)

Writing Python programs using control structures, functions, lists, strings and files.

6 महीनेअवधि 5Chapters18टॉपिक

सिलेबस · पाठ्यक्रम

Download PDF
01Basic Programs 4 टॉपिक
  1. Input, output and arithmetic
  2. Swapping two numbers
  3. Area and simple interest
  4. Temperature conversion
02Conditions and Loops 4 टॉपिक
  1. Even / odd and largest of three
  2. Factorial and Fibonacci series
  3. Prime numbers in a range
  4. Number and star patterns
03Functions and Recursion 3 टॉपिक
  1. User-defined functions with default arguments
  2. Recursive factorial and GCD
  3. Functions returning multiple values
04Strings and Lists 4 टॉपिक
  1. Palindrome check and vowel count
  2. List operations and searching
  3. Sorting a list
  4. Matrix addition with nested lists
05Dictionaries and Files 3 टॉपिक
  1. Word frequency using a dictionary
  2. Reading and writing text files
  3. Copying and counting lines of a file

परिचय

आप यह कर पाएँगे

  • Write, run and debug Python programs in IDLE or VS Code
  • Solve problems using conditionals and loops (prime, factorial, Fibonacci, patterns)
  • Write user-defined and recursive functions
  • Manipulate strings and lists for common tasks such as palindrome check and sorting
  • Use dictionaries and files to process text data

यह किसके लिए है

  • B.Sc Computer Science students of Semester 1 (UP State Universities NEP 2020 common minimum syllabus)
  • Students preparing for the university practical exam and viva

आपको क्या चाहिए

  • Studying the theory paper Problem Solving using Computer
  • Python 3 installed (the centre's lab can be used)

सवाल

Which syllabus does this course follow?

It follows the UP State Universities NEP 2020 common minimum syllabus for B.Sc Computer Science, Semester 1. Where your own university's syllabus differs, the centre follows your university's syllabus and question pattern.

Which Python version is used?

Python 3 (the current version). Programs are run in IDLE or VS Code in the centre's computer lab.

How are the practicals marked?

The trainer watches each experiment and marks it on a rubric; the viva questions here prepare you for the university practical exam.

Download the syllabus (PDF)

Tell us who you are — your copy is made with your name, and our counsellor can help you choose the right course and centre.

Want to join right away? अभी पूछताछ करें — our centre will call you.