0% found this document useful (0 votes)
4 views2 pages

Python Programming Laboratory Guide

The document outlines the CS3171 Fundamentals of Computing and Python programming laboratory, focusing on understanding and implementing Python program structures. Key objectives include writing and debugging Python programs, using conditionals and loops, and manipulating data structures like lists and dictionaries. The lab includes a list of programming tasks such as computing GCD, sorting algorithms, and simulations using Pygame.

Uploaded by

maharanachinmoy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Python Programming Laboratory Guide

The document outlines the CS3171 Fundamentals of Computing and Python programming laboratory, focusing on understanding and implementing Python program structures. Key objectives include writing and debugging Python programs, using conditionals and loops, and manipulating data structures like lists and dictionaries. The lab includes a list of programming tasks such as computing GCD, sorting algorithms, and simulations using Pygame.

Uploaded by

maharanachinmoy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CS3171 FUNDAMENTALS OF COMPUTING AND PYTHON L T P C

0 0 4 2
PROGRAMMING LABORATORY

AIM
To understand and implement the structure of Python Programs.

OBJECTIVES
• To write, test, and debug simple Python programs.
• To implement Python programs with conditionals and loops.
• Use functions for structuring Python programs.
• Represent compound data using Python lists, tuples, dictionaries.
• Read and write data from/to files in Python.

Subject Code: CS3171 Subject Name: Problem Solving and Python Programming
Laboratory
Cognitive
Course Outcome – Cos
Skill
Understand the basic syntax of python
CO-01 U
Understand the problem solving techniques
CO-02 An,U
Analyze data structure concept in python
CO-03 U
Understand all tools of python
CO-04 An
Understand pygame with simulation
CO-05 E
R- Remember, U-Understand, A-Apply, An-Analyze, E-Evaluate, S- Synthesis

LIST OF PROGRAMS
1. Compute the GCD of two numbers.
2. Find the square root of a number (Newton‘s method)
3. Exponentiation (power of a number)
4. Find the maximum of a list of numbers
5. Linear search and Binary search
6. Selection sort, Insertion sort
7. Merge sort
8. First n prime numbers
9. Multiply matrices
10. Programs that take command line arguments (word count)
11. Find the most frequent words in a text read from a file
12. Simulate elliptical orbits in Pygame
13. Simulate bouncing ball using Pygame

PLATFORM NEEDED Python 3 interpreter for Windows/Linux

You might also like