[go: up one dir, main page]

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

List of Practical 11 Science

The document outlines a series of programming tasks including input/output operations, number comparisons, pattern generation using nested loops, and mathematical computations. It also includes tasks for string manipulation, determining prime numbers, and working with data structures like lists, tuples, and dictionaries. The tasks aim to enhance programming skills through practical exercises.

Uploaded by

milittank2007
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)
7 views2 pages

List of Practical 11 Science

The document outlines a series of programming tasks including input/output operations, number comparisons, pattern generation using nested loops, and mathematical computations. It also includes tasks for string manipulation, determining prime numbers, and working with data structures like lists, tuples, and dictionaries. The tasks aim to enhance programming skills through practical exercises.

Uploaded by

milittank2007
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

● Input a welcome message and display it.

● Input two numbers and display the larger / smaller number.

● Input three numbers and display the largest / smallest number.

● Generate the following patterns using nested loops:

*
**
***
****
*****

● Generate the following patterns using nested loops:

1
12
123
1234
12345

● Generate the following patterns using nested loops:

A
AB
ABC
ABCD
ABCDE

1 + 𝑥 + 𝑥2 + 𝑥3 + 𝑥4 + ⋯ 𝑥n
● Write a program to input the value of x and n and print the sum of the following series:

● Determine whether a number is a palindrome or not.

● Input a number and check if the number is a prime or non-prime number.

● Display the terms of a Fibonacci series.

● Compute the greatest common divisor and least common multiple of two integers.

● Count and display the number of vowels, consonants, uppercase, lowercase characters in string.

● Input a string and determine whether it is a palindrome or not; convert the case of characters in a
string.

● Find the largest/smallest number in a list.


● Input a list of numbers and swap elements at the even location with the elements at the odd location.

● Input a tuple of elements, search for a given element in the tuple.

● Create a dictionary with the roll number, name and marks of n students in a class and display the
names of students who have marks above 75.

You might also like