0% found this document useful (0 votes)
23 views12 pages

11 CBSE CS LabManual

The document is a Class 11 CBSE Computer Science Lab Manual containing a series of programming exercises. It includes tasks such as calculating the sum of two integers, finding the area of a circle, checking if a number is even or odd, and generating a Fibonacci series. Each task is designed to help students practice and enhance their programming skills in Python.

Uploaded by

jyotimba73
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)
23 views12 pages

11 CBSE CS LabManual

The document is a Class 11 CBSE Computer Science Lab Manual containing a series of programming exercises. It includes tasks such as calculating the sum of two integers, finding the area of a circle, checking if a number is even or odd, and generating a Fibonacci series. Each task is designed to help students practice and enhance their programming skills in Python.

Uploaded by

jyotimba73
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
You are on page 1/ 12

Class 11 CBSE CS Lab Manual

1. Write a program to accept two integers and print their sum.

2. Write a program that accepts radius of a circle and prints its area

3. Write a program that accepts base and height. Calculate the area of
triangle.
4. Write a program that inputs a student’s marks in three subjects (out of
100) and prints the percentage marks.
5. Write a program to find whether a given number is even or odd

6. Write a program to find largest among three integers.


Output:

7. Write a program to input a number and check whether it is positive,


negative or zero.

8. Write a program to enter a number and check if it is a prime number or


not.
9. Write a program to print sum of natural numbers between 1 to 7. Print the
sum progressively i.e., after adding each natural number, print sum so far.

Output:
10. Write a program to calculate the factorial of a number.

11. Write a program to create a triangle of stars using nested loop.


12. Write a python program to print Fibonacci series of first 20 elements

Output:

13. Write a program to calculate BMI and print the nutritional status as per
following table.
14. Write python script to print following pattern

15. Write the program to find sum of series:


16. Write a program that takes a string with multiple words and then
capitalizes the first letter of each word and forms a new string out of it.

You might also like