0% found this document useful (0 votes)
8 views22 pages

Computer Science Practical File

The document outlines a series of programming tasks, each with a brief description of the objective, such as inputting marks, checking for leap years, calculating simple interest, and various string and list manipulations. Each task is numbered and includes a placeholder for the program and output. The tasks cover a range of basic programming concepts suitable for beginners.

Uploaded by

anu277468
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)
8 views22 pages

Computer Science Practical File

The document outlines a series of programming tasks, each with a brief description of the objective, such as inputting marks, checking for leap years, calculating simple interest, and various string and list manipulations. Each task is numbered and includes a placeholder for the program and output. The tasks cover a range of basic programming concepts suitable for beginners.

Uploaded by

anu277468
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

To input marks in five subjects and print

marks
Program:

Output:

1
To input year and check if leap year or
not
Program:

Output:

2
To calculate simple
interest
Program:

Output:

3
To convert temperature from Celsius to
Fahrenheit
Program:

Output:

4
To make calculator from if elif else
statements
Program:

Output:

5
To input 3 numbers and print
largest
Program:

Output:

6
Input time and convert minutes to
hours
Program:

Output:

7
To input a character and check if it is a vowel or
consonant
Program:

Output:

8
Write a program to print Fibonacci
series
Program:

Output:

9
Write a program to check whether a number is a prime or
not
Program:

Output:

10
Write a program to check number is Armstrong or
not
Program:

Output:

11
To calculate length of a string without library
function
Program:

Output:

12
To calculate length of a string without library
function
Program:

Output:

13
To calculate number of words in a
string
Program:

Output:

14
To check if substring is present in a given string or
not
Program:

Output:

15
WAP that reads a line that print number of uppercase
letters, lowercase letters, alphabets and digits
Program:

Output:

16
To input a number and check if palindrome or
not
Program:

Output:

17
Write a program to input a number and count its occurrences in the
list.
Program:

Output:

18
Write a program to delete all odd and negative numbers from a
list.
Program:

Output:

19
WAP to print the maximum, minimum, sum and mean of all elements in tuple.
Program:

Output:

20
Write a program to store students’ information like admission no., roll no.,
name and marks in a dictionary and display information on the basis of
admission number.
Program:

Output:

21
Write a program to input names of employees and their basic salary, house
rent and conveyance allowance in a dictionary
Program:

Output:

22

You might also like