0% found this document useful (0 votes)
2 views

COMPUTER PRACTICAL PROGRAMS

The document outlines a series of programming tasks, including input/output operations, number comparisons, pattern generation, and string manipulations. It covers various algorithms such as finding prime numbers, computing GCD and LCM, and analyzing character counts in strings. Additionally, it includes tasks for working with lists and dictionaries to manage student data and display specific information.
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)
2 views

COMPUTER PRACTICAL PROGRAMS

The document outlines a series of programming tasks, including input/output operations, number comparisons, pattern generation, and string manipulations. It covers various algorithms such as finding prime numbers, computing GCD and LCM, and analyzing character counts in strings. Additionally, it includes tasks for working with lists and dictionaries to manage student data and display specific information.
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/ 2

TABLE OF

CONTENTS
1) Input a welcome message and display it.
2) Input two numbers and display the larger / smaller number.
3) Input three numbers and display the largest / smallest number
4) Generate the pyramid patterns using nested loop.
5) Determine whether a number is a perfect number, an Armstrong
number or a
palindrome.
6) Input a number and check if the number is a prime or composite
number.
7) Display the terms of a Fibonacci series.
8) Compute the greatest common divisor and least common multiple of
two integers.
9) Count and display the number of vowels, consonants, uppercase,
lowercase characters in string.
10) Input a string and determine whether it is a palindrome or not;
convert the case of characters in a string.
11) Find the largest/smallest number in a list/tuple
12) Input a list of numbers and swap elements at the even location with
the elements at the odd location.
13) Input a list/tuple of elements, search for a given element in the
list/tuple.
14) Input a list of numbers and find the smallest and largest number
from the list.
15) Create a dictionary with the roll number, name and marks of n
students in a class and display the names of students who have scored
marks above 75.

You might also like