PROJECT WORK
Submission Deadline: Chaitra 25
Dear Students,
Assignment Instructions-
Solve all the questions provided in the paper on one-sided A4 white sheets.
-
Use a black pen to write the questions and a blue pen to write the answers.
-
Ensure your work is neat, clean, and well-organized.
-
Submit your completed project on or before Chaitra 25.
Project Questions:
- Write a program
to check whether a given number is even or odd.
- Write a program
to check whether the input number is negative, positive or zero.
- Write a program
to check whether a given number is divisible by 5 but not by 11.
- Write a program
to check whether a given year is a leap year or not.
- Write a program
to find the greatest among three numbers.
- Write a program
to input a number and display the sum of its digits.
- Write a program
to check whether a given number is a palindrome or not.
- Write a program
to check whether a given number is an Armstrong number or not.
- Write programs to display the following series:
- 1, 5, 9, 13, …
up to n terms
- 1, 11, 111,
1111, 11111, …
- 1, 4, 9, … up
to the 10th term
- 1, 1, 2, 3, …
up to the 15th term
- 1, 8, 27, … up
to the 12th term
- Write a program
to display the sum of even numbers from 1 to n.
- Write a program
to display the Fibonacci series up to n terms.
- Write a program
to display the factorial of a number.
- Write a program
to display the multiplication table of a number.
- Write a program
to display prime numbers from m to n.
- Write programs to display the following patterns:
- 1
1 2
1 2 3
1 2 3 4
1 2 3 4 5 - 1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
- Write a program
to search for a number from 10 numbers entered by the user.
- Write a program
to input the ages of 15 students and count how many are between 20 and 30 years.
- Write a program
to input 10 numbers and display the largest and smallest numbers.
- Write a program
to input n numbers and sort them in descending order.
- Write a program
to find the difference between two 3×3 matrices.
- Write a program
to add two 3×4 matrices.
- Write a program
to input 10 numbers and sort them in ascending order.
- Write a program
to check whether a given string is a palindrome or not.
- Write a program
to count the number of vowels and consonants in a string.
- Write a program
to input the names of 10 students and sort them in alphabetical order.
- Explain any 4
string function with examples of each
