0% found this document useful (0 votes)
106 views

Program List For Internal Assessment (Class 9)

The document lists 30 programming assignments for students in Class IX. The assignments involve writing programs to calculate mathematical equations, perform condition checks, accept user input, and display various patterns and series. Students are expected to use appropriate classes, encapsulate attributes, design interfaces, and document their code with comments.

Uploaded by

PRINCE
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Program List For Internal Assessment (Class 9)

The document lists 30 programming assignments for students in Class IX. The assignments involve writing programs to calculate mathematical equations, perform condition checks, accept user input, and display various patterns and series. Students are expected to use appropriate classes, encapsulate attributes, design interfaces, and document their code with comments.

Uploaded by

PRINCE
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Class IX

List of Assignments for Internal Assessments


(i) Write a a program to calculate of area of a circle.
(ii) Write a program to calculate volume of a cylinder.
(iii) Write a program to accept temperature in celcius as parameter and convert temperature to Fahrenheit
(iv) Write a program to accept two variables as parameter and swap their values.
(v) Write a program to accept the value of a,b,c of a quadratic equation through Scanner class and display
the real roots and for imaginary roots, display proper messages.
(vi) Write a program to accept a number and display whether the even number or odd number.
(vii) Write a program to accept two numbers a and b through Scanner class and display whether a is divisible
by b.
(viii) Write a program to accept name and age of a person and display whether the person in eligible to caste
vote of not.
(ix) Write a program and accept a letter and check whether the accepted character is in uppercase or in
lowercase.
(x) Write a program and accept a number and check whether it is a BUZZ number or not.
(xi) Write a program to accept a letter and check whether is a vowel or consonant. (Use switch case)
(xii) Write a program to accept two number and one operator and display the result as per the choice user has
chosen.
(xiii) Write a program to accept a number and display whether the number is a prime number or composite
number.
(xiv) Write a program to accept a number and display the factorial of number.
(xv) Write a program to accept a number and check whether the number is palindrome number of not.
(xvi) Write a program to display n number of terms of Fibonacci series.
(xvii) Write a program to accept a number and display whether the number is a spy number or not.
(xviii) Write a program to accept a number and display whether the number is a niven number or not.
(xix) Write a program to accept a number and display whether the number is an Armstrong number or not.
(xx) Write a program to accept two numbers and display HCF of two numbers.
(xxi) Write a program to accept n number of entered numbers and display smallest and largest number.
(xxii) Write a menu driven program to display any two of the triangle patterns.
(a) 1 (b) 1
22 12
333 123
4444 1234
55555 12345
(xxiii) Write a menu driven program to display any two of the triangle patterns.
(a) 1 (b) *
01 *#
101 *#*
0101 *#*#
10101 *#*#*
(xxiv) Write a menu driven program to display the sum of series:
(a) 1+4+....................+200
1 2 3 19
(b) + + + ⋯………………+
2 3 4 20

𝑥 𝑥 𝑥 𝑥 𝑥
(xxv) Write a program to display the series S=2 + 5 + 8 + 11 + ⋯ … … … … … … + 20
1 1 1 1
(xxvi) Write a program to display the series S=1 + + + + ⋯………………+
2! 3! 4! 𝑛!
(xxvii) Write a program to display the series 1+(1+2)+(1+2+3)+................+(1+2+......+n)
(xxviii) Write a program to display the series 1+(1*2)+(1*2*3)+(1*2*3*4)+.............+(1*2*3*........n)
1 1 1 1 1
(xxix) Write a program to display the series 2
+ 3 + 5 + 7 + ⋯ … … … + 29
(xxx) Write a menu driven program to display any one of the pattern:
1. 5 4 3 2 1 2. 1
5432 2 3
543 4 5 6
54 7 8 9 10
5 11 12 13 14 15

Instructions:
Class design:
Has a suitable class (or classes) been used?
Are all attributes with the right kinds of types present?Is encapsulation properly done?
Is the interface properly designed?
Coding and Documentation:
Is the coding done properly? (choice of names, no unconditional jumps, proper organization of conditions, proper
choice of loops, error handling code layout). Is the documentation complete and readable? (class documentation,
variable documentation, method documentation, constraints, known bugs - if any).

Variable and Description


Format for variable description:
Name of thevariable Data Type Purpose/Description

You might also like