0% found this document useful (0 votes)
15 views8 pages

Computer Journal For Class 11th CBSE

contains codes with outputs to submit your practical file

Uploaded by

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

Computer Journal For Class 11th CBSE

contains codes with outputs to submit your practical file

Uploaded by

abdur27.2008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

ABDUR RAHMAN 11J 5 Programs: Introduction to Python (First 3

Chapters) PRACTICAL FILE

1. Program to calculate the area of a circle

2. Program to swap two variables

3. Program to check the type of a variable

4. Program to print the ASCII value of a character

5. Program to calculate the simple interest


5 Programs: If-Else

1. Program to check if a number is positive or negative

2. Program to check if a number is even or odd

3. Program to find the largest of three numbers

4. Program to check leap year

5. Program to check if a character is a vowel or consonant


5 Programs: For Loop

1. Program to print numbers from 1 to 10

2. Program to print the multiplication table of a number

3. Program to calculate the sum of the first N natural numbers

4. Program to print the factorial of a number

5. Program to find prime numbers in a range


5 Programs: Nested For Loop

1. Program to print a square pattern

2. Program to print a right-angled triangle

3. Program to print multiplication tables from 1 to 3

4. Program to print a pyramid pattern

5. Program to print a diamond pattern


5 Programs: While Loop

1. Program to print numbers from 1 to 10

2. Program to find the sum of digits of a number

3. Program to reverse a number

4. Program to check if a number is a palindrome

5. Program to find the GCD of two numbers


5 Programs: Strings

1. Program to check if a string is a palindrome

2. Program to count vowels in a string

3. Program to find the length of a string

4. Program to reverse a string

5. Program to count the occurrence of a character in a string


5 Programs: Lists

1. Program to find the largest number in a list

2. Program to calculate the sum of elements in a list

3. Program to reverse a list

4. Program to check if an element exists in a list

5. Program to remove duplicates from a list


5 Programs: Tuples

1. Program to create a tuple and print its elements

2. Program to find the length of a tuple

3. Program to check if an element exists in a tuple

4. Program to find the index of an element in a tuple

5. Program to convert a tuple to a list and back

You might also like