0% found this document useful (0 votes)
93 views15 pages

Apeejay School Saket 22

Uploaded by

snehalnupur117
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)
93 views15 pages

Apeejay School Saket 22

Uploaded by

snehalnupur117
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

APEEJAY

SCHOOL SAKET

COMPUTER SCIENCE
PRACTICAL FILE

NAME -PRIYANSHI MOTHIYA

CLASS-11C
INDEX
●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:

● Input a number and check if the number is a prime or composite 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.
● Determine whether a number is a perfect number, an Armstrong number or
a palindrome.
● Input a list/tuple of elements, search for a given element in the list/tuple.
● Input a list of numbers and swap elements at the even location with the
elements at the odd location
.● 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.
Q1.
Q2.
Q3.
Q4.
Q5.

output
Q6.

OUTPUT
Q7.

OUTPUT
Q8.

OUTPUT
Q9.

OUTPUT

Q10.
OUTPUT

Q11.
OUTPUT

Q12.
OUTPUT

You might also like