Program List For Internal Assessment (Class 9)
Program List For Internal Assessment (Class 9)
𝑥 𝑥 𝑥 𝑥 𝑥
(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).