Page 133 - 2617_JSSPS_C-7
P. 133
App Development 21 st Century #Technology Literacy
Skills
Open https://appinventor.mit.edu/.
Try to develop an app by using this app development tool.
Java Programming 21 st Century #Technology Literacy
Skills
1. Create a program to take a year as input from the user and check whether the entered year is a leap year or
not.
2. Write a Java program to display the names of five students in separate lines.
3. Write a Java program to calculate the sum of marks in 5 subjects.
4. Write a Java program to calculate simple interest. SI = (P * r * t ) / 100 where P is for the principal amount, r is
for the rate of interest and t is for time duration. Take all the values from the user.
5. Write a Java program to take the basic salary of an employee as input from the user and calculate the net salary
based on the criteria given below:
Net salary = basic salary + incentive
Incentive = 7 % of the basic salary
Practical Assessment 131

