0% found this document useful (0 votes)
6 views1 page

Chap 2 Ques

The document outlines a series of programming questions focused on conditional and looping statements in Python. It includes tasks such as identifying vowels and consonants, counting them in a string, generating multiplication tables, and checking for prime and Armstrong numbers. Additional questions involve calculating LCM, GCD, and summing the digits of a number.

Uploaded by

Debu Nayak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Chap 2 Ques

The document outlines a series of programming questions focused on conditional and looping statements in Python. It includes tasks such as identifying vowels and consonants, counting them in a string, generating multiplication tables, and checking for prime and Armstrong numbers. Additional questions involve calculating LCM, GCD, and summing the digits of a number.

Uploaded by

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

Chapter1: Python Revision Tour 2-

Conditional and Looping Statements


(Programming questions)

Q1: Write a program to accept a character from the user and display whether it is a vowel
or consonant.
Q2: Write a program to count no. of vowels and consonant in given string.
Q3: Write a program to accept number from user and print the table of the number.
Q4: Write a program to enter a number and check if it is a prime number or composite
number.
Q5: Write a program to print prime numbers between given interval.
Q6: Find the sum of digit of a number.
Q7: Write a program to enter a three digit number and check if it is an Armstrong number
or not.
Q8: Write a program to enter number and check if it is a perfect number or not.
Q9: Write a program to compute LCM of two integers.
Q10: Write a program to compute GCD or HCF of two integers.

You might also like